Lines Matching refs:cryptlen
92 unsigned int cryptlen = req->cryptlen; in crypto_authenc_esn_genicv_tail() local
98 scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 0); in crypto_authenc_esn_genicv_tail()
101 scatterwalk_map_and_copy(hash, dst, assoclen + cryptlen, authsize, 1); in crypto_authenc_esn_genicv_tail()
124 unsigned int cryptlen = req->cryptlen; in crypto_authenc_esn_genicv() local
134 scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 1); in crypto_authenc_esn_genicv()
140 ahash_request_set_crypt(ahreq, dst, hash, assoclen + cryptlen); in crypto_authenc_esn_genicv()
168 unsigned int cryptlen = req->cryptlen; in crypto_authenc_esn_encrypt() local
185 skcipher_request_set_crypt(skreq, src, dst, cryptlen, req->iv); in crypto_authenc_esn_encrypt()
205 unsigned int cryptlen = req->cryptlen - authsize; in crypto_authenc_esn_decrypt_tail() local
216 scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 0); in crypto_authenc_esn_decrypt_tail()
230 skcipher_request_set_crypt(skreq, dst, dst, cryptlen, req->iv); in crypto_authenc_esn_decrypt_tail()
253 unsigned int cryptlen = req->cryptlen; in crypto_authenc_esn_decrypt() local
259 cryptlen -= authsize; in crypto_authenc_esn_decrypt()
262 memcpy_sglist(dst, req->src, assoclen + cryptlen); in crypto_authenc_esn_decrypt()
264 scatterwalk_map_and_copy(ihash, req->src, assoclen + cryptlen, in crypto_authenc_esn_decrypt()
273 scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 1); in crypto_authenc_esn_decrypt()
279 ahash_request_set_crypt(ahreq, dst, ohash, assoclen + cryptlen); in crypto_authenc_esn_decrypt()