Home
last modified time | relevance | path

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

/hal_nxp-3.5.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.5.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 */
660 uint32_t temp[SHA_BLOCK_SIZE / sizeof(uint32_t)]; in hashcrypt_sha_one_block()
666 (void)hashcrypt_memcpy(temp, (const uint32_t *)(uintptr_t)blk, SHA_BLOCK_SIZE); in hashcrypt_sha_one_block()
705 size_t toCopy = SHA_BLOCK_SIZE - ctxInternal->blksz; in hashcrypt_sha_process_message_data()
715 if (messageSize >= SHA_BLOCK_SIZE) in hashcrypt_sha_process_message_data()
719 while (messageSize >= SHA_BLOCK_SIZE) in hashcrypt_sha_process_message_data()
722 message += SHA_BLOCK_SIZE; in hashcrypt_sha_process_message_data()
723 messageSize -= SHA_BLOCK_SIZE; in hashcrypt_sha_process_message_data()
[all …]