Home
last modified time | relevance | path

Searched refs:bash_context (Results 1 – 10 of 10) sorted by relevance

/freebsd/crypto/libecc/include/libecc/hash/
H A Dbash.h156 } bash_context; typedef
158 ATTRIBUTE_WARN_UNUSED_RET int _bash_init(bash_context *ctx, uint8_t digest_size);
159 ATTRIBUTE_WARN_UNUSED_RET int _bash_update(bash_context *ctx, const uint8_t *buf, uint32_t buflen);
160 ATTRIBUTE_WARN_UNUSED_RET int _bash_finalize(bash_context *ctx, uint8_t *output);
H A Dbash224.h54 typedef bash_context bash224_context;
H A Dbash512.h54 typedef bash_context bash512_context;
H A Dbash384.h54 typedef bash_context bash384_context;
H A Dbash256.h54 typedef bash_context bash256_context;
/freebsd/crypto/libecc/src/hash/
H A Dbash.c23 int _bash_init(bash_context *ctx, u8 digest_size) in _bash_init()
57 int _bash_update(bash_context *ctx, const u8 *input, u32 ilen) in _bash_update()
107 int _bash_finalize(bash_context *ctx, u8 *output) in _bash_finalize()
H A Dbash512.c37 ret = _bash_update((bash_context *)ctx, input, ilen); in bash512_update()
50 ret = _bash_finalize((bash_context *)ctx, output); EG(ret, err); in bash512_final()
H A Dbash224.c37 ret = _bash_update((bash_context *)ctx, input, ilen); in bash224_update()
50 ret = _bash_finalize((bash_context *)ctx, output); EG(ret, err); in bash224_final()
H A Dbash384.c37 ret = _bash_update((bash_context *)ctx, input, ilen); in bash384_update()
50 ret = _bash_finalize((bash_context *)ctx, output); EG(ret, err); in bash384_final()
H A Dbash256.c37 ret = _bash_update((bash_context *)ctx, input, ilen); in bash256_update()
50 ret = _bash_finalize((bash_context *)ctx, output); EG(ret, err); in bash256_final()