• Home
  • Raw
  • Download

Lines Matching refs:cryptlen

40 	unsigned int cryptlen;  member
127 areq_ctx->cryptlen); in authenc_esn_geniv_ahash_update_done()
147 areq_ctx->cryptlen, in authenc_esn_geniv_ahash_update_done()
177 areq_ctx->cryptlen, in authenc_esn_geniv_ahash_update_done2()
198 areq_ctx->cryptlen, in authenc_esn_geniv_ahash_done()
217 unsigned int cryptlen = req->cryptlen; in authenc_esn_verify_ahash_update_done() local
223 areq_ctx->cryptlen); in authenc_esn_verify_ahash_update_done()
245 cryptlen -= authsize; in authenc_esn_verify_ahash_update_done()
247 scatterwalk_map_and_copy(ihash, areq_ctx->sg, areq_ctx->cryptlen, in authenc_esn_verify_ahash_update_done()
259 cryptlen, req->iv); in authenc_esn_verify_ahash_update_done()
278 unsigned int cryptlen = req->cryptlen; in authenc_esn_verify_ahash_update_done2() local
294 cryptlen -= authsize; in authenc_esn_verify_ahash_update_done2()
296 scatterwalk_map_and_copy(ihash, areq_ctx->sg, areq_ctx->cryptlen, in authenc_esn_verify_ahash_update_done2()
308 cryptlen, req->iv); in authenc_esn_verify_ahash_update_done2()
328 unsigned int cryptlen = req->cryptlen; in authenc_esn_verify_ahash_done() local
334 cryptlen -= authsize; in authenc_esn_verify_ahash_done()
336 scatterwalk_map_and_copy(ihash, areq_ctx->sg, areq_ctx->cryptlen, in authenc_esn_verify_ahash_done()
348 cryptlen, req->iv); in authenc_esn_verify_ahash_done()
384 ahash_request_set_crypt(ahreq, areq_ctx->sg, hash, areq_ctx->cryptlen); in crypto_authenc_esn_ahash()
417 unsigned int cryptlen = req->cryptlen; in crypto_authenc_esn_genicv() local
430 cryptlen += ivsize; in crypto_authenc_esn_genicv()
451 areq_ctx->cryptlen = cryptlen; in crypto_authenc_esn_genicv()
464 scatterwalk_map_and_copy(hash, dst, cryptlen, in crypto_authenc_esn_genicv()
495 unsigned int cryptlen = req->cryptlen; in crypto_authenc_esn_encrypt() local
504 ablkcipher_request_set_crypt(abreq, req->src, dst, cryptlen, req->iv); in crypto_authenc_esn_encrypt()
541 skcipher_givcrypt_set_crypt(greq, areq->src, areq->dst, areq->cryptlen, in crypto_authenc_esn_givencrypt()
569 scatterwalk_map_and_copy(ihash, areq_ctx->sg, areq_ctx->cryptlen, in crypto_authenc_esn_verify()
575 unsigned int cryptlen) in crypto_authenc_esn_iverify() argument
598 cryptlen += ivsize; in crypto_authenc_esn_iverify()
619 areq_ctx->cryptlen = cryptlen; in crypto_authenc_esn_iverify()
636 unsigned int cryptlen = req->cryptlen; in crypto_authenc_esn_decrypt() local
641 if (cryptlen < authsize) in crypto_authenc_esn_decrypt()
643 cryptlen -= authsize; in crypto_authenc_esn_decrypt()
645 err = crypto_authenc_esn_iverify(req, iv, cryptlen); in crypto_authenc_esn_decrypt()
652 ablkcipher_request_set_crypt(abreq, req->src, req->dst, cryptlen, iv); in crypto_authenc_esn_decrypt()