Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/drivers/crypto/caam/utils/
A Dutils_mem.c202 size_t cpy_size = 0; in caam_cpy_block_src() local
220 cpy_size = block->max - block->filled; in caam_cpy_block_src()
221 cpy_size = MIN(cpy_size, src->length - offset); in caam_cpy_block_src()
223 memcpy(&block->buf.data[block->filled], &src->data[offset], cpy_size); in caam_cpy_block_src()
225 block->filled += cpy_size; in caam_cpy_block_src()
336 size_t cpy_size = 0; in caam_mem_cpy_ltrim_buf() local
345 cpy_size = MIN(dst->length, (src->length - offset)); in caam_mem_cpy_ltrim_buf()
346 MEM_TRACE("Copy %zu of src %zu bytes (offset = %zu)", cpy_size, in caam_mem_cpy_ltrim_buf()
348 memcpy(dst->data, &src->data[offset], cpy_size); in caam_mem_cpy_ltrim_buf()
350 dst->length = cpy_size; in caam_mem_cpy_ltrim_buf()

Completed in 2 milliseconds