Home
last modified time | relevance | path

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

/freebsd/crypto/libecc/include/libecc/hash/
H A Dsha3.h39 } 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 Dsha3-512.h59 typedef sha3_context sha3_512_context;
H A Dsha3-384.h59 typedef sha3_context sha3_384_context;
H A Dsha3-256.h59 typedef sha3_context sha3_256_context;
H A Dsha3-224.h59 typedef sha3_context sha3_224_context;
/freebsd/crypto/libecc/src/hash/
H A Dsha3.c23 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 Dsha3-512.c42 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 Dsha3-224.c42 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 Dsha3-256.c42 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 Dsha3-384.c42 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()