Searched refs:blockOutput (Results 1 – 1 of 1) sorted by relevance
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/hashcrypt/ |
D | fsl_hashcrypt.c | 1513 uint8_t blockOutput[HASHCRYPT_AES_BLOCK_SIZE] = {0}; in HASHCRYPT_AES_CryptOfb() local 1550 status = hashcrypt_aes_one_block(base, zeroes, blockOutput, HASHCRYPT_AES_BLOCK_SIZE); in HASHCRYPT_AES_CryptOfb() 1559 output[i] = input[i] ^ blockOutput[i]; in HASHCRYPT_AES_CryptOfb() 1569 status = hashcrypt_aes_one_block(base, zeroes, blockOutput, HASHCRYPT_AES_BLOCK_SIZE); in HASHCRYPT_AES_CryptOfb() 1579 output[i] = input[i] ^ blockOutput[i]; in HASHCRYPT_AES_CryptOfb() 1597 uint8_t blockOutput[HASHCRYPT_AES_BLOCK_SIZE] = {0}; in HASHCRYPT_AES_EncryptCfb() local 1633 status = hashcrypt_aes_one_block(base, zeroes, blockOutput, HASHCRYPT_AES_BLOCK_SIZE); in HASHCRYPT_AES_EncryptCfb() 1642 ciphertext[i] = plaintext[i] ^ blockOutput[i]; in HASHCRYPT_AES_EncryptCfb() 1649 status = hashcrypt_aes_one_block(base, plaintext, blockOutput, HASHCRYPT_AES_BLOCK_SIZE); in HASHCRYPT_AES_EncryptCfb() 1661 ciphertext[i] = plaintext[i] ^ blockOutput[i]; in HASHCRYPT_AES_EncryptCfb() [all …]
|