Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/aes/
Dfsl_aes.c692 uint8_t *lastEncryptedCounter; in AES_CryptCtr() local
748 lastEncryptedCounter = counterlast; in AES_CryptCtr()
752 lastEncryptedCounter = lastBlock; in AES_CryptCtr()
754 …aes_one_block(base, lastEncryptedCounter, lastBlock); /* lastBlock is all zeroes, so I get directl… in AES_CryptCtr()
760 output[i] = input[i] ^ lastEncryptedCounter[i]; in AES_CryptCtr()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/hashcrypt/
Dfsl_hashcrypt.c1407 uint8_t *lastEncryptedCounter; in HASHCRYPT_AES_CryptCtr() local
1462 lastEncryptedCounter = counterlast; in HASHCRYPT_AES_CryptCtr()
1466 lastEncryptedCounter = lastBlock; in HASHCRYPT_AES_CryptCtr()
1470 … status = hashcrypt_aes_one_block(base, lastBlock, lastEncryptedCounter, HASHCRYPT_AES_BLOCK_SIZE); in HASHCRYPT_AES_CryptCtr()
1479 output[i] = input[i] ^ lastEncryptedCounter[i]; in HASHCRYPT_AES_CryptCtr()