Home
last modified time | relevance | path

Searched refs:copy_size (Results 1 – 3 of 3) sorted by relevance

/optee_os/core/arch/arm/plat-synquacer/
A Drng_pta.c126 uint32_t copy_size; in pool_add_entropy() local
132 copy_size = size; in pool_add_entropy()
134 copy_size = ENTROPY_POOL_SIZE - entropy_size; in pool_add_entropy()
136 memcpy((entropy_pool + entropy_size), entropy, copy_size); in pool_add_entropy()
138 entropy_size += copy_size; in pool_add_entropy()
/optee_os/core/drivers/crypto/caam/utils/
A Dutils_dmaobj.c852 size_t copy_size = 0; in caam_dmaobj_copy_to_orig() local
876 copy_size = MIN(dst_rlen, sgtdata->length); in caam_dmaobj_copy_to_orig()
878 copy_size = MIN(dst_rlen, sgtdata->length); in caam_dmaobj_copy_to_orig()
882 length += copy_size; in caam_dmaobj_copy_to_orig()
883 dst_rlen -= copy_size; in caam_dmaobj_copy_to_orig()
896 size_t copy_size = 0; in caam_dmaobj_copy_ltrim_to_orig() local
956 copy_size = MIN(dst_rlen, sgtdata->length); in caam_dmaobj_copy_ltrim_to_orig()
958 memmove(dst, sgtdata->dma, copy_size); in caam_dmaobj_copy_ltrim_to_orig()
961 dst += copy_size; in caam_dmaobj_copy_ltrim_to_orig()
962 dst_rlen -= copy_size; in caam_dmaobj_copy_ltrim_to_orig()
[all …]
/optee_os/core/tee/
A Dtee_rpmb_fs.c2442 size_t copy_size = 0; in update_write_helper() local
2466 copy_size = TMP_BLOCK_SIZE; in update_write_helper()
2472 copy_size -= offset; in update_write_helper()
2474 copy_size = MIN(copy_size, rem_size); in update_write_helper()
2476 memcpy(copy_dst, rem_buf, copy_size); in update_write_helper()
2477 rem_buf += copy_size; in update_write_helper()
2478 rem_size -= copy_size; in update_write_helper()

Completed in 11 milliseconds