|
PostgreSQL Source Code git master
|

Go to the source code of this file.
Macros | |
| #define | MD5_DIGEST_LENGTH 16 |
| #define | MD5_BLOCK_SIZE 64 |
| #define | MD5_PASSWD_CHARSET "0123456789abcdef" |
| #define | MD5_PASSWD_LEN 35 |
Functions | |
| bool | pg_md5_hash (const void *buff, size_t len, char *hexsum, const char **errstr) |
| bool | pg_md5_binary (const void *buff, size_t len, uint8 *outbuf, const char **errstr) |
| bool | pg_md5_encrypt (const char *passwd, const uint8 *salt, size_t salt_len, char *buf, const char **errstr) |
Definition at line 108 of file md5_common.c.
References fb(), len, MD5_DIGEST_LENGTH, pg_cryptohash_create(), pg_cryptohash_error(), pg_cryptohash_final(), pg_cryptohash_free(), pg_cryptohash_init(), pg_cryptohash_update(), and PG_MD5.
Referenced by PerformRadiusTransaction().
|
extern |
Definition at line 145 of file md5_common.c.
References _, buf, fb(), free, malloc, and pg_md5_hash().
Referenced by encrypt_password(), md5_crypt_verify(), pg_password_sendauth(), plain_crypt_verify(), PQencryptPassword(), and PQencryptPasswordConn().
Definition at line 74 of file md5_common.c.
References bytesToHex(), fb(), len, MD5_DIGEST_LENGTH, pg_cryptohash_create(), pg_cryptohash_error(), pg_cryptohash_final(), pg_cryptohash_free(), pg_cryptohash_init(), pg_cryptohash_update(), and PG_MD5.
Referenced by md5_bytea(), md5_text(), and pg_md5_encrypt().