PostgreSQL Source Code
git master
|
Go to the source code of this file.
Functions | |
void | pg_sha256_init (pg_sha256_ctx *ctx) |
void | pg_sha256_update (pg_sha256_ctx *ctx, const uint8 *data, size_t len) |
void | pg_sha256_final (pg_sha256_ctx *ctx, uint8 *dest) |
void | pg_sha512_init (pg_sha512_ctx *ctx) |
void | pg_sha512_update (pg_sha512_ctx *ctx, const uint8 *data, size_t len) |
void | pg_sha512_final (pg_sha512_ctx *ctx, uint8 *dest) |
void | pg_sha384_init (pg_sha384_ctx *ctx) |
void | pg_sha384_update (pg_sha384_ctx *ctx, const uint8 *data, size_t len) |
void | pg_sha384_final (pg_sha384_ctx *ctx, uint8 *dest) |
void | pg_sha224_init (pg_sha224_ctx *ctx) |
void | pg_sha224_update (pg_sha224_ctx *ctx, const uint8 *data, size_t len) |
void | pg_sha224_final (pg_sha224_ctx *ctx, uint8 *dest) |
void pg_sha224_final | ( | pg_sha224_ctx * | ctx, |
uint8 * | dest | ||
) |
Definition at line 99 of file sha2_openssl.c.
References PG_SHA224_DIGEST_LENGTH, REVERSE32, SHA256_Last(), and pg_sha256_ctx::state.
void pg_sha224_init | ( | pg_sha224_ctx * | ctx | ) |
Definition at line 87 of file sha2_openssl.c.
References pg_sha256_ctx::bitcount, pg_sha256_ctx::buffer, PG_SHA256_BLOCK_LENGTH, PG_SHA256_DIGEST_LENGTH, sha224_initial_hash_value, and pg_sha256_ctx::state.
void pg_sha224_update | ( | pg_sha224_ctx * | ctx, |
const uint8 * | data, | ||
size_t | len | ||
) |
Definition at line 93 of file sha2_openssl.c.
References pg_sha256_update().
void pg_sha256_final | ( | pg_sha256_ctx * | ctx, |
uint8 * | dest | ||
) |
Definition at line 42 of file sha2_openssl.c.
References PG_SHA256_DIGEST_LENGTH, REVERSE32, SHA256_Last(), and pg_sha256_ctx::state.
void pg_sha256_init | ( | pg_sha256_ctx * | ctx | ) |
Definition at line 30 of file sha2_openssl.c.
References pg_sha256_ctx::bitcount, pg_sha256_ctx::buffer, PG_SHA256_BLOCK_LENGTH, PG_SHA256_DIGEST_LENGTH, s1, sha256_initial_hash_value, SHA256_Transform(), and pg_sha256_ctx::state.
void pg_sha256_update | ( | pg_sha256_ctx * | ctx, |
const uint8 * | data, | ||
size_t | len | ||
) |
Definition at line 36 of file sha2_openssl.c.
References pg_sha256_ctx::bitcount, pg_sha256_ctx::buffer, PG_SHA256_BLOCK_LENGTH, and SHA256_Transform().
void pg_sha384_final | ( | pg_sha384_ctx * | ctx, |
uint8 * | dest | ||
) |
Definition at line 80 of file sha2_openssl.c.
References PG_SHA384_DIGEST_LENGTH, REVERSE64, SHA512_Last(), and pg_sha512_ctx::state.
void pg_sha384_init | ( | pg_sha384_ctx * | ctx | ) |
Definition at line 68 of file sha2_openssl.c.
References pg_sha512_ctx::bitcount, pg_sha512_ctx::buffer, PG_SHA384_BLOCK_LENGTH, PG_SHA512_DIGEST_LENGTH, sha384_initial_hash_value, and pg_sha512_ctx::state.
void pg_sha384_update | ( | pg_sha384_ctx * | ctx, |
const uint8 * | data, | ||
size_t | len | ||
) |
Definition at line 74 of file sha2_openssl.c.
References pg_sha512_update().
void pg_sha512_final | ( | pg_sha512_ctx * | ctx, |
uint8 * | dest | ||
) |
Definition at line 61 of file sha2_openssl.c.
References PG_SHA512_DIGEST_LENGTH, REVERSE64, SHA512_Last(), and pg_sha512_ctx::state.
void pg_sha512_init | ( | pg_sha512_ctx * | ctx | ) |
Definition at line 49 of file sha2_openssl.c.
References pg_sha512_ctx::bitcount, pg_sha512_ctx::buffer, PG_SHA512_BLOCK_LENGTH, PG_SHA512_DIGEST_LENGTH, s1, sha512_initial_hash_value, SHA512_Transform(), and pg_sha512_ctx::state.
void pg_sha512_update | ( | pg_sha512_ctx * | ctx, |
const uint8 * | data, | ||
size_t | len | ||
) |
Definition at line 55 of file sha2_openssl.c.
References ADDINC128, pg_sha512_ctx::bitcount, pg_sha512_ctx::buffer, PG_SHA512_BLOCK_LENGTH, and SHA512_Transform().