Searched refs:sha3_context (Results 1 – 10 of 10) sorted by relevance
/freebsd/crypto/libecc/include/libecc/hash/ |
H A D | sha3.h | 39 } sha3_context; typedef 42 ATTRIBUTE_WARN_UNUSED_RET int _sha3_init(sha3_context *ctx, u8 digest_size); 43 ATTRIBUTE_WARN_UNUSED_RET int _sha3_update(sha3_context *ctx, const u8 *buf, u32 buflen); 44 ATTRIBUTE_WARN_UNUSED_RET int _sha3_finalize(sha3_context *ctx, u8 *output);
|
H A D | sha3-512.h | 59 typedef sha3_context sha3_512_context;
|
H A D | sha3-384.h | 59 typedef sha3_context sha3_384_context;
|
H A D | sha3-256.h | 59 typedef sha3_context sha3_256_context;
|
H A D | sha3-224.h | 59 typedef sha3_context sha3_224_context;
|
/freebsd/crypto/libecc/src/hash/ |
H A D | sha3.c | 23 int _sha3_init(sha3_context *ctx, u8 digest_size) in _sha3_init() 50 int _sha3_update(sha3_context *ctx, const u8 *input, u32 ilen) in _sha3_update() 78 int _sha3_finalize(sha3_context *ctx, u8 *output) in _sha3_finalize()
|
H A D | sha3-512.c | 42 ret = _sha3_update((sha3_context *)ctx, input, ilen); in sha3_512_update() 55 ret = _sha3_finalize((sha3_context *)ctx, output); EG(ret, err); in sha3_512_final()
|
H A D | sha3-224.c | 42 ret = _sha3_update((sha3_context *)ctx, input, ilen); in sha3_224_update() 55 ret = _sha3_finalize((sha3_context *)ctx, output); EG(ret, err); in sha3_224_final()
|
H A D | sha3-256.c | 42 ret = _sha3_update((sha3_context *)ctx, input, ilen); in sha3_256_update() 55 ret = _sha3_finalize((sha3_context *)ctx, output); EG(ret, err); in sha3_256_final()
|
H A D | sha3-384.c | 42 ret = _sha3_update((sha3_context *)ctx, input, ilen); in sha3_384_update() 55 ret = _sha3_finalize((sha3_context *)ctx, output); EG(ret, err); in sha3_384_final()
|