Home
last modified time | relevance | path

Searched refs:total (Results 1 – 12 of 12) sorted by relevance

/crypto/
A Dscatterwalk.c112 walk.total = nbytes; in memcpy_sglist()
222 n = walk->total; in skcipher_walk_next()
228 if (unlikely(walk->total < walk->blocksize)) in skcipher_walk_next()
314 unsigned int total = 0; /* new total remaining */ in skcipher_walk_done() local
321 total = walk->total - n; in skcipher_walk_done()
343 total = 0; in skcipher_walk_done()
355 walk->total = total; in skcipher_walk_done()
358 if (total) { in skcipher_walk_done()
A Dchacha20poly1305.c147 unsigned int total; in poly_hash() local
158 total = rctx->assoclen; in poly_hash()
159 while (total) { in poly_hash()
160 unsigned int n = scatterwalk_next(&walk, total); in poly_hash()
164 total -= n; in poly_hash()
172 total = rctx->cryptlen; in poly_hash()
173 while (total) { in poly_hash()
174 unsigned int n = scatterwalk_next(&walk, total); in poly_hash()
178 total -= n; in poly_hash()
A Dskcipher.c48 walk->total = req->cryptlen; in skcipher_walk_virt()
55 if (unlikely(!walk->total)) in skcipher_walk_virt()
86 if (unlikely(!walk->total)) in skcipher_walk_aead_common()
104 walk->total = req->cryptlen; in skcipher_walk_aead_encrypt()
116 walk->total = req->cryptlen - crypto_aead_authsize(tfm); in skcipher_walk_aead_decrypt()
A Dapi.c508 unsigned int total; in crypto_alloc_tfmmem() local
512 total = tfmsize + sizeof(*tfm) + frontend->extsize(alg); in crypto_alloc_tfmmem()
514 mem = kzalloc_node(total, gfp, node); in crypto_alloc_tfmmem()
725 struct crypto_async_request *req, size_t total, gfp_t gfp) in crypto_request_clone() argument
730 nreq = kmemdup(req, total, gfp); in crypto_request_clone()
A Dahash.c95 if (walk->entrylen > walk->total) in hash_walk_new_entry()
96 walk->entrylen = walk->total; in hash_walk_new_entry()
97 walk->total -= walk->entrylen; in hash_walk_new_entry()
105 walk->total = req->nbytes; in crypto_hash_walk_first()
108 if (!walk->total) in crypto_hash_walk_first()
115 walk->total = 0; in crypto_hash_walk_first()
144 if (!walk->total) in crypto_hash_walk_done()
A Dacompress.c570 size_t total, gfp_t gfp) in acomp_request_clone() argument
574 nreq = container_of(crypto_request_clone(&req->base, total, gfp), in acomp_request_clone()
A Dchacha.c63 if (nbytes < walk.total) in chacha_stream_xor()
A Dlrw.c185 if (second_pass && w.nbytes == w.total) { in lrw_xor_tweak()
A Dxts.c110 w.total - w.nbytes + avail < 2 * XTS_BLOCK_SIZE) { in xts_xor_tweak()
A Daegis128-core.c332 if (nbytes < walk->total) in crypto_aegis128_process_crypt()
A Dlskcipher.c190 flags & ~(walk.nbytes == walk.total ? in crypto_lskcipher_crypt_sg()
A Dtestmgr.c495 unsigned int total = 0; in valid_sg_divisions() local
498 for (i = 0; i < count && total != TEST_SG_TOTAL; i++) { in valid_sg_divisions()
500 divs[i].proportion_of_total > TEST_SG_TOTAL - total) in valid_sg_divisions()
502 total += divs[i].proportion_of_total; in valid_sg_divisions()
508 return total == TEST_SG_TOTAL && in valid_sg_divisions()

Completed in 29 milliseconds