Searched refs:ivSize (Results 1 – 6 of 6) sorted by relevance
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/aes/ |
D | fsl_aes.c | 867 size_t ivSize, 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() 899 if (!((ivSize >= 1u) && (sizeof(size_t) <= 4u))) in aes_gcm_check_input_args() 999 size_t ivSize, 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() 1029 saveIvSize = ivSize; in aes_gcm_process() 1045 if (ivSize != 12u) in aes_gcm_process() 1051 while (ivSize >= 16u) in aes_gcm_process() 1055 ivSize -= 16u; in aes_gcm_process() [all …]
|
D | fsl_aes.h | 226 size_t ivSize, 255 size_t ivSize,
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/ltc/ |
D | fsl_ltc.c | 1512 uint32_t ivSize, 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() 1553 static void ivsize_next(LTC_Type *base, uint32_t ivSize, bool iv_only) in ivsize_next() argument 1555 base->IVSZ = LTC_IVSZ_IL(iv_only) | ((ivSize)<C_DS_DS_MASK); in ivsize_next() 1577 …LTC_Type *base, const uint8_t *iv, uint32_t ivSize, ltc_mode_t modeReg, bool iv_only, int type, lt… in ltc_aes_gcm_process_iv_aad() argument 1583 if ((NULL == iv) || (ivSize == 0U)) in ltc_aes_gcm_process_iv_aad() 1591 while (0U != ivSize) in ltc_aes_gcm_process_iv_aad() 1593 if (ivSize < sz) in ltc_aes_gcm_process_iv_aad() 1598 next_size_func(base, ivSize, iv_only); in ltc_aes_gcm_process_iv_aad() [all …]
|
D | fsl_ltc.h | 418 uint32_t ivSize, 451 uint32_t ivSize, 484 uint32_t ivSize, 517 uint32_t ivSize,
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/caam/ |
D | fsl_caam.c | 635 size_t ivSize, 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() 667 if (!((ivSize >= 1u) && (sizeof(size_t) <= 4u))) in caam_aes_gcm_check_input_args() 721 size_t ivSize, 737 size_t ivSize, 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() 779 descriptor[6] |= (ivSize & DESC_PAYLOAD_SIZE_MASK); in caam_aes_gcm_non_blocking() 834 size_t ivSize, in caam_aes_ccm_check_input_args() argument 851 if ((ivSize < 7u) || (ivSize > 13u)) in caam_aes_ccm_check_input_args() [all …]
|
D | fsl_caam.h | 675 size_t ivSize, 710 size_t ivSize, 745 size_t ivSize, 780 size_t ivSize, 961 size_t ivSize, 999 size_t ivSize, 1037 size_t ivSize, 1075 size_t ivSize,
|