Searched refs:gost_hash_ctx (Results 1 - 7 of 7) sorted by relevance

/freebsd-11.0-release/crypto/openssl/engines/ccgost/
H A Dgosthash.h22 typedef struct gost_hash_ctx { struct
29 } gost_hash_ctx; typedef in typeref:struct:gost_hash_ctx
33 int init_gost_hash_ctx(gost_hash_ctx * ctx,
35 void done_gost_hash_ctx(gost_hash_ctx * ctx);
41 int start_hash(gost_hash_ctx * ctx);
44 int hash_block(gost_hash_ctx * ctx, const byte * block, size_t length);
50 int finish_hash(gost_hash_ctx * ctx, byte * hashval);
H A Dgost_md.c43 memset(&(c->dctx), 0, sizeof(gost_hash_ctx));
51 return hash_block((gost_hash_ctx *) ctx->md_data, data, count);
56 return finish_hash((gost_hash_ctx *) ctx->md_data, md);
H A Dgostsum.c18 int hash_file(gost_hash_ctx * ctx, char *filename, char *sum, int mode);
19 int hash_stream(gost_hash_ctx * ctx, int fd, char *sum);
45 gost_hash_ctx ctx;
132 int hash_file(gost_hash_ctx * ctx, char *filename, char *sum, int mode)
147 int hash_stream(gost_hash_ctx * ctx, int fd, char *sum)
H A Dgosthash.c154 int init_gost_hash_ctx(gost_hash_ctx * ctx,
157 memset(ctx, 0, sizeof(gost_hash_ctx));
172 void done_gost_hash_ctx(gost_hash_ctx * ctx)
184 int start_hash(gost_hash_ctx * ctx)
200 int hash_block(gost_hash_ctx * ctx, const byte * block, size_t length)
241 int finish_hash(gost_hash_ctx * ctx, byte * hashval)
H A Dgost_lcl.h130 gost_hash_ctx dctx;
H A Dgost2001_keyx.c31 gost_hash_ctx hash_ctx;
H A Dgost94_keyx.c55 gost_hash_ctx hash_ctx;

Completed in 56 milliseconds