Home
last modified time | relevance | path

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

/freebsd/crypto/libecc/src/hash/
H A Dsha3.c38 ctx->sha3_idx = 0; in _sha3_init()
61 u64 idx = (ctx->sha3_endian == SHA3_LITTLE) ? ctx->sha3_idx : SWAP64_Idx(ctx->sha3_idx); in _sha3_update()
62 ctx->sha3_idx++; in _sha3_update()
65 if(ctx->sha3_idx == ctx->sha3_block_size){ in _sha3_update()
67 ctx->sha3_idx = 0; in _sha3_update()
93 state[ctx->sha3_idx] ^= 0x06; in _sha3_finalize()
97 state[SWAP64_Idx(ctx->sha3_idx)] ^= 0x06; in _sha3_finalize()
/freebsd/crypto/libecc/include/libecc/hash/
H A Dsha3.h34 u64 sha3_idx; member