Searched refs:shake_context (Results 1 – 4 of 4) sorted by relevance
/freebsd/crypto/libecc/include/libecc/hash/ |
H A D | shake.h | 34 } shake_context; typedef 37 ATTRIBUTE_WARN_UNUSED_RET int _shake_init(shake_context *ctx, u8 digest_size, u8 block_size); 38 ATTRIBUTE_WARN_UNUSED_RET int _shake_update(shake_context *ctx, const u8 *buf, u32 buflen); 39 ATTRIBUTE_WARN_UNUSED_RET int _shake_finalize(shake_context *ctx, u8 *output);
|
H A D | shake256.h | 58 typedef shake_context shake256_context;
|
/freebsd/crypto/libecc/src/hash/ |
H A D | shake.c | 15 int _shake_init(shake_context *ctx, u8 digest_size, u8 block_size) in _shake_init() 36 int _shake_update(shake_context *ctx, const u8 *input, u32 ilen) in _shake_update() 64 int _shake_finalize(shake_context *ctx, u8 *output) in _shake_finalize()
|
H A D | shake256.c | 35 ret = _shake_update((shake_context *)ctx, input, ilen); in shake256_update() 47 ret = _shake_finalize((shake_context *)ctx, output); in shake256_final()
|