|
PostgreSQL Source Code git master
|

Go to the source code of this file.
Data Structures | |
| struct | px_crypt_algo |
| struct | generator |
Functions | |
| static char * | run_crypt_des (const char *psw, const char *salt, char *buf, unsigned len) |
| static char * | run_crypt_md5 (const char *psw, const char *salt, char *buf, unsigned len) |
| static char * | run_crypt_bf (const char *psw, const char *salt, char *buf, unsigned len) |
| static char * | run_crypt_sha (const char *psw, const char *salt, char *buf, unsigned len) |
| char * | px_crypt (const char *psw, const char *salt, char *buf, unsigned len) |
| int | px_gen_salt (const char *salt_type, char *buf, int rounds) |
Variables | |
| static const struct px_crypt_algo | px_crypt_list [] |
| static struct generator | gen_list [] |
Definition at line 102 of file px-crypt.c.
References buf, CheckBuiltinCryptoMode(), fb(), px_crypt_algo::id, len, and px_crypt_list.
Referenced by pg_crypt().
Definition at line 156 of file px-crypt.c.
References buf, CheckBuiltinCryptoMode(), generator::def_rounds, fb(), generator::gen, gen_list, generator::input_len, generator::max_rounds, generator::min_rounds, generator::name, pg_strcasecmp(), pg_strong_random(), PX_MAX_SALT_LEN, px_memset(), PXE_BAD_SALT_ROUNDS, PXE_NO_RANDOM, and PXE_UNKNOWN_SALT_ALGO.
Referenced by pg_gen_salt(), and pg_gen_salt_rounds().
Definition at line 61 of file px-crypt.c.
References _crypt_blowfish_rn(), buf, fb(), and len.
|
static |
Definition at line 38 of file px-crypt.c.
References buf, fb(), len, and px_crypt_des().
|
static |
Definition at line 51 of file px-crypt.c.
References buf, fb(), len, and px_crypt_md5().
|
static |
Definition at line 71 of file px-crypt.c.
References buf, fb(), len, and px_crypt_shacrypt().
Definition at line 137 of file px-crypt.c.
Referenced by px_gen_salt().
|
static |
Definition at line 89 of file px-crypt.c.
Referenced by px_crypt().