Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/lib/libtomcrypt/src/hashes/
A Dsha3.c203 … md->sha3.s[SHA3_KECCAK_SPONGE_WORDS - md->sha3.capacity_words - 1] ^= CONST64(0x8000000000000000); in ss_done()
211 XMEMCPY(hash, md->sha3.sb, md->sha3.capacity_words * 4); in ss_done()
221 md->sha3.capacity_words = 2 * 224 / (8 * sizeof(ulong64)); in sha3_224_init()
229 md->sha3.capacity_words = 2 * 256 / (8 * sizeof(ulong64)); in sha3_256_init()
237 md->sha3.capacity_words = 2 * 384 / (8 * sizeof(ulong64)); in sha3_384_init()
245 md->sha3.capacity_words = 2 * 512 / (8 * sizeof(ulong64)); in sha3_512_init()
255 md->sha3.capacity_words = (unsigned short)(2 * num / (8 * sizeof(ulong64))); in sha3_shake_init()
285 if(++md->sha3.word_index == (SHA3_KECCAK_SPONGE_WORDS - md->sha3.capacity_words)) { in sha3_process()
299 if(++md->sha3.word_index == (SHA3_KECCAK_SPONGE_WORDS - md->sha3.capacity_words)) { in sha3_process()
340 … md->sha3.s[SHA3_KECCAK_SPONGE_WORDS - md->sha3.capacity_words - 1] ^= CONST64(0x8000000000000000); in sha3_shake_done()
[all …]
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_hash.h12 …unsigned short capacity_words; /* the double size of the hash output in words (e.g. 16 for Keccak… member

Completed in 5 milliseconds