/hal_nxp-3.5.0/mcux/mcux-sdk/components/css_pkc/src/comps/mcuxClCss/inc/internal/ |
D | mcuxClCss_Internal.h | 40 #define MCUXCLCSS_SETCSSINPUT0(pInput, inputSize) \ argument 43 IP_CSS->CSS_DMA_SRC0_LEN_b.SIZE_SRC0_LEN = (uint32_t) (inputSize); \ 53 #define MCUXCLCSS_SETCSSINPUT1(pInput, inputSize) \ argument 56 IP_CSS->CSS_DMA_SRC2_LEN_b.SIZE_SRC1_LEN = (uint32_t) (inputSize); \ 66 #define MCUXCLCSS_SETCSSINPUT2(pInput, inputSize) \ argument 69 IP_CSS->CSS_DMA_SRC2_LEN_b.SIZE_SRC2_LEN = (uint32_t) (inputSize); \
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/aes/ |
D | fsl_aes.c | 866 size_t inputSize, in aes_gcm_check_input_args() argument 878 ((inputSize != 0U) && ((NULL == src) || (NULL == dst)))) in aes_gcm_check_input_args() 890 if (0U == (inputSize + ivSize + aadSize)) in aes_gcm_check_input_args() 997 size_t inputSize, 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() 1027 saveSize = inputSize; in aes_gcm_process() 1122 if (inputSize != 0U) in aes_gcm_process() 1125 while (inputSize >= 16u) in aes_gcm_process() 1128 inputSize -= 16u; in aes_gcm_process() 1133 if (inputSize != 0U) in aes_gcm_process() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/ltc/ |
D | fsl_ltc.c | 1511 uint32_t inputSize, in ltc_aes_gcm_check_input_args() argument 1524 ((0U != inputSize) && ((NULL == src) || (NULL == dst)))) in ltc_aes_gcm_check_input_args() 1542 if (0U == (inputSize + ivSize + aadSize)) in ltc_aes_gcm_check_input_args() 1627 uint32_t inputSize, 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() 1673 aad_only = (inputSize == 0U); in ltc_aes_gcm_process() 1701 if (0U != inputSize) in ltc_aes_gcm_process() 1708 (void)ltc_symmetric_process_data(base, &src[0], inputSize, &dst[0]); in ltc_aes_gcm_process() [all …]
|
D | fsl_ltc.h | 1103 status_t LTC_HASH_Update(ltc_hash_ctx_t *ctx, const uint8_t *input, uint32_t inputSize); 1135 uint32_t inputSize,
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/hashcrypt/ |
D | fsl_hashcrypt.c | 904 size_t inputSize, in HASHCRYPT_SHA() argument 917 status = HASHCRYPT_SHA_Update(base, &hashCtx, input, inputSize); in HASHCRYPT_SHA() 957 …SHA_Update(HASHCRYPT_Type *base, hashcrypt_hash_ctx_t *ctx, const uint8_t *input, size_t inputSize) in HASHCRYPT_SHA_Update() argument 964 if (inputSize == 0U) in HASHCRYPT_SHA_Update() 978 ctxInternal->fullMessageSize += inputSize; in HASHCRYPT_SHA_Update() 981 if ((ctxInternal->blksz + inputSize) <= blockSize) in HASHCRYPT_SHA_Update() 983 (void)hashcrypt_memcpy((&ctxInternal->blk.b[0]) + ctxInternal->blksz, input, inputSize); in HASHCRYPT_SHA_Update() 984 ctxInternal->blksz += inputSize; in HASHCRYPT_SHA_Update() 1005 status = hashcrypt_sha_process_message_data(base, ctxInternal, input, inputSize); in HASHCRYPT_SHA_Update() 1119 size_t inputSize) in HASHCRYPT_SHA_UpdateNonBlocking() argument [all …]
|
D | fsl_hashcrypt.h | 436 size_t inputSize, 467 …HA_Update(HASHCRYPT_Type *base, hashcrypt_hash_ctx_t *ctx, const uint8_t *input, size_t inputSize); 533 size_t inputSize);
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/caam/ |
D | fsl_caam.c | 634 size_t inputSize, in caam_aes_gcm_check_input_args() argument 646 ((inputSize != 0U) && ((src == NULL) || (dst == NULL)))) in caam_aes_gcm_check_input_args() 658 if (0U == (inputSize + ivSize + aadSize)) in caam_aes_gcm_check_input_args() 877 …uint32_t inputSize, const uint8_t *iv, uint32_t ivSize, uint32_t aadSize, uint32_t tagSize, void *… in caam_aes_ccm_context_init() argument 896 blk.w[3] = swap_bytes(inputSize); /* message size, most significant byte first */ in caam_aes_ccm_context_init() 2658 size_t inputSize, in caam_hash_sgt_insert() argument 2680 numBlocks = (inputSize + ctxBlksz) / CAAM_HASH_BLOCK_SIZE; in caam_hash_sgt_insert() 2681 remain = (inputSize + ctxBlksz) % CAAM_HASH_BLOCK_SIZE; in caam_hash_sgt_insert() 2698 if ((ctxBlksz != 0U) || (0U == ctxBlksz + inputSize)) in caam_hash_sgt_insert() 2702 if ((kCAAM_HashSgtEntryLast == last) && (0U == inputSize)) in caam_hash_sgt_insert() [all …]
|
D | fsl_caam.h | 1142 status_t CAAM_HASH_Update(caam_hash_ctx_t *ctx, const uint8_t *input, size_t inputSize); 1185 size_t inputSize, 1220 status_t CAAM_HASH_UpdateNonBlocking(caam_hash_ctx_t *ctx, const uint8_t *input, size_t inputSize); 1275 size_t inputSize, 1332 status_t CAAM_CRC_Update(caam_crc_ctx_t *ctx, const uint8_t *input, size_t inputSize); 1375 size_t inputSize, 1411 size_t inputSize,
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/dcp/ |
D | fsl_dcp.c | 1253 …atus_t DCP_HASH_Update(DCP_Type *base, dcp_hash_ctx_t *ctx, const uint8_t *input, size_t inputSize) in DCP_HASH_Update() argument 1267 if (inputSize == 0U) in DCP_HASH_Update() 1278 ctxInternal->fullMessageSize += inputSize; in DCP_HASH_Update() 1281 if ((ctxInternal->blksz + inputSize) <= blockSize) in DCP_HASH_Update() 1283 (void)dcp_memcpy((&ctxInternal->blk.b[0]) + ctxInternal->blksz, input, inputSize); in DCP_HASH_Update() 1284 ctxInternal->blksz += inputSize; in DCP_HASH_Update() 1307 status = dcp_hash_process_message_data(base, ctxInternal, input, inputSize); in DCP_HASH_Update() 1439 size_t inputSize, in DCP_HASH() argument 1452 status = DCP_HASH_Update(base, &hashCtx, input, inputSize); in DCP_HASH()
|
D | fsl_dcp.h | 538 …tus_t DCP_HASH_Update(DCP_Type *base, dcp_hash_ctx_t *ctx, const uint8_t *input, size_t inputSize); 572 size_t inputSize,
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/sha/ |
D | fsl_sha.c | 704 …tus_t SHA_UpdateNonBlocking(SHA_Type *base, sha_ctx_t *ctx, const uint8_t *input, size_t inputSize) in SHA_UpdateNonBlocking() argument 710 if (inputSize == 0U) in SHA_UpdateNonBlocking() 727 ctxInternal->fullMessageSize = inputSize; in SHA_UpdateNonBlocking() 728 ctxInternal->remainingBlcks = inputSize / SHA_BLOCK_SIZE; in SHA_UpdateNonBlocking() 729 ctxInternal->blksz = inputSize % SHA_BLOCK_SIZE; in SHA_UpdateNonBlocking()
|
D | fsl_sha.h | 172 …us_t SHA_UpdateNonBlocking(SHA_Type *base, sha_ctx_t *ctx, const uint8_t *input, size_t inputSize);
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/cau3/ |
D | fsl_cau3.h | 496 …_t CAU3_HASH_Update(CAU3_Type *base, cau3_hash_ctx_t *ctx, const uint8_t *input, size_t inputSize); 527 size_t inputSize,
|
D | fsl_cau3.c | 2106 …s_t CAU3_HASH_Update(CAU3_Type *base, cau3_hash_ctx_t *ctx, const uint8_t *input, size_t inputSize) in CAU3_HASH_Update() argument 2113 if (inputSize == 0U) in CAU3_HASH_Update() 2125 ctxInternal->fullMessageSize += inputSize; in CAU3_HASH_Update() 2128 if ((ctxInternal->blksz + inputSize) <= blockSize) in CAU3_HASH_Update() 2130 (void)cau3_memcpy((&ctxInternal->blk.b[0]) + ctxInternal->blksz, input, inputSize); in CAU3_HASH_Update() 2131 ctxInternal->blksz += inputSize; in CAU3_HASH_Update() 2150 status = cau3_hash_process_message_data(base, ctxInternal, input, inputSize); in CAU3_HASH_Update() 2238 …CAU3_Type *base, cau3_hash_algo_t algo, const uint8_t *input, size_t inputSize, uint8_t *output, s… in CAU3_HASH() argument 2249 status = CAU3_HASH_Update(base, &hashCtx, input, inputSize); in CAU3_HASH()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/dpu/ |
D | fsl_dpu.c | 2995 config->inputSize = 0U; in DPU_ScalerGetDefaultConfig() 3033 if (config->inputSize > config->outputSize) in DPU_SetScalerConfig() 3035 scaleFact = (float)config->outputSize / (float)config->inputSize; in DPU_SetScalerConfig() 3041 scaleFact = (float)config->inputSize / (float)config->outputSize; in DPU_SetScalerConfig()
|
D | fsl_dpu.h | 753 uint16_t inputSize; /*!< For HScaler, it is frame width, for VScaler, it is frame height. */ member
|