Searched refs:aadSize (Results 1 – 6 of 6) sorted by relevance
| /hal_nxp-latest/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-latest/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-latest/mcux/mcux-sdk/drivers/caam/ |
| D | fsl_caam.c | 721 size_t aadSize, in caam_aes_gcm_check_input_args() argument 730 if (((ivSize != 0U) && (iv == NULL)) || ((aadSize != 0U) && (aad == NULL)) || in caam_aes_gcm_check_input_args() 743 if (0U == (inputSize + ivSize + aadSize)) in caam_aes_gcm_check_input_args() 808 size_t aadSize, 824 size_t aadSize, in caam_aes_gcm_non_blocking() argument 834 …status = caam_aes_gcm_check_input_args(base, input, iv, aad, output, size, ivSize, aadSize, tagSiz… in caam_aes_gcm_non_blocking() 860 bool ivLast = (aadSize == 0U) && (size == 0U); in caam_aes_gcm_non_blocking() 872 descriptor[8] |= (aadSize & DESC_PAYLOAD_SIZE_MASK); in caam_aes_gcm_non_blocking() 921 size_t aadSize, in caam_aes_ccm_check_input_args() argument 957 if (aadSize >= 65280u) in caam_aes_ccm_check_input_args() [all …]
|
| D | fsl_caam.h | 692 size_t aadSize, 727 size_t aadSize, 762 size_t aadSize, 797 size_t aadSize, 978 size_t aadSize, 1016 size_t aadSize, 1054 size_t aadSize, 1092 size_t aadSize,
|