Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/src/hashes/
H A Dsha3.c202 md->sha3.s[md->sha3.word_index] ^= (md->sha3.saved ^ (pad << (md->sha3.byte_index * 8))); in ss_done()
282 md->sha3.s[md->sha3.word_index] ^= md->sha3.saved; in sha3_process()
285 if(++md->sha3.word_index == (SHA3_KECCAK_SPONGE_WORDS - md->sha3.capacity_words)) { in sha3_process()
287 md->sha3.word_index = 0; in sha3_process()
298 md->sha3.s[md->sha3.word_index] ^= t; in sha3_process()
299 if(++md->sha3.word_index == (SHA3_KECCAK_SPONGE_WORDS - md->sha3.capacity_words)) { in sha3_process()
301 md->sha3.word_index = 0; in sha3_process()
339 …md->sha3.s[md->sha3.word_index] ^= (md->sha3.saved ^ (CONST64(0x1F) << (md->sha3.byte_index * 8))); in sha3_shake_done()
/optee_os/core/drivers/crypto/stm32/
H A Dstm32_pka.c772 uint32_t word_index = U(0); in read_eo_data() local
780 for (word_index = U(0); word_index < eo_nbw - 1; word_index++) { in read_eo_data()
784 tmp = io_read64(addr + word_index * sizeof(tmp)); in read_eo_data()
799 tmp = io_read64(addr + word_index * sizeof(tmp)); in read_eo_data()
837 uint32_t word_index = U(0); in write_eo_data() local
844 for (word_index = U(0); word_index < eo_nbw; word_index++) { in write_eo_data()
858 io_write64(addr + word_index * sizeof(tmp), tmp); in write_eo_data()
/optee_os/core/lib/libtomcrypt/src/headers/
H A Dtomcrypt_hash.h11 unsigned short word_index; /* 0..24--the next word to integrate input (starts from 0) */ member