Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/src/encauth/ocb3/
H A Docb3_decrypt_last.c23 unsigned char iPad[MAXBLOCKSIZE]; in ocb3_decrypt_last() local
53 …if ((err = cipher_descriptor[ocb->cipher]->ecb_encrypt(iOffset_star, iPad, &ocb->key)) != CRYPT_OK… in ocb3_decrypt_last()
58 …ocb3_int_xor_blocks(pt+full_blocks_len, (unsigned char *)ct+full_blocks_len, iPad, last_block_len); in ocb3_decrypt_last()
95 zeromem(iPad, MAXBLOCKSIZE); in ocb3_decrypt_last()
H A Docb3_encrypt_last.c23 unsigned char iPad[MAXBLOCKSIZE]; in ocb3_encrypt_last() local
55 …if ((err = cipher_descriptor[ocb->cipher]->ecb_encrypt(iOffset_star, iPad, &ocb->key)) != CRYPT_OK… in ocb3_encrypt_last()
60 ocb3_int_xor_blocks(ct+full_blocks_len, pt+full_blocks_len, iPad, last_block_len); in ocb3_encrypt_last()
96 zeromem(iPad, MAXBLOCKSIZE); in ocb3_encrypt_last()