Lines Matching refs:cryptlen
39 __le64 cryptlen; member
59 unsigned int cryptlen; member
101 req->assoclen + rctx->cryptlen, in poly_verify_tag()
113 req->assoclen + rctx->cryptlen, in poly_copy_tag()
131 if (rctx->cryptlen == 0) in chacha_decrypt()
145 rctx->cryptlen, creq->iv); in chacha_decrypt()
158 if (rctx->cryptlen == req->cryptlen) /* encrypting */ in poly_tail_continue()
178 preq->tail.cryptlen = cpu_to_le64(rctx->cryptlen); in poly_tail()
207 padlen = -rctx->cryptlen % POLY1305_BLOCK_SIZE; in poly_cipherpad()
236 if (rctx->cryptlen == req->cryptlen) /* encrypting */ in poly_cipher()
244 ahash_request_set_crypt(&preq->req, crypt, NULL, rctx->cryptlen); in poly_cipher()
407 if (req->cryptlen == 0) in chacha_encrypt()
421 req->cryptlen, creq->iv); in chacha_encrypt()
434 rctx->cryptlen = req->cryptlen; in chachapoly_encrypt()
456 rctx->cryptlen = req->cryptlen - POLY1305_DIGEST_SIZE; in chachapoly_decrypt()