Home
last modified time | relevance | path

Searched refs:numBlocks (Results 1 – 6 of 6) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/mmcau/
Dfsl_mmcau.c26 typedef void (*cau_hash_api_t)(const uint8_t *msgData, const int numBlocks, uint32_t *hashState);
27 typedef void (*cau_hash_md5_api_t)(const uint8_t *msgData, const int numBlocks, uint8_t *hashState);
186 …cau_hash_api_t cauFunc, const uint8_t *msgData, uint32_t numBlocks, void *hashState, size_t stateS… in mmcau_hash_API() argument
190 if ((msgData != NULL) && (hashState != NULL) && (numBlocks != 0U)) in mmcau_hash_API()
206 cauFunc(msgDataWork, numBlocks, hashStateWork); in mmcau_hash_API()
222 …cau_hash_md5_api_t cauFunc, const uint8_t *msgData, uint32_t numBlocks, void *hashState, size_t st… in mmcau_hash_MD5API() argument
226 if ((msgData != NULL) && (hashState != NULL) && (numBlocks != 0U)) in mmcau_hash_MD5API()
242 cauFunc(msgDataWork, numBlocks, hashStateWork); in mmcau_hash_MD5API()
389 status_t MMCAU_MD5_HashN(const uint8_t *msgData, uint32_t numBlocks, uint32_t *md5State) in MMCAU_MD5_HashN() argument
391 …return mmcau_hash_MD5API((cau_hash_md5_api_t)cau_md5_hash_n, msgData, numBlocks, md5State, MMCAU_M… in MMCAU_MD5_HashN()
[all …]
Dfsl_mmcau.h147 status_t MMCAU_MD5_HashN(const uint8_t *msgData, uint32_t numBlocks, uint32_t *md5State);
163 status_t MMCAU_MD5_Update(const uint8_t *msgData, uint32_t numBlocks, uint32_t *md5State);
187 status_t MMCAU_SHA1_HashN(const uint8_t *msgData, uint32_t numBlocks, uint32_t *sha1State);
203 status_t MMCAU_SHA1_Update(const uint8_t *msgData, uint32_t numBlocks, uint32_t *sha1State);
230 status_t MMCAU_SHA256_HashN(const uint8_t *input, uint32_t numBlocks, uint32_t *sha256State);
246 status_t MMCAU_SHA256_Update(const uint8_t *input, uint32_t numBlocks, uint32_t *sha256State);
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/sha/
Dfsl_sha.c707 uint32_t numBlocks; in SHA_UpdateNonBlocking() local
740 numBlocks = MAX_HASH_CHUNK - 1U; in SHA_UpdateNonBlocking()
744 numBlocks = ctxInternal->remainingBlcks; in SHA_UpdateNonBlocking()
747 ctxInternal->remainingBlcks -= numBlocks; in SHA_UpdateNonBlocking()
750 if (numBlocks > 0U) in SHA_UpdateNonBlocking()
758 base->MEMCTRL = SHA_MEMCTRL_MASTER(1) | SHA_MEMCTRL_COUNT(numBlocks); in SHA_UpdateNonBlocking()
793 uint32_t numBlocks; in SHA_DriverIRQHandler() local
804 numBlocks = MAX_HASH_CHUNK - 1U; in SHA_DriverIRQHandler()
808 numBlocks = ctxInternal->remainingBlcks; in SHA_DriverIRQHandler()
811 ctxInternal->remainingBlcks -= numBlocks; in SHA_DriverIRQHandler()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/components/mem_manager/
Dfsl_component_mem_manager.c88 uint16_t numBlocks; member
331 pPool->numBlocks = memConfig->numberOfBlocks; in MEM_AddBuffer()
462 for (uint32_t i = 0; i < pPool->numBlocks; i++) in MEM_BufferAllocWithId()
571 … pPool->numBlocks * ((uint32_t)pPool->blockSize + (uint32_t)sizeof(block_list_header_t)))) in MEM_BufferFree()
630 … ((sizeof(block_list_header_t) + (uint32_t)pPool->blockSize) * pPool->numBlocks)); in MEM_BufferFreeAllWithId()
741 … pPool->numBlocks, pPool->allocatedBlocks, pPool->allocatedBlocksPeak, pPool->poolFragmentWaste, in MEM_Trace()
744 for (uint32_t i = 0; i < pPool->numBlocks; i++) in MEM_Trace()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/hashcrypt/
Dfsl_hashcrypt.c1122 uint32_t numBlocks; in HASHCRYPT_SHA_UpdateNonBlocking() local
1155 numBlocks = SHA_MASTER_MAX_BLOCKS - 1U; in HASHCRYPT_SHA_UpdateNonBlocking()
1159 numBlocks = ctxInternal->remainingBlcks; in HASHCRYPT_SHA_UpdateNonBlocking()
1162 ctxInternal->remainingBlcks -= numBlocks; in HASHCRYPT_SHA_UpdateNonBlocking()
1165 if (numBlocks > 0U) in HASHCRYPT_SHA_UpdateNonBlocking()
1173 base->MEMCTRL = HASHCRYPT_MEMCTRL_MASTER(1) | HASHCRYPT_MEMCTRL_COUNT(numBlocks); in HASHCRYPT_SHA_UpdateNonBlocking()
1759 uint32_t numBlocks; in HASHCRYPT_DriverIRQHandler() local
1770 numBlocks = SHA_MASTER_MAX_BLOCKS - 1U; in HASHCRYPT_DriverIRQHandler()
1774 numBlocks = ctxInternal->remainingBlcks; in HASHCRYPT_DriverIRQHandler()
1777 ctxInternal->remainingBlcks -= numBlocks; in HASHCRYPT_DriverIRQHandler()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/caam/
Dfsl_caam.c2671 uint32_t numBlocks; in caam_hash_sgt_insert() local
2680 numBlocks = (inputSize + ctxBlksz) / CAAM_HASH_BLOCK_SIZE; in caam_hash_sgt_insert()
2687 num = (CAAM_HASH_BLOCK_SIZE * numBlocks); in caam_hash_sgt_insert()
3478 uint32_t numBlocks; in caam_crc_sgt_insert() local
3487 numBlocks = (inputSize + ctxBlksz) / CAAM_HASH_BLOCK_SIZE; in caam_crc_sgt_insert()
3494 num = (CAAM_HASH_BLOCK_SIZE * numBlocks); in caam_crc_sgt_insert()