Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/src/hashes/
A Dsha3.c209 md->sha3.s[md->sha3.word_index] ^= (md->sha3.saved ^ (pad << (md->sha3.byte_index * 8))); in _done()
289 md->sha3.s[md->sha3.word_index] ^= md->sha3.saved; in sha3_process()
292 if(++md->sha3.word_index == (SHA3_KECCAK_SPONGE_WORDS - md->sha3.capacity_words)) { in sha3_process()
294 md->sha3.word_index = 0; in sha3_process()
305 md->sha3.s[md->sha3.word_index] ^= t; in sha3_process()
306 if(++md->sha3.word_index == (SHA3_KECCAK_SPONGE_WORDS - md->sha3.capacity_words)) { in sha3_process()
308 md->sha3.word_index = 0; in sha3_process()
346 …md->sha3.s[md->sha3.word_index] ^= (md->sha3.saved ^ (CONST64(0x1F) << (md->sha3.byte_index * 8))); in sha3_shake_done()
/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_hash.h18 unsigned short word_index; /* 0..24--the next word to integrate input (starts from 0) */ member

Completed in 4 milliseconds