Home
last modified time | relevance | path

Searched refs:inputSize (Results 1 – 16 of 16) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/components/css_pkc/src/comps/mcuxClCss/inc/internal/
DmcuxClCss_Internal.h40 #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/
Dfsl_aes.c866 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/
Dfsl_ltc.c1511 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 …]
Dfsl_ltc.h1103 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/
Dfsl_hashcrypt.c904 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 …]
Dfsl_hashcrypt.h436 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/
Dfsl_caam.c634 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 …]
Dfsl_caam.h1142 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/
Dfsl_dcp.c1253 …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()
Dfsl_dcp.h538 …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/
Dfsl_sha.c704 …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()
Dfsl_sha.h172 …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/
Dfsl_cau3.h496 …_t CAU3_HASH_Update(CAU3_Type *base, cau3_hash_ctx_t *ctx, const uint8_t *input, size_t inputSize);
527 size_t inputSize,
Dfsl_cau3.c2106 …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/
Dfsl_dpu.c2995 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()
Dfsl_dpu.h753 uint16_t inputSize; /*!< For HScaler, it is frame width, for VScaler, it is frame height. */ member