/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/ltc/ |
D | fsl_ltc_edma.h | 61 …uint8_t *counterlast; /*!< Output cipher of last counter, for chained CTR calls. NULL can be passe… member 226 uint8_t counterlast[LTC_AES_BLOCK_SIZE], 230 …AES_DecryptCtrEDMA(base, handle, input, output, size, counter, key, keySize, counterlast, szLeft) \ argument 231 …LTC_AES_CryptCtrEDMA(base, handle, input, output, size, counter, key, keySize, counterlast, szLeft) 234 …AES_EncryptCtrEDMA(base, handle, input, output, size, counter, key, keySize, counterlast, szLeft) \ argument 235 …LTC_AES_CryptCtrEDMA(base, handle, input, output, size, counter, key, keySize, counterlast, szLeft)
|
D | fsl_ltc.h | 381 uint8_t counterlast[LTC_AES_BLOCK_SIZE], 385 #define LTC_AES_DecryptCtr(base, input, output, size, counter, key, keySize, counterlast, szLeft) \ argument 386 LTC_AES_CryptCtr(base, input, output, size, counter, key, keySize, counterlast, szLeft) 389 #define LTC_AES_EncryptCtr(base, input, output, size, counter, key, keySize, counterlast, szLeft) \ argument 390 LTC_AES_CryptCtr(base, input, output, size, counter, key, keySize, counterlast, szLeft)
|
D | fsl_ltc_edma.c | 283 if ((handle->counterlast != NULL) && (0U != handle->lastSize)) in ltc_process_message_in_sessions_ctr_EDMA() 309 … retval = ltc_symmetric_process_data(base, zeroes, 16U, handle->counterlast); in ltc_process_message_in_sessions_ctr_EDMA() 609 uint8_t counterlast[LTC_AES_BLOCK_SIZE], in LTC_AES_CryptCtrEDMA() 625 if (counterlast != NULL) in LTC_AES_CryptCtrEDMA() 674 handle->counterlast = counterlast; in LTC_AES_CryptCtrEDMA()
|
D | fsl_ltc.c | 1405 uint8_t counterlast[LTC_AES_BLOCK_SIZE], in LTC_AES_CryptCtr() 1417 if (counterlast != NULL) in LTC_AES_CryptCtr() 1466 if ((counterlast != NULL) && (0U != lastSize)) in LTC_AES_CryptCtr() 1494 retval = ltc_symmetric_process_data(base, zeroes, 16U, counterlast); in LTC_AES_CryptCtr()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/aes/ |
D | fsl_aes.h | 200 uint8_t counterlast[AES_BLOCK_SIZE],
|
D | fsl_aes.c | 686 uint8_t counterlast[AES_BLOCK_SIZE], in AES_CryptCtr() 746 if (counterlast != NULL) in AES_CryptCtr() 748 lastEncryptedCounter = counterlast; in AES_CryptCtr()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/hashcrypt/ |
D | fsl_hashcrypt.c | 1402 uint8_t counterlast[HASHCRYPT_AES_BLOCK_SIZE], in HASHCRYPT_AES_CryptCtr() 1460 if (counterlast != NULL) in HASHCRYPT_AES_CryptCtr() 1462 lastEncryptedCounter = counterlast; in HASHCRYPT_AES_CryptCtr() 1488 if (counterlast != NULL) in HASHCRYPT_AES_CryptCtr() 1490 (void)memset(counterlast, 0, HASHCRYPT_AES_BLOCK_SIZE); in HASHCRYPT_AES_CryptCtr()
|
D | fsl_hashcrypt.h | 342 uint8_t counterlast[HASHCRYPT_AES_BLOCK_SIZE],
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/caam/ |
D | fsl_caam.h | 646 uint8_t counterlast[CAAM_AES_BLOCK_SIZE], 930 uint8_t *counterlast,
|
D | fsl_caam.c | 1233 uint8_t *counterlast, in CAAM_AES_CryptCtrNonBlocking() argument 1280 if ((counterlast == NULL) || (szLeft == NULL)) in CAAM_AES_CryptCtrNonBlocking() 1292 descriptor[21] = ADD_OFFSET((uint32_t)counterlast); in CAAM_AES_CryptCtrNonBlocking() 2183 uint8_t counterlast[16], in CAAM_AES_CryptCtr() 2192 counterlast, szLeft); in CAAM_AES_CryptCtr() 2207 if (counterlast != NULL) in CAAM_AES_CryptCtr() 2209 DCACHE_InvalidateByRange((uint32_t)counterlast, 16u); in CAAM_AES_CryptCtr()
|