Lines Matching refs:cryptlen
94 unsigned int cryptlen = req->cryptlen; in crypto_authenc_esn_genicv_tail() local
100 scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 0); in crypto_authenc_esn_genicv_tail()
103 scatterwalk_map_and_copy(hash, dst, assoclen + cryptlen, authsize, 1); in crypto_authenc_esn_genicv_tail()
126 unsigned int cryptlen = req->cryptlen; in crypto_authenc_esn_genicv() local
136 scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 1); in crypto_authenc_esn_genicv()
142 ahash_request_set_crypt(ahreq, dst, hash, assoclen + cryptlen); in crypto_authenc_esn_genicv()
184 unsigned int cryptlen = req->cryptlen; in crypto_authenc_esn_encrypt() local
204 skcipher_request_set_crypt(skreq, src, dst, cryptlen, req->iv); in crypto_authenc_esn_encrypt()
224 unsigned int cryptlen = req->cryptlen - authsize; in crypto_authenc_esn_decrypt_tail() local
235 scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 0); in crypto_authenc_esn_decrypt_tail()
249 skcipher_request_set_crypt(skreq, dst, dst, cryptlen, req->iv); in crypto_authenc_esn_decrypt_tail()
272 unsigned int cryptlen = req->cryptlen; in crypto_authenc_esn_decrypt() local
278 cryptlen -= authsize; in crypto_authenc_esn_decrypt()
281 err = crypto_authenc_esn_copy(req, assoclen + cryptlen); in crypto_authenc_esn_decrypt()
286 scatterwalk_map_and_copy(ihash, req->src, assoclen + cryptlen, in crypto_authenc_esn_decrypt()
295 scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 1); in crypto_authenc_esn_decrypt()
301 ahash_request_set_crypt(ahreq, dst, ohash, assoclen + cryptlen); in crypto_authenc_esn_decrypt()