Home
last modified time | relevance | path

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

/optee_os/core/drivers/crypto/caam/ae/
H A Dcaam_ae.c182 caam_ctx->blockbuf.filled = 0; in caam_ae_initialize()
183 caam_ctx->buf_aad.filled = 0; in caam_ae_initialize()
327 dst->buf_aad.filled = 0; in caam_ae_copy_state()
328 dst->blockbuf.filled = 0; in caam_ae_copy_state()
330 if (src->blockbuf.filled) { in caam_ae_copy_state()
333 .length = src->blockbuf.filled in caam_ae_copy_state()
339 if (src->buf_aad.filled) { in caam_ae_copy_state()
342 .length = src->buf_aad.filled in caam_ae_copy_state()
756 if (do_init && caam_ctx->buf_aad.filled) { in caam_ae_do_update()
757 size_t aad_length = caam_ctx->buf_aad.filled; in caam_ae_do_update()
[all …]
/optee_os/core/drivers/crypto/caam/hash/
H A Dcaam_hash.c307 ctx->blockbuf.filled = 0; in caam_hash_hmac_allocate()
372 ctx->blockbuf.filled = 0; in caam_hash_hmac_init()
428 if (ctx->blockbuf.filled) { in do_update_hash()
430 ctx->blockbuf.filled)); in do_update_hash()
433 ctx->blockbuf.filled); in do_update_hash()
439 ctx->blockbuf.filled = 0; in do_update_hash()
495 fullsize = ctx->blockbuf.filled + len; in caam_hash_hmac_update()
537 if (ctx->blockbuf.filled && size_done < size_todo) { in caam_hash_hmac_update()
538 size_done -= ctx->blockbuf.filled; in caam_hash_hmac_update()
634 ctx->blockbuf.filled); in caam_hash_hmac_final()
[all …]
/optee_os/core/drivers/crypto/caam/cipher/
H A Dcaam_cipher_mac.c159 full_size = ctx->blockbuf.filled + dupdate->src.length; in do_update_mac()
212 if (ctx->blockbuf.filled) { in do_update_mac()
216 ctx->blockbuf.filled = 0; in do_update_mac()
347 if (ctx->blockbuf.filled) { in run_cmac_desc()
357 caam_desc_add_word(desc, ctx->blockbuf.filled); in run_cmac_desc()
361 ctx->blockbuf.filled); in run_cmac_desc()
368 if (last && !ctx->blockbuf.filled) { in run_cmac_desc()
379 ctx->blockbuf.filled = 0; in run_cmac_desc()
436 full_size = ctx->blockbuf.filled + dupdate->src.length; in do_update_cmac()
468 size_inmade = size_todo - ctx->blockbuf.filled; in do_update_cmac()
[all …]
H A Dcaam_cipher.c352 if (src->blockbuf.filled) { in caam_cipher_copy_state()
355 .length = src->blockbuf.filled in caam_cipher_copy_state()
502 cipherdata->blockbuf.filled = 0; in caam_cipher_initialize()
544 fullsize = ctx->blockbuf.filled + dupdate->src.length; in do_update_streaming()
553 size_inmade = size_todo - ctx->blockbuf.filled; in do_update_streaming()
580 if (ctx->blockbuf.filled) { in do_update_streaming()
589 ctx->blockbuf.filled = 0; in do_update_streaming()
637 size_todo = size_topost + ctx->blockbuf.filled; in do_update_streaming()
655 if (ctx->blockbuf.filled) { in do_update_streaming()
663 ctx->blockbuf.filled); in do_update_streaming()
[all …]
/optee_os/core/drivers/crypto/caam/include/
H A Dcaam_types.h29 size_t filled; /* Current length filled in the buffer */ member
/optee_os/core/drivers/crypto/caam/utils/
H A Dutils_mem.c218 MEM_TRACE("Current buffer is %zu (%zu) bytes", block->filled, in caam_cpy_block_src()
221 cpy_size = block->max - block->filled; in caam_cpy_block_src()
224 memcpy(&block->buf.data[block->filled], &src->data[offset], cpy_size); in caam_cpy_block_src()
226 block->filled += cpy_size; in caam_cpy_block_src()
H A Dutils_dmaobj.c1048 newbuf.length = block->filled; in caam_dmaobj_add_first_block()
/optee_os/lib/libutils/isoc/
H A Dbget.doc255 <nget> and <nrel> are filled, respectively, with the number of
267 variables pointed to by <npget> and <nprel> will be filled with,
270 will be filled with the number of bget() and brel() calls, respectively,
/optee_os/lib/libmbedtls/mbedtls/
H A DChangeLog5225 checked and filled in the relevant module headers