Lines Matching refs:cryptlen
47 __le64 cryptlen; member
67 unsigned int cryptlen; member
103 req->assoclen + rctx->cryptlen, in poly_verify_tag()
115 req->assoclen + rctx->cryptlen, in poly_copy_tag()
148 rctx->cryptlen, creq->iv); in chacha_decrypt()
160 if (rctx->cryptlen == req->cryptlen) /* encrypting */ in poly_tail_continue()
183 len = cpu_to_le64(rctx->cryptlen); in poly_tail()
184 memcpy(&preq->tail.cryptlen, &len, sizeof(len)); in poly_tail()
213 padlen = (bs - (rctx->cryptlen % bs)) % bs; in poly_cipherpad()
243 if (rctx->cryptlen == req->cryptlen) /* encrypting */ in poly_cipher()
252 ahash_request_set_crypt(&preq->req, crypt, NULL, rctx->cryptlen); in poly_cipher()
433 req->cryptlen, creq->iv); in chacha_encrypt()
445 rctx->cryptlen = req->cryptlen; in chachapoly_encrypt()
466 rctx->cryptlen = req->cryptlen - POLY1305_DIGEST_SIZE; in chachapoly_decrypt()