Lines Matching refs:cryptlen

40 	unsigned int cryptlen;  member
109 areq_ctx->cryptlen); in authenc_esn_geniv_ahash_update_done()
129 areq_ctx->cryptlen, in authenc_esn_geniv_ahash_update_done()
159 areq_ctx->cryptlen, in authenc_esn_geniv_ahash_update_done2()
180 areq_ctx->cryptlen, in authenc_esn_geniv_ahash_done()
199 unsigned int cryptlen = req->cryptlen; in authenc_esn_verify_ahash_update_done() local
205 areq_ctx->cryptlen); in authenc_esn_verify_ahash_update_done()
227 cryptlen -= authsize; in authenc_esn_verify_ahash_update_done()
229 scatterwalk_map_and_copy(ihash, areq_ctx->sg, areq_ctx->cryptlen, in authenc_esn_verify_ahash_update_done()
241 cryptlen, req->iv); in authenc_esn_verify_ahash_update_done()
260 unsigned int cryptlen = req->cryptlen; in authenc_esn_verify_ahash_update_done2() local
276 cryptlen -= authsize; in authenc_esn_verify_ahash_update_done2()
278 scatterwalk_map_and_copy(ihash, areq_ctx->sg, areq_ctx->cryptlen, in authenc_esn_verify_ahash_update_done2()
290 cryptlen, req->iv); in authenc_esn_verify_ahash_update_done2()
310 unsigned int cryptlen = req->cryptlen; in authenc_esn_verify_ahash_done() local
316 cryptlen -= authsize; in authenc_esn_verify_ahash_done()
318 scatterwalk_map_and_copy(ihash, areq_ctx->sg, areq_ctx->cryptlen, in authenc_esn_verify_ahash_done()
330 cryptlen, req->iv); in authenc_esn_verify_ahash_done()
366 ahash_request_set_crypt(ahreq, areq_ctx->sg, hash, areq_ctx->cryptlen); in crypto_authenc_esn_ahash()
399 unsigned int cryptlen = req->cryptlen; in crypto_authenc_esn_genicv() local
412 cryptlen += ivsize; in crypto_authenc_esn_genicv()
433 areq_ctx->cryptlen = cryptlen; in crypto_authenc_esn_genicv()
446 scatterwalk_map_and_copy(hash, dst, cryptlen, in crypto_authenc_esn_genicv()
477 unsigned int cryptlen = req->cryptlen; in crypto_authenc_esn_encrypt() local
486 ablkcipher_request_set_crypt(abreq, req->src, dst, cryptlen, req->iv); in crypto_authenc_esn_encrypt()
523 skcipher_givcrypt_set_crypt(greq, areq->src, areq->dst, areq->cryptlen, in crypto_authenc_esn_givencrypt()
551 scatterwalk_map_and_copy(ihash, areq_ctx->sg, areq_ctx->cryptlen, in crypto_authenc_esn_verify()
557 unsigned int cryptlen) in crypto_authenc_esn_iverify() argument
580 cryptlen += ivsize; in crypto_authenc_esn_iverify()
601 areq_ctx->cryptlen = cryptlen; in crypto_authenc_esn_iverify()
618 unsigned int cryptlen = req->cryptlen; in crypto_authenc_esn_decrypt() local
623 if (cryptlen < authsize) in crypto_authenc_esn_decrypt()
625 cryptlen -= authsize; in crypto_authenc_esn_decrypt()
627 err = crypto_authenc_esn_iverify(req, iv, cryptlen); in crypto_authenc_esn_decrypt()
634 ablkcipher_request_set_crypt(abreq, req->src, req->dst, cryptlen, iv); in crypto_authenc_esn_decrypt()