Lines Matching refs:cryptlen

40 	unsigned int cryptlen;  member
135 areq_ctx->cryptlen); in authenc_geniv_ahash_update_done()
145 areq_ctx->cryptlen, in authenc_geniv_ahash_update_done()
164 areq_ctx->cryptlen, in authenc_geniv_ahash_done()
182 unsigned int cryptlen = req->cryptlen; in authenc_verify_ahash_update_done() local
188 areq_ctx->cryptlen); in authenc_verify_ahash_update_done()
198 cryptlen -= authsize; in authenc_verify_ahash_update_done()
200 scatterwalk_map_and_copy(ihash, areq_ctx->sg, areq_ctx->cryptlen, in authenc_verify_ahash_update_done()
212 cryptlen, req->iv); in authenc_verify_ahash_update_done()
231 unsigned int cryptlen = req->cryptlen; in authenc_verify_ahash_done() local
237 cryptlen -= authsize; in authenc_verify_ahash_done()
239 scatterwalk_map_and_copy(ihash, areq_ctx->sg, areq_ctx->cryptlen, in authenc_verify_ahash_done()
251 cryptlen, req->iv); in authenc_verify_ahash_done()
287 areq_ctx->cryptlen); in crypto_authenc_ahash_fb()
313 areq_ctx->cryptlen); in crypto_authenc_ahash()
334 unsigned int cryptlen = req->cryptlen; in crypto_authenc_genicv() local
348 cryptlen += ivsize; in crypto_authenc_genicv()
357 cryptlen += req->assoclen; in crypto_authenc_genicv()
360 areq_ctx->cryptlen = cryptlen; in crypto_authenc_genicv()
370 scatterwalk_map_and_copy(hash, dst, cryptlen, in crypto_authenc_genicv()
401 unsigned int cryptlen = req->cryptlen; in crypto_authenc_encrypt() local
410 ablkcipher_request_set_crypt(abreq, req->src, dst, cryptlen, req->iv); in crypto_authenc_encrypt()
447 skcipher_givcrypt_set_crypt(greq, areq->src, areq->dst, areq->cryptlen, in crypto_authenc_givencrypt()
476 scatterwalk_map_and_copy(ihash, areq_ctx->sg, areq_ctx->cryptlen, in crypto_authenc_verify()
482 unsigned int cryptlen) in crypto_authenc_iverify() argument
503 cryptlen += ivsize; in crypto_authenc_iverify()
512 cryptlen += req->assoclen; in crypto_authenc_iverify()
515 areq_ctx->cryptlen = cryptlen; in crypto_authenc_iverify()
526 unsigned int cryptlen = req->cryptlen; in crypto_authenc_decrypt() local
531 if (cryptlen < authsize) in crypto_authenc_decrypt()
533 cryptlen -= authsize; in crypto_authenc_decrypt()
535 err = crypto_authenc_iverify(req, iv, cryptlen); in crypto_authenc_decrypt()
542 ablkcipher_request_set_crypt(abreq, req->src, req->dst, cryptlen, iv); in crypto_authenc_decrypt()