Lines Matching refs:cryptlen
40 unsigned int cryptlen; member
123 areq_ctx->cryptlen); in authenc_geniv_ahash_update_done()
133 areq_ctx->cryptlen, in authenc_geniv_ahash_update_done()
152 areq_ctx->cryptlen, in authenc_geniv_ahash_done()
170 unsigned int cryptlen = req->cryptlen; in authenc_verify_ahash_update_done() local
176 areq_ctx->cryptlen); in authenc_verify_ahash_update_done()
186 cryptlen -= authsize; in authenc_verify_ahash_update_done()
188 scatterwalk_map_and_copy(ihash, areq_ctx->sg, areq_ctx->cryptlen, in authenc_verify_ahash_update_done()
200 cryptlen, req->iv); in authenc_verify_ahash_update_done()
219 unsigned int cryptlen = req->cryptlen; in authenc_verify_ahash_done() local
225 cryptlen -= authsize; in authenc_verify_ahash_done()
227 scatterwalk_map_and_copy(ihash, areq_ctx->sg, areq_ctx->cryptlen, in authenc_verify_ahash_done()
239 cryptlen, req->iv); in authenc_verify_ahash_done()
275 areq_ctx->cryptlen); in crypto_authenc_ahash_fb()
301 areq_ctx->cryptlen); in crypto_authenc_ahash()
322 unsigned int cryptlen = req->cryptlen; in crypto_authenc_genicv() local
336 cryptlen += ivsize; in crypto_authenc_genicv()
345 cryptlen += req->assoclen; in crypto_authenc_genicv()
348 areq_ctx->cryptlen = cryptlen; in crypto_authenc_genicv()
358 scatterwalk_map_and_copy(hash, dst, cryptlen, in crypto_authenc_genicv()
388 unsigned int cryptlen = req->cryptlen; in crypto_authenc_encrypt() local
397 ablkcipher_request_set_crypt(abreq, req->src, dst, cryptlen, req->iv); in crypto_authenc_encrypt()
434 skcipher_givcrypt_set_crypt(greq, areq->src, areq->dst, areq->cryptlen, in crypto_authenc_givencrypt()
463 scatterwalk_map_and_copy(ihash, areq_ctx->sg, areq_ctx->cryptlen, in crypto_authenc_verify()
469 unsigned int cryptlen) in crypto_authenc_iverify() argument
490 cryptlen += ivsize; in crypto_authenc_iverify()
499 cryptlen += req->assoclen; in crypto_authenc_iverify()
502 areq_ctx->cryptlen = cryptlen; in crypto_authenc_iverify()
513 unsigned int cryptlen = req->cryptlen; in crypto_authenc_decrypt() local
518 if (cryptlen < authsize) in crypto_authenc_decrypt()
520 cryptlen -= authsize; in crypto_authenc_decrypt()
522 err = crypto_authenc_iverify(req, iv, cryptlen); in crypto_authenc_decrypt()
529 ablkcipher_request_set_crypt(abreq, req->src, req->dst, cryptlen, iv); in crypto_authenc_decrypt()