Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/src/hashes/
A Dsha3.c210 … md->sha3.s[SHA3_KECCAK_SPONGE_WORDS - md->sha3.capacity_words - 1] ^= CONST64(0x8000000000000000); in _done()
218 XMEMCPY(hash, md->sha3.sb, md->sha3.capacity_words * 4); in _done()
228 md->sha3.capacity_words = 2 * 224 / (8 * sizeof(ulong64)); in sha3_224_init()
236 md->sha3.capacity_words = 2 * 256 / (8 * sizeof(ulong64)); in sha3_256_init()
244 md->sha3.capacity_words = 2 * 384 / (8 * sizeof(ulong64)); in sha3_384_init()
252 md->sha3.capacity_words = 2 * 512 / (8 * sizeof(ulong64)); in sha3_512_init()
262 md->sha3.capacity_words = (unsigned short)(2 * num / (8 * sizeof(ulong64))); in sha3_shake_init()
292 if(++md->sha3.word_index == (SHA3_KECCAK_SPONGE_WORDS - md->sha3.capacity_words)) { in sha3_process()
306 if(++md->sha3.word_index == (SHA3_KECCAK_SPONGE_WORDS - md->sha3.capacity_words)) { in sha3_process()
347 … md->sha3.s[SHA3_KECCAK_SPONGE_WORDS - md->sha3.capacity_words - 1] ^= CONST64(0x8000000000000000); in sha3_shake_done()
[all …]
/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_hash.h19 …unsigned short capacity_words; /* the double size of the hash output in words (e.g. 16 for Keccak… member

Completed in 4 milliseconds