Lines Matching refs:dst

44 	struct scatterlist dst[2];  member
112 struct scatterlist *dst = req->dst; in crypto_authenc_esn_genicv_tail() local
116 scatterwalk_map_and_copy(tmp, dst, 4, 4, 0); in crypto_authenc_esn_genicv_tail()
117 scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 0); in crypto_authenc_esn_genicv_tail()
118 scatterwalk_map_and_copy(tmp, dst, 0, 8, 1); in crypto_authenc_esn_genicv_tail()
120 scatterwalk_map_and_copy(hash, dst, assoclen + cryptlen, authsize, 1); in crypto_authenc_esn_genicv_tail()
146 struct scatterlist *dst = req->dst; in crypto_authenc_esn_genicv() local
153 scatterwalk_map_and_copy(tmp, dst, 0, 8, 0); in crypto_authenc_esn_genicv()
154 scatterwalk_map_and_copy(tmp, dst, 4, 4, 1); in crypto_authenc_esn_genicv()
155 scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 1); in crypto_authenc_esn_genicv()
157 sg_init_table(areq_ctx->dst, 2); in crypto_authenc_esn_genicv()
158 dst = scatterwalk_ffwd(areq_ctx->dst, dst, 4); in crypto_authenc_esn_genicv()
161 ahash_request_set_crypt(ahreq, dst, hash, assoclen + cryptlen); in crypto_authenc_esn_genicv()
189 return crypto_blkcipher_encrypt(&desc, req->dst, req->src, len); in crypto_authenc_esn_copy()
202 struct scatterlist *src, *dst; in crypto_authenc_esn_encrypt() local
207 dst = src; in crypto_authenc_esn_encrypt()
209 if (req->src != req->dst) { in crypto_authenc_esn_encrypt()
214 sg_init_table(areq_ctx->dst, 2); in crypto_authenc_esn_encrypt()
215 dst = scatterwalk_ffwd(areq_ctx->dst, req->dst, assoclen); in crypto_authenc_esn_encrypt()
221 ablkcipher_request_set_crypt(abreq, src, dst, cryptlen, req->iv); in crypto_authenc_esn_encrypt()
244 struct scatterlist *dst = req->dst; in crypto_authenc_esn_decrypt_tail() local
249 scatterwalk_map_and_copy(tmp, dst, 4, 4, 0); in crypto_authenc_esn_decrypt_tail()
250 scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 0); in crypto_authenc_esn_decrypt_tail()
251 scatterwalk_map_and_copy(tmp, dst, 0, 8, 1); in crypto_authenc_esn_decrypt_tail()
256 sg_init_table(areq_ctx->dst, 2); in crypto_authenc_esn_decrypt_tail()
257 dst = scatterwalk_ffwd(areq_ctx->dst, dst, assoclen); in crypto_authenc_esn_decrypt_tail()
262 ablkcipher_request_set_crypt(abreq, dst, dst, cryptlen, req->iv); in crypto_authenc_esn_decrypt_tail()
289 struct scatterlist *dst = req->dst; in crypto_authenc_esn_decrypt() local
295 if (req->src != dst) { in crypto_authenc_esn_decrypt()
308 scatterwalk_map_and_copy(tmp, dst, 0, 8, 0); in crypto_authenc_esn_decrypt()
309 scatterwalk_map_and_copy(tmp, dst, 4, 4, 1); in crypto_authenc_esn_decrypt()
310 scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 1); in crypto_authenc_esn_decrypt()
312 sg_init_table(areq_ctx->dst, 2); in crypto_authenc_esn_decrypt()
313 dst = scatterwalk_ffwd(areq_ctx->dst, dst, 4); in crypto_authenc_esn_decrypt()
316 ahash_request_set_crypt(ahreq, dst, ohash, assoclen + cryptlen); in crypto_authenc_esn_decrypt()