Home
last modified time | relevance | path

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

/freebsd/crypto/libecc/src/hash/
H A Dshake.c29 ctx->shake_endian = arch_is_big_endian() ? SHAKE_BIG : SHAKE_LITTLE; in _shake_init()
48 u64 idx = (ctx->shake_endian == SHAKE_LITTLE) ? ctx->shake_idx : SWAP64_Idx(ctx->shake_idx); in _shake_update()
77 if(ctx->shake_endian == SHAKE_LITTLE){ in _shake_finalize()
93 output[i] = (ctx->shake_endian == SHAKE_LITTLE) ? state[i] : state[SWAP64_Idx(i)]; in _shake_finalize()
/freebsd/crypto/libecc/include/libecc/hash/
H A Dshake.h27 shake_endianness shake_endian; member