Lines Matching refs:dst

37 	struct scatterlist dst[2];  member
93 struct scatterlist *dst = req->dst; in crypto_authenc_esn_genicv_tail() local
97 scatterwalk_map_and_copy(tmp, dst, 4, 4, 0); in crypto_authenc_esn_genicv_tail()
98 scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 0); in crypto_authenc_esn_genicv_tail()
99 scatterwalk_map_and_copy(tmp, dst, 0, 8, 1); in crypto_authenc_esn_genicv_tail()
101 scatterwalk_map_and_copy(hash, dst, assoclen + cryptlen, authsize, 1); in crypto_authenc_esn_genicv_tail()
125 struct scatterlist *dst = req->dst; in crypto_authenc_esn_genicv() local
132 scatterwalk_map_and_copy(tmp, dst, 0, 8, 0); in crypto_authenc_esn_genicv()
133 scatterwalk_map_and_copy(tmp, dst, 4, 4, 1); in crypto_authenc_esn_genicv()
134 scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 1); in crypto_authenc_esn_genicv()
136 sg_init_table(areq_ctx->dst, 2); in crypto_authenc_esn_genicv()
137 dst = scatterwalk_ffwd(areq_ctx->dst, dst, 4); in crypto_authenc_esn_genicv()
140 ahash_request_set_crypt(ahreq, dst, hash, assoclen + cryptlen); in crypto_authenc_esn_genicv()
169 struct scatterlist *src, *dst; in crypto_authenc_esn_encrypt() local
174 dst = src; in crypto_authenc_esn_encrypt()
176 if (req->src != req->dst) { in crypto_authenc_esn_encrypt()
177 memcpy_sglist(req->dst, req->src, assoclen); in crypto_authenc_esn_encrypt()
178 sg_init_table(areq_ctx->dst, 2); in crypto_authenc_esn_encrypt()
179 dst = scatterwalk_ffwd(areq_ctx->dst, req->dst, assoclen); in crypto_authenc_esn_encrypt()
185 skcipher_request_set_crypt(skreq, src, dst, cryptlen, req->iv); in crypto_authenc_esn_encrypt()
207 struct scatterlist *dst = req->dst; in crypto_authenc_esn_decrypt_tail() local
215 scatterwalk_map_and_copy(tmp, dst, 4, 4, 0); in crypto_authenc_esn_decrypt_tail()
216 scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 0); in crypto_authenc_esn_decrypt_tail()
217 scatterwalk_map_and_copy(tmp, dst, 0, 8, 1); in crypto_authenc_esn_decrypt_tail()
224 sg_init_table(areq_ctx->dst, 2); in crypto_authenc_esn_decrypt_tail()
225 dst = scatterwalk_ffwd(areq_ctx->dst, dst, assoclen); in crypto_authenc_esn_decrypt_tail()
230 skcipher_request_set_crypt(skreq, dst, dst, cryptlen, req->iv); in crypto_authenc_esn_decrypt_tail()
255 struct scatterlist *dst = req->dst; in crypto_authenc_esn_decrypt() local
261 if (req->src != dst) in crypto_authenc_esn_decrypt()
262 memcpy_sglist(dst, req->src, assoclen + cryptlen); in crypto_authenc_esn_decrypt()
271 scatterwalk_map_and_copy(tmp, dst, 0, 8, 0); in crypto_authenc_esn_decrypt()
272 scatterwalk_map_and_copy(tmp, dst, 4, 4, 1); in crypto_authenc_esn_decrypt()
273 scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 1); in crypto_authenc_esn_decrypt()
275 sg_init_table(areq_ctx->dst, 2); in crypto_authenc_esn_decrypt()
276 dst = scatterwalk_ffwd(areq_ctx->dst, dst, 4); in crypto_authenc_esn_decrypt()
279 ahash_request_set_crypt(ahreq, dst, ohash, assoclen + cryptlen); in crypto_authenc_esn_decrypt()