Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/drivers/crypto/caam/cipher/
A Dcaam_cipher.c576 size_t size_todo = 0; in do_update_streaming() local
600 if (size_todo) { in do_update_streaming()
633 size_done = size_todo; in do_update_streaming()
635 for (offset = 0; size_todo; in do_update_streaming()
638 size_todo, offset); in do_update_streaming()
640 size_done = size_todo; in do_update_streaming()
735 size_done = size_todo; in do_update_streaming()
737 size_todo); in do_update_streaming()
790 size_t size_todo = 0; in do_update_cipher() local
823 for (offset = 0; size_todo; in do_update_cipher()
[all …]
A Dcaam_cipher_mac.c150 size_t size_todo = 0; in do_update_mac() local
166 size_todo = full_size - size_topost; in do_update_mac()
170 size_topost, size_todo); in do_update_mac()
172 if (!size_todo) { in do_update_mac()
206 size_todo -= ctx->alg->size_block; in do_update_mac()
208 size_todo = 0; in do_update_mac()
220 for (offset = 0; size_todo; in do_update_mac()
425 size_t size_todo = 0; in do_update_cmac() local
484 size_topost, size_todo); in do_update_cmac()
486 for (offset = 0; size_todo; in do_update_cmac()
[all …]
/optee_os-3.20.0/core/drivers/crypto/caam/hash/
A Dcaam_hash.c475 size_t size_todo = 0; in caam_hash_hmac_update() local
497 size_todo = fullsize - size_topost; in caam_hash_hmac_update()
500 size_topost, size_todo); in caam_hash_hmac_update()
502 if (!size_todo) { in caam_hash_hmac_update()
520 size_todo = size_inmade; in caam_hash_hmac_update()
523 offset += size_done, size_todo -= size_done) { in caam_hash_hmac_update()
524 size_done = size_todo; in caam_hash_hmac_update()
537 if (ctx->blockbuf.filled && size_done < size_todo) { in caam_hash_hmac_update()
/optee_os-3.20.0/core/drivers/imx/dcp/
A Ddcp.c528 size_t size_todo = 0; in dcp_sha_do_update() local
545 size_todo = nb_blocks * DCP_SHA_BLOCK_SIZE; in dcp_sha_do_update()
546 size_left = len - size_todo + hashdata->ctx_size; in dcp_sha_do_update()
549 if (size_todo) { in dcp_sha_do_update()
551 ret = dcp_calloc_align_buf(&input, size_todo); in dcp_sha_do_update()
556 offset = size_todo - hashdata->ctx_size; in dcp_sha_do_update()
562 desc->buff_size = size_todo; in dcp_sha_do_update()
564 cache_operation(TEE_CACHECLEAN, input.data, size_todo); in dcp_sha_do_update()

Completed in 7 milliseconds