PostgreSQL Source Code
git master
|
#include "common/sha1.h"
Go to the source code of this file.
Data Structures | |
struct | pg_sha1_ctx |
Functions | |
void | pg_sha1_init (pg_sha1_ctx *ctx) |
void | pg_sha1_update (pg_sha1_ctx *ctx, const uint8 *data, size_t len) |
void | pg_sha1_final (pg_sha1_ctx *ctx, uint8 *dest) |
void pg_sha1_final | ( | pg_sha1_ctx * | ctx, |
uint8 * | dest | ||
) |
Definition at line 365 of file sha1.c.
References generate_unaccent_rules::dest, sha1_pad(), and sha1_result().
Referenced by pg_cryptohash_final().
void pg_sha1_init | ( | pg_sha1_ctx * | ctx | ) |
Definition at line 316 of file sha1.c.
References H.
Referenced by pg_cryptohash_init().
void pg_sha1_update | ( | pg_sha1_ctx * | ctx, |
const uint8 * | data, | ||
size_t | len | ||
) |
Definition at line 332 of file sha1.c.
References pg_sha1_ctx::b64, pg_sha1_ctx::b8, pg_sha1_ctx::c, COUNT, data, input, len, pg_sha1_ctx::m, and sha1_step().
Referenced by pg_cryptohash_update().