PostgreSQL Source Code
git master
|
#include "common/md5.h"
Go to the source code of this file.
Data Structures | |
struct | pg_md5_ctx |
Macros | |
#define | MD5_BUFLEN 64 |
#define | md5_sta md5_st.md5_state32[0] |
#define | md5_stb md5_st.md5_state32[1] |
#define | md5_stc md5_st.md5_state32[2] |
#define | md5_std md5_st.md5_state32[3] |
#define | md5_st8 md5_st.md5_state8 |
#define | md5_n md5_count.md5_count64 |
#define | md5_n8 md5_count.md5_count8 |
Functions | |
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) |
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().