Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/lib/libtomcrypt/src/hashes/
A Dsha3.c131 #define SHA3_KECCAK_SPONGE_WORDS 25 /* 1600 bits > 200 bytes > 25 x ulong64 */ macro
203 … md->sha3.s[SHA3_KECCAK_SPONGE_WORDS - md->sha3.capacity_words - 1] ^= CONST64(0x8000000000000000); in ss_done()
207 for(i = 0; i < SHA3_KECCAK_SPONGE_WORDS; i++) { in ss_done()
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()
343 for(i = 0; i < SHA3_KECCAK_SPONGE_WORDS; i++) { in sha3_shake_done()
351 if(md->sha3.byte_index >= (SHA3_KECCAK_SPONGE_WORDS - md->sha3.capacity_words) * 8) { in sha3_shake_done()
354 for(i = 0; i < SHA3_KECCAK_SPONGE_WORDS; i++) { in sha3_shake_done()

Completed in 2 milliseconds