PostgreSQL Source Code
git master
|
Go to the source code of this file.
Macros | |
#define | SHIFT(X, s) (((X) << (s)) | ((X) >> (32 - (s)))) |
#define | F(X, Y, Z) (((X) & (Y)) | ((~X) & (Z))) |
#define | G(X, Y, Z) (((X) & (Z)) | ((Y) & (~Z))) |
#define | H(X, Y, Z) ((X) ^ (Y) ^ (Z)) |
#define | I(X, Y, Z) ((Y) ^ ((X) | (~Z))) |
#define | ROUND1(a, b, c, d, k, s, i) |
#define | ROUND2(a, b, c, d, k, s, i) |
#define | ROUND3(a, b, c, d, k, s, i) |
#define | ROUND4(a, b, c, d, k, s, i) |
#define | Sa 7 |
#define | Sb 12 |
#define | Sc 17 |
#define | Sd 22 |
#define | Se 5 |
#define | Sf 9 |
#define | Sg 14 |
#define | Sh 20 |
#define | Si 4 |
#define | Sj 11 |
#define | Sk 16 |
#define | Sl 23 |
#define | Sm 6 |
#define | Sn 10 |
#define | So 15 |
#define | Sp 21 |
#define | MD5_A0 0x67452301 |
#define | MD5_B0 0xefcdab89 |
#define | MD5_C0 0x98badcfe |
#define | MD5_D0 0x10325476 |
Functions | |
static void | md5_calc (const uint8 *b64, pg_md5_ctx *ctx) |
static void | md5_pad (pg_md5_ctx *ctx) |
static void | md5_result (uint8 *digest, pg_md5_ctx *ctx) |
void | pg_md5_init (pg_md5_ctx *ctx) |
void | pg_md5_update (pg_md5_ctx *ctx, const uint8 *data, size_t len) |
void | pg_md5_final (pg_md5_ctx *ctx, uint8 *dest) |
Variables | |
static const uint32 | T [65] |
static const uint8 | md5_paddat [MD5_BUFLEN] |
|
static |
|
static |
Definition at line 310 of file md5.c.
References pg_md5_ctx::md5_buf, MD5_BUFLEN, md5_calc(), pg_md5_ctx::md5_i, and md5_paddat.
Referenced by pg_md5_final().
|
static |
void pg_md5_final | ( | pg_md5_ctx * | ctx, |
uint8 * | dest | ||
) |
Definition at line 432 of file md5.c.
References generate_unaccent_rules::dest, md5_pad(), and md5_result().
Referenced by pg_cryptohash_final().
void pg_md5_init | ( | pg_md5_ctx * | ctx | ) |
Definition at line 382 of file md5.c.
References MD5_A0, MD5_B0, pg_md5_ctx::md5_buf, MD5_C0, MD5_D0, and pg_md5_ctx::md5_i.
Referenced by pg_cryptohash_init().
void pg_md5_update | ( | pg_md5_ctx * | ctx, |
const uint8 * | data, | ||
size_t | len | ||
) |
Definition at line 400 of file md5.c.
References data, i, len, pg_md5_ctx::md5_buf, MD5_BUFLEN, md5_calc(), and pg_md5_ctx::md5_i.
Referenced by pg_cryptohash_update().
|
static |
|
static |
Definition at line 119 of file md5.c.
Referenced by compute_bitmap_pages(), cost_bitmap_heap_scan(), fetch_att(), index_pages_fetched(), and store_att_byval().