Home
last modified time | relevance | path

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

/crypto/
Dahash.c74 if (walk->entrylen > walk->total) in hash_walk_new_entry()
75 walk->entrylen = walk->total; in hash_walk_new_entry()
76 walk->total -= walk->entrylen; in hash_walk_new_entry()
120 if (!walk->total) in crypto_hash_walk_done()
132 walk->total = req->nbytes; in crypto_hash_walk_first()
134 if (!walk->total) { in crypto_hash_walk_first()
150 walk->total = req->nbytes; in crypto_ahash_walk_first()
152 if (!walk->total) { in crypto_ahash_walk_first()
Dablkcipher.c106 walk->total -= n; in ablkcipher_walk_done()
107 more = (walk->total != 0); in ablkcipher_walk_done()
222 n = walk->total; in ablkcipher_walk_next()
269 walk->nbytes = walk->total; in ablkcipher_walk_first()
270 if (unlikely(!walk->total)) in ablkcipher_walk_first()
Dskcipher.c114 nbytes = walk->total - n; in skcipher_walk_done()
147 walk->total = nbytes; in skcipher_walk_done()
352 n = walk->total; in skcipher_walk_next()
358 if (unlikely(walk->total < walk->blocksize)) in skcipher_walk_next()
453 walk->total = req->cryptlen; in skcipher_walk_skcipher()
458 if (unlikely(!walk->total)) in skcipher_walk_skcipher()
520 if (unlikely(!walk->total)) in skcipher_walk_aead_common()
531 scatterwalk_done(&walk->in, 0, walk->total); in skcipher_walk_aead_common()
532 scatterwalk_done(&walk->out, 0, walk->total); in skcipher_walk_aead_common()
555 walk->total = req->cryptlen; in skcipher_walk_aead()
[all …]
Dblkcipher.c105 walk->total -= n; in blkcipher_walk_done()
106 more = (walk->total != 0); in blkcipher_walk_done()
223 n = walk->total; in blkcipher_walk_next()
323 walk->nbytes = walk->total; in blkcipher_walk_first()
324 if (unlikely(!walk->total)) in blkcipher_walk_first()
Dapi.c453 unsigned int total; in crypto_create_tfm() local
457 total = tfmsize + sizeof(*tfm) + frontend->extsize(alg); in crypto_create_tfm()
459 mem = kzalloc(total, GFP_KERNEL); in crypto_create_tfm()
Dchacha_generic.c48 if (nbytes < walk.total) in chacha_stream_xor()
Dsalsa20_generic.c168 if (nbytes < walk.total) in salsa20_crypt()
Dlrw.c186 if (second_pass && w.nbytes == w.total) { in xor_tweak()
Daegis128-core.c337 if (nbytes < walk.total) in crypto_aegis128_process_crypt()
Dxts.c114 w.total - w.nbytes + avail < 2 * XTS_BLOCK_SIZE) { in xor_tweak()
Dtestmgr.c432 unsigned int total = 0; in valid_sg_divisions() local
435 for (i = 0; i < count && total != TEST_SG_TOTAL; i++) { in valid_sg_divisions()
437 divs[i].proportion_of_total > TEST_SG_TOTAL - total) in valid_sg_divisions()
439 total += divs[i].proportion_of_total; in valid_sg_divisions()
445 return total == TEST_SG_TOTAL && in valid_sg_divisions()