Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/hashcrypt/
Dfsl_hashcrypt.c729 uint32_t blkNum = (messageSize >> 6); /* div by 64 bytes */ in hashcrypt_sha_process_message_data() local
730 uint32_t blkFullRounds = blkNum / SHA_MAX_BLOCK_COUNT; in hashcrypt_sha_process_message_data()
753 blkNum -= SHA_MAX_BLOCK_COUNT; in hashcrypt_sha_process_message_data()
756 if (blkNum != 0U) in hashcrypt_sha_process_message_data()
762 uint32_t blkBytes = blkNum * 64u; /* number of bytes in 64 bytes blocks */ in hashcrypt_sha_process_message_data()
766 base->MEMCTRL = HASHCRYPT_MEMCTRL_MASTER(1) | HASHCRYPT_MEMCTRL_COUNT(blkNum); in hashcrypt_sha_process_message_data()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/sha/
Dfsl_sha.c386 uint32_t blkNum = (messageSize >> 6); /* div by 64 bytes */ in sha_process_message_data_master() local
387 uint32_t blkBytes = blkNum * 64u; /* number of bytes in 64 bytes blocks */ in sha_process_message_data_master()
389 base->MEMCTRL = SHA_MEMCTRL_MASTER(1) | SHA_MEMCTRL_COUNT(blkNum); in sha_process_message_data_master()