PostgreSQL Source Code
git master
|
Go to the source code of this file.
Functions | |
int | pg_b64_encode (const char *src, int len, char *dst, int dstlen) |
int | pg_b64_decode (const char *src, int len, char *dst, int dstlen) |
int | pg_b64_enc_len (int srclen) |
int | pg_b64_dec_len (int srclen) |
Variables | |
static const char | _base64 [] |
static const int8 | b64lookup [128] |
int pg_b64_dec_len | ( | int | srclen | ) |
Definition at line 239 of file base64.c.
Referenced by parse_scram_secret(), read_client_final_message(), read_server_final_message(), read_server_first_message(), and scram_verify_plain_password().
int pg_b64_decode | ( | const char * | src, |
int | len, | ||
char * | dst, | ||
int | dstlen | ||
) |
Definition at line 116 of file base64.c.
References Assert, b, b64lookup, buf, error(), and len.
Referenced by parse_scram_secret(), read_client_final_message(), read_server_final_message(), read_server_first_message(), and scram_verify_plain_password().
int pg_b64_enc_len | ( | int | srclen | ) |
Definition at line 224 of file base64.c.
Referenced by build_client_final_message(), build_client_first_message(), build_server_final_message(), build_server_first_message(), mock_scram_secret(), read_client_final_message(), and scram_build_secret().
int pg_b64_encode | ( | const char * | src, |
int | len, | ||
char * | dst, | ||
int | dstlen | ||
) |
Definition at line 49 of file base64.c.
References _base64, Assert, buf, error(), and len.
Referenced by build_client_final_message(), build_client_first_message(), build_server_final_message(), build_server_first_message(), mock_scram_secret(), read_client_final_message(), and scram_build_secret().
|
static |
Definition at line 27 of file base64.c.
Referenced by pg_b64_encode().
|
static |
Definition at line 30 of file base64.c.
Referenced by pg_b64_decode().