Lines Matching refs:cryptlen
41 __le64 cryptlen; member
61 unsigned int cryptlen; member
103 req->assoclen + rctx->cryptlen, in poly_verify_tag()
115 req->assoclen + rctx->cryptlen, in poly_copy_tag()
133 if (rctx->cryptlen == 0) in chacha_decrypt()
147 rctx->cryptlen, creq->iv); in chacha_decrypt()
160 if (rctx->cryptlen == req->cryptlen) /* encrypting */ in poly_tail_continue()
180 preq->tail.cryptlen = cpu_to_le64(rctx->cryptlen); in poly_tail()
209 padlen = -rctx->cryptlen % POLY1305_BLOCK_SIZE; in poly_cipherpad()
238 if (rctx->cryptlen == req->cryptlen) /* encrypting */ in poly_cipher()
246 ahash_request_set_crypt(&preq->req, crypt, NULL, rctx->cryptlen); in poly_cipher()
409 if (req->cryptlen == 0) in chacha_encrypt()
423 req->cryptlen, creq->iv); in chacha_encrypt()
436 rctx->cryptlen = req->cryptlen; in chachapoly_encrypt()
458 rctx->cryptlen = req->cryptlen - POLY1305_DIGEST_SIZE; in chachapoly_decrypt()