Go to the source code of this file.
Macros | |
#define | MYALLOC(size) malloc(size) |
#define | MYFREE(ptr) free(ptr) |
Functions | |
int | init_gost_hash_ctx (gost_hash_ctx *ctx, const gost_subst_block *subst_block) |
void | done_gost_hash_ctx (gost_hash_ctx *ctx) |
int | start_hash (gost_hash_ctx *ctx) |
int | hash_block (gost_hash_ctx *ctx, const byte *block, size_t length) |
int | finish_hash (gost_hash_ctx *ctx, byte *hashval) |
#define MYALLOC | ( | size | ) | malloc(size) |
Definition at line 24 of file gosthash.c.
Definition at line 25 of file gosthash.c.
void done_gost_hash_ctx | ( | gost_hash_ctx * | ctx | ) |
Definition at line 156 of file gosthash.c.
int finish_hash | ( | gost_hash_ctx * | ctx, |
byte * | hashval | ||
) |
Definition at line 226 of file gosthash.c.
int hash_block | ( | gost_hash_ctx * | ctx, |
const byte * | block, | ||
size_t | length | ||
) |
Definition at line 181 of file gosthash.c.
int init_gost_hash_ctx | ( | gost_hash_ctx * | ctx, |
const gost_subst_block * | subst_block | ||
) |
Definition at line 138 of file gosthash.c.
int start_hash | ( | gost_hash_ctx * | ctx | ) |
Definition at line 166 of file gosthash.c.