Searched refs:size_topost (Results 1 – 4 of 4) sorted by relevance
| /optee_os/core/drivers/crypto/caam/cipher/ |
| H A D | caam_cipher_mac.c | 149 size_t size_topost = 0; in do_update_mac() local 161 size_topost = dupdate->src.length; in do_update_mac() 163 size_topost = full_size % ctx->alg->size_block; in do_update_mac() 164 size_inmade = dupdate->src.length - size_topost; in do_update_mac() 166 size_todo = full_size - size_topost; in do_update_mac() 170 size_topost, size_todo); in do_update_mac() 268 if (size_topost) { in do_update_mac() 275 size_topost, dupdate->src.length, size_inmade); in do_update_mac() 424 size_t size_topost = 0; in do_update_cmac() local 444 size_topost = dupdate->src.length; in do_update_cmac() [all …]
|
| H A D | caam_cipher.c | 534 size_t size_topost = 0; in do_update_streaming() local 547 size_topost = dupdate->src.length; in do_update_streaming() 550 size_topost = fullsize % ctx->alg->size_block; in do_update_streaming() 552 size_todo = fullsize - size_topost; in do_update_streaming() 557 size_topost, size_todo); in do_update_streaming() 621 if (size_topost) { in do_update_streaming() 635 size_topost, size_inmade, offset); in do_update_streaming() 637 size_todo = size_topost + ctx->blockbuf.filled; in do_update_streaming() 647 size_topost, size_topost); in do_update_streaming() 720 size_topost); in do_update_streaming()
|
| /optee_os/core/drivers/crypto/caam/ae/ |
| H A D | caam_ae.c | 736 size_t size_topost = 0; in caam_ae_do_update() local 790 size_topost = src->length; in caam_ae_do_update() 794 size_topost = full_size % caam_ctx->alg->size_block; in caam_ae_do_update() 795 size_inmade = src->length - size_topost; in caam_ae_do_update() 797 size_todo = full_size - size_topost; in caam_ae_do_update() 805 size_topost, size_todo); in caam_ae_do_update() 915 if (size_topost) { in caam_ae_do_update() 927 size_topost, size_inmade, offset); in caam_ae_do_update() 929 size_todo = size_topost + caam_ctx->blockbuf.filled; in caam_ae_do_update() 939 size_topost, size_topos in caam_ae_do_update() [all...] |
| /optee_os/core/drivers/crypto/caam/hash/ |
| H A D | caam_hash.c | 474 size_t size_topost = 0; in caam_hash_hmac_update() local 496 size_topost = fullsize % alg->size_block; in caam_hash_hmac_update() 497 size_todo = fullsize - size_topost; in caam_hash_hmac_update() 498 size_inmade = len - size_topost; in caam_hash_hmac_update() 500 size_topost, size_todo); in caam_hash_hmac_update() 506 if (size_topost) in caam_hash_hmac_update() 548 if (size_topost && data) { in caam_hash_hmac_update() 554 HASH_TRACE("Posted %zu of input len %zu made %zu", size_topost, in caam_hash_hmac_update()
|