Lines Matching refs:cryptlen
46 unsigned int cryptlen; member
87 req->assoclen + rctx->cryptlen, in poly_verify_tag()
107 if (rctx->cryptlen == 0) in chacha_decrypt()
121 rctx->cryptlen, creq->iv); in chacha_decrypt()
141 __le64 cryptlen; in poly_hash() member
152 if (rctx->cryptlen == req->cryptlen) /* encrypting */ in poly_hash()
172 total = rctx->cryptlen; in poly_hash()
181 padlen = -rctx->cryptlen % POLY1305_BLOCK_SIZE; in poly_hash()
185 tail.cryptlen = cpu_to_le64(rctx->cryptlen); in poly_hash()
190 if (rctx->cryptlen != req->cryptlen) in poly_hash()
249 if (req->cryptlen == 0) in chacha_encrypt()
263 req->cryptlen, creq->iv); in chacha_encrypt()
276 rctx->cryptlen = req->cryptlen; in chachapoly_encrypt()
291 rctx->cryptlen = req->cryptlen - POLY1305_DIGEST_SIZE; in chachapoly_decrypt()