Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/src/hashes/
A Dsha3.c138 #define SHA3_KECCAK_SPONGE_WORDS 25 /* 1600 bits > 200 bytes > 25 x ulong64 */ macro
210 … md->sha3.s[SHA3_KECCAK_SPONGE_WORDS - md->sha3.capacity_words - 1] ^= CONST64(0x8000000000000000); in _done()
214 for(i = 0; i < SHA3_KECCAK_SPONGE_WORDS; i++) { in _done()
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()
350 for(i = 0; i < SHA3_KECCAK_SPONGE_WORDS; i++) { in sha3_shake_done()
358 if(md->sha3.byte_index >= (SHA3_KECCAK_SPONGE_WORDS - md->sha3.capacity_words) * 8) { in sha3_shake_done()
361 for(i = 0; i < SHA3_KECCAK_SPONGE_WORDS; i++) { in sha3_shake_done()

Completed in 3 milliseconds