Home
last modified time | relevance | path

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

/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/sha/
Dfsl_sha.c20 #define SHA_BLOCK_SIZE 64U macro
39 uint32_t w[SHA_BLOCK_SIZE / 4]; /*!< array of 32-bit words */
40 uint8_t b[SHA_BLOCK_SIZE]; /*!< byte array */
263 uint32_t temp[SHA_BLOCK_SIZE / sizeof(uint32_t)]; in sha_one_block()
269 (void)sha_memcpy(temp, (const uint32_t *)(uintptr_t)blk, SHA_BLOCK_SIZE); in sha_one_block()
310 size_t toCopy = SHA_BLOCK_SIZE - ctxInternal->blksz; in sha_process_message_data()
320 while (messageSize >= SHA_BLOCK_SIZE) in sha_process_message_data()
323 message += SHA_BLOCK_SIZE; in sha_process_message_data()
324 messageSize -= SHA_BLOCK_SIZE; in sha_process_message_data()
361 size_t toCopy = SHA_BLOCK_SIZE - ctxInternal->blksz; in sha_process_message_data_master()
[all …]
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/hashcrypt/
Dfsl_hashcrypt.c20 #define SHA_BLOCK_SIZE 64U macro
40 uint32_t w[SHA_BLOCK_SIZE / 4]; /*!< array of 32-bit words */
41 uint8_t b[SHA_BLOCK_SIZE]; /*!< byte array */
661 uint32_t temp[SHA_BLOCK_SIZE / sizeof(uint32_t)]; in hashcrypt_sha_one_block()
667 (void)hashcrypt_memcpy(temp, blk, SHA_BLOCK_SIZE); in hashcrypt_sha_one_block()
709 size_t toCopy = SHA_BLOCK_SIZE - ctxInternal->blksz; in hashcrypt_sha_process_message_data()
719 if (messageSize >= SHA_BLOCK_SIZE) in hashcrypt_sha_process_message_data()
723 while (messageSize >= SHA_BLOCK_SIZE) in hashcrypt_sha_process_message_data()
726 message += SHA_BLOCK_SIZE; in hashcrypt_sha_process_message_data()
727 messageSize -= SHA_BLOCK_SIZE; in hashcrypt_sha_process_message_data()
[all …]