Lines Matching refs:cryptlen
112 unsigned int cryptlen = req->cryptlen; in crypto_authenc_esn_genicv_tail() local
118 scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 0); in crypto_authenc_esn_genicv_tail()
121 scatterwalk_map_and_copy(hash, dst, assoclen + cryptlen, authsize, 1); in crypto_authenc_esn_genicv_tail()
146 unsigned int cryptlen = req->cryptlen; in crypto_authenc_esn_genicv() local
156 scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 1); in crypto_authenc_esn_genicv()
162 ahash_request_set_crypt(ahreq, dst, hash, assoclen + cryptlen); in crypto_authenc_esn_genicv()
205 unsigned int cryptlen = req->cryptlen; in crypto_authenc_esn_encrypt() local
225 skcipher_request_set_crypt(skreq, src, dst, cryptlen, req->iv); in crypto_authenc_esn_encrypt()
246 unsigned int cryptlen = req->cryptlen - authsize; in crypto_authenc_esn_decrypt_tail() local
257 scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 0); in crypto_authenc_esn_decrypt_tail()
271 skcipher_request_set_crypt(skreq, dst, dst, cryptlen, req->iv); in crypto_authenc_esn_decrypt_tail()
296 unsigned int cryptlen = req->cryptlen; in crypto_authenc_esn_decrypt() local
302 cryptlen -= authsize; in crypto_authenc_esn_decrypt()
305 err = crypto_authenc_esn_copy(req, assoclen + cryptlen); in crypto_authenc_esn_decrypt()
310 scatterwalk_map_and_copy(ihash, req->src, assoclen + cryptlen, in crypto_authenc_esn_decrypt()
319 scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 1); in crypto_authenc_esn_decrypt()
325 ahash_request_set_crypt(ahreq, dst, ohash, assoclen + cryptlen); in crypto_authenc_esn_decrypt()