Lines Matching refs:bulk_len
224 const unsigned int bulk_len = req->cryptlen - BLOCKCIPHER_BLOCK_SIZE; in adiantum_hash_header() local
229 .message_bits = cpu_to_le64((u64)bulk_len * 8) in adiantum_hash_header()
252 const unsigned int bulk_len = req->cryptlen - BLOCKCIPHER_BLOCK_SIZE; in adiantum_hash_message() local
263 for (i = 0; i < bulk_len; i += n) { in adiantum_hash_message()
265 n = min_t(unsigned int, miter.length, bulk_len - i); in adiantum_hash_message()
283 const unsigned int bulk_len = req->cryptlen - BLOCKCIPHER_BLOCK_SIZE; in adiantum_finish() local
306 err = crypto_shash_digest(&rctx->u.hash_desc, virt, bulk_len, in adiantum_finish()
313 memcpy(virt + bulk_len, &rctx->rbuf.bignum, sizeof(le128)); in adiantum_finish()
323 bulk_len, sizeof(le128), 1); in adiantum_finish()
343 const unsigned int bulk_len = req->cryptlen - BLOCKCIPHER_BLOCK_SIZE; in adiantum_crypt() local
366 err = crypto_shash_digest(&rctx->u.hash_desc, virt, bulk_len, in adiantum_crypt()
368 memcpy(&rctx->rbuf.bignum, virt + bulk_len, sizeof(le128)); in adiantum_crypt()
374 bulk_len, sizeof(le128), 0); in adiantum_crypt()
403 stream_len = bulk_len; in adiantum_crypt()