Home
last modified time | relevance | path

Searched refs:KECCAK_SLICES (Results 1 – 4 of 4) sorted by relevance

/freebsd/crypto/libecc/include/libecc/hash/
H A Dkeccak.h36 #define KECCAK_SLICES 5 macro
54 static const u8 keccak_rot[KECCAK_SLICES][KECCAK_SLICES] =
67 #define Idx_slices(x, y) ((x) + (KECCAK_SLICES * (y)))
74 u64 BCD[KECCAK_SLICES * KECCAK_SLICES]; \
76 for(x = 0; x < KECCAK_SLICES; x++){ \
80 for(x = 0; x < KECCAK_SLICES; x++){ \
83 for(y = 0; y < KECCAK_SLICES; y++){ \
88 for(x = 0; x < KECCAK_SLICES; x++){ \
89 for(y = 0; y < KECCAK_SLICES; y++){ \
95 for(x = 0; x < KECCAK_SLICES; x++){ \
[all …]
H A Dsha3.h36 u64 sha3_state[KECCAK_SLICES * KECCAK_SLICES];
H A Dshake.h31 u64 shake_state[KECCAK_SLICES * KECCAK_SLICES];
/freebsd/crypto/libecc/src/hash/
H A Dsha3.c40 ctx->sha3_block_size = (u8)((KECCAK_SLICES * KECCAK_SLICES * sizeof(u64)) - (u8)(2 * digest_size)); in _sha3_init()