Searched refs:size_done (Results 1 – 4 of 4) sorted by relevance
/optee_os/core/drivers/crypto/caam/cipher/ |
A D | caam_cipher_mac.c | 151 size_t size_done = 0; in do_update_mac() local 219 size_done = ctx->alg->size_block; in do_update_mac() 221 offset += size_done, size_todo -= size_done) { in do_update_mac() 230 if (size_done != ctx->alg->size_block) { in do_update_mac() 253 if (size_done != ctx->alg->size_block) { in do_update_mac() 427 size_t size_done = 0; in do_update_cmac() local 487 offset += size_done, size_todo -= size_done) { in do_update_cmac() 498 size_done = size_todo; in do_update_cmac() 507 size_done, offset); in do_update_cmac() 512 ctx->blockbuf.filled, size_done); in do_update_cmac() [all …]
|
A D | caam_cipher.c | 578 size_t size_done = 0; in do_update_streaming() local 633 size_done = size_todo; in do_update_streaming() 636 offset += size_done, size_todo -= size_done) { in do_update_streaming() 640 size_done = size_todo; in do_update_streaming() 735 size_done = size_todo; in do_update_streaming() 741 if (size_todo != size_done) { in do_update_streaming() 743 size_done, size_todo); in do_update_streaming() 791 size_t size_done = 0; in do_update_cipher() local 824 offset += size_done, size_todo -= size_done) { in do_update_cipher() 825 size_done = size_todo; in do_update_cipher() [all …]
|
/optee_os/core/drivers/crypto/caam/hash/ |
A D | caam_hash.c | 476 size_t size_done = 0; in caam_hash_hmac_update() local 523 offset += size_done, size_todo -= size_done) { in caam_hash_hmac_update() 524 size_done = size_todo; in caam_hash_hmac_update() 525 HASH_TRACE("Do input %zu bytes, offset %zu", size_done, offset); in caam_hash_hmac_update() 527 ret = caam_dmaobj_sgtbuf_build(&src, &size_done, offset, 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() 539 src.sgtbuf.length = size_done; in caam_hash_hmac_update()
|
/optee_os/core/drivers/crypto/caam/utils/ |
A D | utils_dmaobj.c | 689 size_t size_done = length; in caam_dmaobj_input_sgtbuf() local 699 ret = caam_dmaobj_sgtbuf_build(obj, &size_done, 0, length); in caam_dmaobj_input_sgtbuf() 703 if (size_done != length) in caam_dmaobj_input_sgtbuf()
|
Completed in 11 milliseconds