Searched refs:cipher_blocksize (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/lib/libtomcrypt/src/hashes/chc/ |
| H A D | chc.c | 17 cipher_blocksize; /* blocksize of cipher */ variable 70 cipher_blocksize = cipher_descriptor[cipher]->block_length; in chc_register() 92 if (cipher_blocksize != cipher_descriptor[cipher_idx]->block_length) { in chc_init() 101 zeromem(buf, cipher_blocksize); in chc_init() 102 if ((err = cipher_descriptor[cipher_idx]->setup(buf, cipher_blocksize, 0, key)) != CRYPT_OK) { in chc_init() 133 …if ((err = cipher_descriptor[cipher_idx]->setup(md->chc.state, cipher_blocksize, 0, key)) != CRYPT… in s_chc_compress() 137 XMEMCPY(T[1], buf, cipher_blocksize); in s_chc_compress() 139 for (x = 0; x < cipher_blocksize; x++) { in s_chc_compress() 158 static HASH_PROCESS(ss_chc_process, s_chc_compress, chc, (unsigned long)cipher_blocksize) 178 if (cipher_blocksize != cipher_descriptor[cipher_idx]->block_length) { in chc_process() [all …]
|