PostgreSQL Source Code
git master
|
Go to the source code of this file.
Data Structures | |
struct | BF_ctx |
Macros | |
#define | BF_ASM 0 |
#define | BF_SCALE 0 |
#define | BF_N 16 |
#define | BF_safe_atoi64(dst, src) |
#define | BF_INDEX(S, i) (*((BF_word *)(((unsigned char *)(S)) + (i)))) |
#define | BF_ROUND(L, R, N) |
#define | BF_ENCRYPT |
#define | BF_body() |
Typedefs | |
typedef unsigned int | BF_word |
typedef signed int | BF_word_signed |
typedef BF_word | BF_key[BF_N+2] |
Functions | |
static int | BF_decode (BF_word *dst, const char *src, int size) |
static void | BF_encode (char *dst, const BF_word *src, int size) |
static void | BF_swap (BF_word *x, int count) |
static void | BF_set_key (const char *key, BF_key expanded, BF_key initial, int sign_extension_bug) |
char * | _crypt_blowfish_rn (const char *key, const char *setting, char *output, int size) |
Variables | |
static BF_word | BF_magic_w [6] |
static BF_ctx | BF_init_state |
static unsigned char | BF_itoa64 [64+1] |
static unsigned char | BF_atoi64 [0x60] |
#define BF_ASM 0 |
Definition at line 48 of file crypt-blowfish.c.
#define BF_body | ( | ) |
Definition at line 529 of file crypt-blowfish.c.
#define BF_ENCRYPT |
Definition at line 499 of file crypt-blowfish.c.
Definition at line 475 of file crypt-blowfish.c.
#define BF_N 16 |
Definition at line 56 of file crypt-blowfish.c.
#define BF_ROUND | ( | L, | |
R, | |||
N | |||
) |
Definition at line 477 of file crypt-blowfish.c.
#define BF_safe_atoi64 | ( | dst, | |
src | |||
) |
Definition at line 362 of file crypt-blowfish.c.
#define BF_SCALE 0 |
Definition at line 49 of file crypt-blowfish.c.
Definition at line 58 of file crypt-blowfish.c.
typedef unsigned int BF_word |
Definition at line 52 of file crypt-blowfish.c.
typedef signed int BF_word_signed |
Definition at line 53 of file crypt-blowfish.c.
char* _crypt_blowfish_rn | ( | const char * | key, |
const char * | setting, | ||
char * | output, | ||
int | size | ||
) |
Definition at line 582 of file crypt-blowfish.c.
References BF_atoi64, BF_body, BF_decode(), BF_encode(), BF_ENCRYPT, BF_init_state, BF_itoa64, BF_magic_w, BF_N, BF_set_key(), BF_swap(), CHECK_FOR_INTERRUPTS, data, ereport, errcode(), errmsg(), ERROR, i, sort-test::key, output, px_memset(), R, BF_ctx::S, and size.
|
static |
Definition at line 372 of file crypt-blowfish.c.
References BF_safe_atoi64, and size.
Referenced by _crypt_blowfish_rn().
|
static |
Definition at line 404 of file crypt-blowfish.c.
References BF_itoa64, and size.
Referenced by _crypt_blowfish_rn().
|
static |
Definition at line 551 of file crypt-blowfish.c.
References BF_init_state, BF_N, i, j, sort-test::key, and BF_ctx::P.
Referenced by _crypt_blowfish_rn().
|
static |
|
static |
Definition at line 353 of file crypt-blowfish.c.
Referenced by _crypt_blowfish_rn().
|
static |
Definition at line 78 of file crypt-blowfish.c.
Referenced by _crypt_blowfish_rn(), and BF_set_key().
|
static |
Definition at line 350 of file crypt-blowfish.c.
Referenced by _crypt_blowfish_rn(), and BF_encode().
|
static |
Definition at line 70 of file crypt-blowfish.c.
Referenced by _crypt_blowfish_rn().