Home
last modified time | relevance | path

Searched refs:shake_idx (Results 1 – 2 of 2) sorted by relevance

/freebsd/crypto/libecc/src/hash/
H A Dshake.c24 ctx->shake_idx = 0; in _shake_init()
48 u64 idx = (ctx->shake_endian == SHAKE_LITTLE) ? ctx->shake_idx : SWAP64_Idx(ctx->shake_idx); in _shake_update()
49 ctx->shake_idx++; in _shake_update()
52 if(ctx->shake_idx == ctx->shake_block_size){ in _shake_update()
54 ctx->shake_idx = 0; in _shake_update()
79 state[ctx->shake_idx] ^= 0x1f; in _shake_finalize()
84 state[SWAP64_Idx(ctx->shake_idx)] ^= 0x1f; in _shake_finalize()
/freebsd/crypto/libecc/include/libecc/hash/
H A Dshake.h29 u64 shake_idx; member