Searched refs:total (Results 1 – 11 of 11) sorted by relevance
74 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()
106 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()
114 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 …]
105 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()
453 unsigned int total; in crypto_create_tfm() local457 total = tfmsize + sizeof(*tfm) + frontend->extsize(alg); in crypto_create_tfm()459 mem = kzalloc(total, GFP_KERNEL); in crypto_create_tfm()
48 if (nbytes < walk.total) in chacha_stream_xor()
168 if (nbytes < walk.total) in salsa20_crypt()
186 if (second_pass && w.nbytes == w.total) { in xor_tweak()
337 if (nbytes < walk.total) in crypto_aegis128_process_crypt()
114 w.total - w.nbytes + avail < 2 * XTS_BLOCK_SIZE) { in xor_tweak()
432 unsigned int total = 0; in valid_sg_divisions() local435 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()