Home
last modified time | relevance | path

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

/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/sha/
Dfsl_sha.c310 size_t toCopy = SHA_BLOCK_SIZE - ctxInternal->blksz; in sha_process_message_data() local
311 (void)sha_memcpy(&ctxInternal->blk.b[ctxInternal->blksz], message, toCopy); in sha_process_message_data()
312 message += toCopy; in sha_process_message_data()
313 messageSize -= toCopy; in sha_process_message_data()
361 size_t toCopy = SHA_BLOCK_SIZE - ctxInternal->blksz; in sha_process_message_data_master() local
362 (void)sha_memcpy(&ctxInternal->blk.b[ctxInternal->blksz], message, toCopy); in sha_process_message_data_master()
363 message += toCopy; in sha_process_message_data_master()
364 messageSize -= toCopy; in sha_process_message_data_master()
/hal_nxp-3.7.0/mcux/mcux-sdk/components/conn_fwloader/
Dfsl_loader_utils.c818 uint32_t toCopy = required > available ? available : required; in fsl_sbloader_pump() local
820 (context->block_buffer_position + toCopy <= context->block_buffer_size) && in fsl_sbloader_pump()
821 (readPosition + toCopy <= length)) in fsl_sbloader_pump()
823 if ((context->block_buffer_position + toCopy) >= sizeof(context->block_buffer)) in fsl_sbloader_pump()
830 … memcpy(&context->block_buffer[context->block_buffer_position], &data[readPosition], toCopy); in fsl_sbloader_pump()
831 required -= toCopy; in fsl_sbloader_pump()
832 available -= toCopy; in fsl_sbloader_pump()
833 readPosition += toCopy; in fsl_sbloader_pump()
834 context->block_buffer_position += toCopy; in fsl_sbloader_pump()
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/dcp/
Dfsl_dcp.c1073 size_t toCopy = DCP_HASH_BLOCK_SIZE - ctxInternal->blksz; in dcp_hash_process_message_data() local
1074 (void)dcp_memcpy(&ctxInternal->blk.b[ctxInternal->blksz], message, toCopy); in dcp_hash_process_message_data()
1075 message += toCopy; in dcp_hash_process_message_data()
1076 messageSize -= toCopy; in dcp_hash_process_message_data()
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/hashcrypt/
Dfsl_hashcrypt.c709 size_t toCopy = SHA_BLOCK_SIZE - ctxInternal->blksz; in hashcrypt_sha_process_message_data() local
710 (void)hashcrypt_memcpy(&ctxInternal->blk.b[ctxInternal->blksz], message, toCopy); in hashcrypt_sha_process_message_data()
711 message += toCopy; in hashcrypt_sha_process_message_data()
712 messageSize -= toCopy; in hashcrypt_sha_process_message_data()
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/cau3/
Dfsl_cau3.c1900 size_t toCopy = CAU3_HASH_BLOCK_SIZE - ctxInternal->blksz; in cau3_hash_process_message_data() local
1901 (void)cau3_memcpy(&ctxInternal->blk.b[ctxInternal->blksz], message, toCopy); in cau3_hash_process_message_data()
1902 message += toCopy; in cau3_hash_process_message_data()
1903 messageSize -= toCopy; in cau3_hash_process_message_data()