Home
last modified time | relevance | path

Searched refs:aad (Results 1 – 8 of 8) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/aes/
Dfsl_aes.c864 const uint8_t *aad, in aes_gcm_check_input_args() argument
877 if (((ivSize != 0U) && (NULL == iv)) || ((aadSize != 0U) && (NULL == aad)) || in aes_gcm_check_input_args()
1000 const uint8_t *aad, in aes_gcm_process() argument
1015 status = aes_gcm_check_input_args(base, src, iv, aad, dst, inputSize, ivSize, aadSize, tagSize); in aes_gcm_process()
1090 aes_gcm_one_block_input_only(base, aad); in aes_gcm_process()
1091 aad += 16; in aes_gcm_process()
1097 (void)aes_memcpy(aadBlkZero, aad, aadSize); in aes_gcm_process()
1229 const uint8_t *aad, in AES_EncryptTagGcm() argument
1236 …aes_gcm_process(base, kAES_ModeEncrypt, plaintext, size, iv, ivSize, aad, aadSize, ciphertext, tag… in AES_EncryptTagGcm()
1264 const uint8_t *aad, in AES_DecryptTagGcm() argument
[all …]
Dfsl_aes.h227 const uint8_t *aad,
256 const uint8_t *aad,
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/ltc/
Dfsl_ltc.c1508 const uint8_t *aad, in ltc_aes_gcm_check_input_args() argument
1523 if ((NULL == key) || ((0U != ivSize) && (NULL == iv)) || ((0U != aadSize) && (NULL == aad)) || in ltc_aes_gcm_check_input_args()
1630 const uint8_t *aad, in ltc_aes_gcm_process() argument
1646 …retval = ltc_aes_gcm_check_input_args(base, src, iv, aad, key, dst, inputSize, ivSize, aadSize, ke… in ltc_aes_gcm_process()
1691 ltc_move_to_ififo(base, aad, aadSize); in ltc_aes_gcm_process()
1747 …retval = ltc_aes_gcm_process_iv_aad(base, aad, aadSize, modeReg, true, LTC_AES_GCM_TYPE_AAD, lastM… in ltc_aes_gcm_process()
1802 const uint8_t *aad, in LTC_AES_EncryptTagGcm() argument
1811 …status = ltc_aes_gcm_process(base, kLTC_ModeEncrypt, plaintext, size, iv, ivSize, aad, aadSize, ke… in LTC_AES_EncryptTagGcm()
1844 const uint8_t *aad, in LTC_AES_DecryptTagGcm() argument
1861 …status = ltc_aes_gcm_process(base, kLTC_ModeDecrypt, ciphertext, size, iv, ivSize, aad, aadSize, k… in LTC_AES_DecryptTagGcm()
[all …]
Dfsl_ltc.h419 const uint8_t *aad,
452 const uint8_t *aad,
485 const uint8_t *aad,
518 const uint8_t *aad,
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/caam/
Dfsl_caam.h676 const uint8_t *aad,
711 const uint8_t *aad,
746 const uint8_t *aad,
781 const uint8_t *aad,
962 const uint8_t *aad,
1000 const uint8_t *aad,
1038 const uint8_t *aad,
1076 const uint8_t *aad,
Dfsl_caam.c632 const uint8_t *aad, in caam_aes_gcm_check_input_args() argument
645 if (((ivSize != 0U) && (iv == NULL)) || ((aadSize != 0U) && (aad == NULL)) || in caam_aes_gcm_check_input_args()
722 const uint8_t *aad,
738 const uint8_t *aad, in caam_aes_gcm_non_blocking() argument
749 …status = caam_aes_gcm_check_input_args(base, input, iv, aad, output, size, ivSize, aadSize, tagSiz… in caam_aes_gcm_non_blocking()
788 descriptor[9] = ADD_OFFSET((uint32_t)aad); in caam_aes_gcm_non_blocking()
959 const uint8_t *aad,
975 const uint8_t *aad, in caam_aes_ccm_non_blocking() argument
1032 (void)caam_memcpy(((uint8_t *)&descriptor[15]) + 2, aad, sz); /* fill B1 with aad */ in caam_aes_ccm_non_blocking()
1035 aad += sz; in caam_aes_ccm_non_blocking()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/cau3/
Dfsl_cau3.h581 const uint8_t *aad,
612 const uint8_t *aad,
Dfsl_cau3.c4571 const uint8_t *aad, in CAU3_CHACHA20_POLY1305_Encrypt() argument
4594 base->CC_R[18] = (uintptr_t)aad; /* AAD pointer */ in CAU3_CHACHA20_POLY1305_Encrypt()
4639 const uint8_t *aad, in CAU3_CHACHA20_POLY1305_Decrypt() argument
4662 base->CC_R[18] = (uintptr_t)aad; /* AAD pointer */ in CAU3_CHACHA20_POLY1305_Decrypt()