Searched refs:aadSize (Results 1 – 6 of 6) sorted by relevance
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/aes/ |
D | fsl_aes.c | 868 size_t aadSize, in aes_gcm_check_input_args() argument 877 if (((ivSize != 0U) && (NULL == iv)) || ((aadSize != 0U) && (NULL == aad)) || in aes_gcm_check_input_args() 890 if (0U == (inputSize + ivSize + aadSize)) in aes_gcm_check_input_args() 1001 size_t aadSize, 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() 1028 saveAadSize = aadSize; in aes_gcm_process() 1085 if (aadSize != 0U) in aes_gcm_process() 1088 while (aadSize >= 16u) in aes_gcm_process() 1092 aadSize -= 16u; in aes_gcm_process() 1094 if (aadSize != 0U) in aes_gcm_process() [all …]
|
D | fsl_aes.h | 228 size_t aadSize, 257 size_t aadSize,
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/ltc/ |
D | fsl_ltc.c | 1513 uint32_t aadSize, 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() 1542 if (0U == (inputSize + ivSize + aadSize)) in ltc_aes_gcm_check_input_args() 1561 static void aadsize_next(LTC_Type *base, uint32_t aadSize, bool aad_only) in aadsize_next() argument 1563 base->AADSZ = LTC_AADSZ_AL(aad_only) | ((aadSize)<C_DS_DS_MASK); in aadsize_next() 1631 uint32_t aadSize, 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() 1664 … (((aadSize + 15u) & 0xfffffff0u) + ((ivSize + 15u) & 0xfffffff0u) + inputSize) <= max_ltc_fifo_sz; in ltc_aes_gcm_process() 1672 iv_only = (aadSize == 0U) && (inputSize == 0U); in ltc_aes_gcm_process() 1690 base->AADSZ = LTC_AADSZ_AL(aad_only) | ((aadSize)<C_DS_DS_MASK); in ltc_aes_gcm_process() [all …]
|
D | fsl_ltc.h | 420 uint32_t aadSize, 453 uint32_t aadSize, 486 uint32_t aadSize, 519 uint32_t aadSize,
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/caam/ |
D | fsl_caam.c | 636 size_t aadSize, 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() 658 if (0U == (inputSize + ivSize + aadSize)) in caam_aes_gcm_check_input_args() 723 size_t aadSize, 739 size_t aadSize, 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() 775 bool ivLast = (aadSize == 0U) && (size == 0U); in caam_aes_gcm_non_blocking() 787 descriptor[8] |= (aadSize & DESC_PAYLOAD_SIZE_MASK); in caam_aes_gcm_non_blocking() 835 size_t aadSize, in caam_aes_ccm_check_input_args() argument 869 if (aadSize >= 65280u) in caam_aes_ccm_check_input_args() [all …]
|
D | fsl_caam.h | 677 size_t aadSize, 712 size_t aadSize, 747 size_t aadSize, 782 size_t aadSize, 963 size_t aadSize, 1001 size_t aadSize, 1039 size_t aadSize, 1077 size_t aadSize,
|