Home
last modified time | relevance | path

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

/crypto/
Dskcipher.c115 nbytes = walk->total - n; in skcipher_walk_done()
148 walk->total = nbytes; in skcipher_walk_done()
353 n = walk->total; in skcipher_walk_next()
359 if (unlikely(walk->total < walk->blocksize)) in skcipher_walk_next()
454 walk->total = req->cryptlen; in skcipher_walk_skcipher()
459 if (unlikely(!walk->total)) in skcipher_walk_skcipher()
521 if (unlikely(!walk->total)) in skcipher_walk_aead_common()
532 scatterwalk_done(&walk->in, 0, walk->total); in skcipher_walk_aead_common()
533 scatterwalk_done(&walk->out, 0, walk->total); in skcipher_walk_aead_common()
556 walk->total = req->cryptlen; in skcipher_walk_aead_encrypt()
[all …]
Dahash.c72 if (walk->entrylen > walk->total) in hash_walk_new_entry()
73 walk->entrylen = walk->total; in hash_walk_new_entry()
74 walk->total -= walk->entrylen; in hash_walk_new_entry()
110 if (!walk->total) in crypto_hash_walk_done()
122 walk->total = req->nbytes; in crypto_hash_walk_first()
124 if (!walk->total) { in crypto_hash_walk_first()
Dapi.c443 unsigned int total; in crypto_create_tfm_node() local
447 total = tfmsize + sizeof(*tfm) + frontend->extsize(alg); in crypto_create_tfm_node()
449 mem = kzalloc_node(total, GFP_KERNEL, node); in crypto_create_tfm_node()
Dchacha_generic.c29 if (nbytes < walk.total) in chacha_stream_xor()
Dsalsa20_generic.c168 if (nbytes < walk.total) in salsa20_crypt()
Dlrw.c185 if (second_pass && w.nbytes == w.total) { in lrw_xor_tweak()
Dxts.c110 w.total - w.nbytes + avail < 2 * XTS_BLOCK_SIZE) { in xts_xor_tweak()
Daegis128-core.c338 if (nbytes < walk->total) in crypto_aegis128_process_crypt()
Dtestmgr.c462 unsigned int total = 0; in valid_sg_divisions() local
465 for (i = 0; i < count && total != TEST_SG_TOTAL; i++) { in valid_sg_divisions()
467 divs[i].proportion_of_total > TEST_SG_TOTAL - total) in valid_sg_divisions()
469 total += divs[i].proportion_of_total; in valid_sg_divisions()
475 return total == TEST_SG_TOTAL && in valid_sg_divisions()