Home
last modified time | relevance | path

Searched refs:messageSize (Results 1 – 5 of 5) sorted by relevance

/hal_nxp-latest/mcux/mcux-sdk/drivers/sha/
Dfsl_sha.c157 static status_t sha_check_memory_boundry(const uint8_t *message, size_t messageSize) in sha_check_memory_boundry() argument
161 …if ((((uint32_t)message + messageSize) > (SRAMX_BASE + SRAMX_SIZE)) && ((uint32_t)message < SRAM0_… in sha_check_memory_boundry()
166 else if (((uint32_t)message + messageSize) > (SRAM0_BASE + SRAM0_SIZE)) in sha_check_memory_boundry()
305 size_t messageSize) in sha_process_message_data() argument
313 messageSize -= toCopy; in sha_process_message_data()
320 while (messageSize >= SHA_BLOCK_SIZE) in sha_process_message_data()
324 messageSize -= SHA_BLOCK_SIZE; in sha_process_message_data()
328 (void)sha_memcpy(&ctxInternal->blk.b[0], message, messageSize); in sha_process_message_data()
329 ctxInternal->blksz = messageSize; in sha_process_message_data()
356 size_t messageSize) in sha_process_message_data_master() argument
[all …]
Dfsl_sha.h119 status_t SHA_Update(SHA_Type *base, sha_ctx_t *ctx, const uint8_t *message, size_t messageSize);
/hal_nxp-latest/mcux/mcux-sdk/drivers/hashcrypt/
Dfsl_hashcrypt.c698 size_t messageSize) in hashcrypt_sha_process_message_data() argument
708 messageSize -= toCopy; 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()
723 messageSize -= SHA_BLOCK_SIZE; in hashcrypt_sha_process_message_data()
729 uint32_t blkNum = (messageSize >> 6); /* div by 64 bytes */ in hashcrypt_sha_process_message_data()
751 messageSize -= blkBytes; in hashcrypt_sha_process_message_data()
774 messageSize -= blkBytes; in hashcrypt_sha_process_message_data()
785 (void)hashcrypt_memcpy(&ctxInternal->blk.b[0], message, messageSize); in hashcrypt_sha_process_message_data()
786 ctxInternal->blksz = messageSize; in hashcrypt_sha_process_message_data()
/hal_nxp-latest/mcux/mcux-sdk/drivers/dcp/
Dfsl_dcp.c1066 size_t messageSize) in dcp_hash_process_message_data() argument
1076 messageSize -= toCopy; in dcp_hash_process_message_data()
1087 uint32_t fullBlocksSize = ((messageSize >> 6) << 6); /* (X / 64) * 64 */ in dcp_hash_process_message_data()
1096 messageSize -= fullBlocksSize; in dcp_hash_process_message_data()
1100 (void)dcp_memcpy(&ctxInternal->blk.b[0], message, messageSize); in dcp_hash_process_message_data()
1101 ctxInternal->blksz = messageSize; in dcp_hash_process_message_data()
/hal_nxp-latest/mcux/mcux-sdk/drivers/cau3/
Dfsl_cau3.c1893 size_t messageSize) in cau3_hash_process_message_data() argument
1903 messageSize -= toCopy; in cau3_hash_process_message_data()
1934 while (messageSize >= CAU3_HASH_BLOCK_SIZE) in cau3_hash_process_message_data()
1943 messageSize -= CAU3_HASH_BLOCK_SIZE; in cau3_hash_process_message_data()
1947 (void)cau3_memcpy(&ctxInternal->blk.b[0], message, messageSize); in cau3_hash_process_message_data()
1948 ctxInternal->blksz = messageSize; in cau3_hash_process_message_data()