Home
last modified time | relevance | path

Searched refs:remainingBlcks (Results 1 – 2 of 2) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/sha/
Dfsl_sha.c51 uint32_t remainingBlcks; /*!< number of remaining blocks to process in AHB master mode */ member
728 ctxInternal->remainingBlcks = inputSize / SHA_BLOCK_SIZE; in SHA_UpdateNonBlocking()
734 … (void)sha_memcpy((&ctxInternal->blk.b[0]), input + SHA_BLOCK_SIZE * ctxInternal->remainingBlcks, in SHA_UpdateNonBlocking()
738 if (ctxInternal->remainingBlcks >= MAX_HASH_CHUNK) in SHA_UpdateNonBlocking()
744 numBlocks = ctxInternal->remainingBlcks; in SHA_UpdateNonBlocking()
747 ctxInternal->remainingBlcks -= numBlocks; in SHA_UpdateNonBlocking()
800 if (ctxInternal->remainingBlcks > 0U) in SHA_DriverIRQHandler()
802 if (ctxInternal->remainingBlcks >= MAX_HASH_CHUNK) in SHA_DriverIRQHandler()
808 numBlocks = ctxInternal->remainingBlcks; in SHA_DriverIRQHandler()
811 ctxInternal->remainingBlcks -= numBlocks; in SHA_DriverIRQHandler()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/hashcrypt/
Dfsl_hashcrypt.c52 …uint32_t remainingBlcks; /*!< number of remaining blocks to process in AHB master mode */ member
1143 ctxInternal->remainingBlcks = inputSize / SHA_BLOCK_SIZE; in HASHCRYPT_SHA_UpdateNonBlocking()
1149 …id)hashcrypt_memcpy((&ctxInternal->blk.b[0]), input + SHA_BLOCK_SIZE * ctxInternal->remainingBlcks, in HASHCRYPT_SHA_UpdateNonBlocking()
1153 if (ctxInternal->remainingBlcks >= SHA_MASTER_MAX_BLOCKS) in HASHCRYPT_SHA_UpdateNonBlocking()
1159 numBlocks = ctxInternal->remainingBlcks; in HASHCRYPT_SHA_UpdateNonBlocking()
1162 ctxInternal->remainingBlcks -= numBlocks; in HASHCRYPT_SHA_UpdateNonBlocking()
1766 if (ctxInternal->remainingBlcks > 0U) in HASHCRYPT_DriverIRQHandler()
1768 if (ctxInternal->remainingBlcks >= SHA_MASTER_MAX_BLOCKS) in HASHCRYPT_DriverIRQHandler()
1774 numBlocks = ctxInternal->remainingBlcks; in HASHCRYPT_DriverIRQHandler()
1777 ctxInternal->remainingBlcks -= numBlocks; in HASHCRYPT_DriverIRQHandler()