Home
last modified time | relevance | path

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

/optee_os/core/drivers/crypto/caam/cipher/
H A Dcaam_cipher_xts.c89 size_t fullsize = 0; in caam_cipher_update_xts() local
144 fullsize = dupdate->src.length; in caam_cipher_update_xts()
145 lastblk = fullsize % ctx->alg->size_block; in caam_cipher_update_xts()
146 fullsize -= lastblk; in caam_cipher_update_xts()
149 if (!fullsize) { in caam_cipher_update_xts()
155 fullsize -= ctx->alg->size_block; in caam_cipher_update_xts()
165 for (; fullsize > 0; fullsize -= ctx->alg->size_block) { in caam_cipher_update_xts()
166 CIPHER_TRACE("Tweak block fullsize %zu", fullsize); in caam_cipher_update_xts()
H A Dcaam_cipher.c533 size_t fullsize = 0; in do_update_streaming() local
544 fullsize = ctx->blockbuf.filled + dupdate->src.length; in do_update_streaming()
545 CIPHER_TRACE("Fullsize %zu", fullsize); in do_update_streaming()
546 if (fullsize < ctx->alg->size_block) { 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()
556 CIPHER_TRACE("FullSize %zu - posted %zu - todo %zu", fullsize, in do_update_streaming()
/optee_os/core/drivers/crypto/caam/hash/
H A Dcaam_hash.c473 size_t fullsize = 0; in caam_hash_hmac_update() local
495 fullsize = ctx->blockbuf.filled + len; in caam_hash_hmac_update()
496 size_topost = fullsize % alg->size_block; in caam_hash_hmac_update()
497 size_todo = fullsize - size_topost; in caam_hash_hmac_update()
499 HASH_TRACE("FullSize %zu - posted %zu - todo %zu", fullsize, in caam_hash_hmac_update()