Lines Matching refs:dst
39 struct scatterlist dst[2]; member
108 struct scatterlist *dst = req->dst; in crypto_authenc_esn_genicv_tail() local
112 scatterwalk_map_and_copy(tmp, dst, 4, 4, 0); in crypto_authenc_esn_genicv_tail()
113 scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 0); in crypto_authenc_esn_genicv_tail()
114 scatterwalk_map_and_copy(tmp, dst, 0, 8, 1); in crypto_authenc_esn_genicv_tail()
116 scatterwalk_map_and_copy(hash, dst, assoclen + cryptlen, authsize, 1); in crypto_authenc_esn_genicv_tail()
142 struct scatterlist *dst = req->dst; in crypto_authenc_esn_genicv() local
149 scatterwalk_map_and_copy(tmp, dst, 0, 8, 0); in crypto_authenc_esn_genicv()
150 scatterwalk_map_and_copy(tmp, dst, 4, 4, 1); in crypto_authenc_esn_genicv()
151 scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 1); in crypto_authenc_esn_genicv()
153 sg_init_table(areq_ctx->dst, 2); in crypto_authenc_esn_genicv()
154 dst = scatterwalk_ffwd(areq_ctx->dst, dst, 4); in crypto_authenc_esn_genicv()
157 ahash_request_set_crypt(ahreq, dst, hash, assoclen + cryptlen); in crypto_authenc_esn_genicv()
186 skcipher_request_set_crypt(skreq, req->src, req->dst, len, NULL); in crypto_authenc_esn_copy()
201 struct scatterlist *src, *dst; in crypto_authenc_esn_encrypt() local
206 dst = src; in crypto_authenc_esn_encrypt()
208 if (req->src != req->dst) { in crypto_authenc_esn_encrypt()
213 sg_init_table(areq_ctx->dst, 2); in crypto_authenc_esn_encrypt()
214 dst = scatterwalk_ffwd(areq_ctx->dst, req->dst, assoclen); in crypto_authenc_esn_encrypt()
220 skcipher_request_set_crypt(skreq, src, dst, cryptlen, req->iv); in crypto_authenc_esn_encrypt()
243 struct scatterlist *dst = req->dst; in crypto_authenc_esn_decrypt_tail() local
251 scatterwalk_map_and_copy(tmp, dst, 4, 4, 0); in crypto_authenc_esn_decrypt_tail()
252 scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 0); in crypto_authenc_esn_decrypt_tail()
253 scatterwalk_map_and_copy(tmp, dst, 0, 8, 1); in crypto_authenc_esn_decrypt_tail()
260 sg_init_table(areq_ctx->dst, 2); in crypto_authenc_esn_decrypt_tail()
261 dst = scatterwalk_ffwd(areq_ctx->dst, dst, assoclen); in crypto_authenc_esn_decrypt_tail()
266 skcipher_request_set_crypt(skreq, dst, dst, cryptlen, req->iv); in crypto_authenc_esn_decrypt_tail()
293 struct scatterlist *dst = req->dst; in crypto_authenc_esn_decrypt() local
299 if (req->src != dst) { in crypto_authenc_esn_decrypt()
312 scatterwalk_map_and_copy(tmp, dst, 0, 8, 0); in crypto_authenc_esn_decrypt()
313 scatterwalk_map_and_copy(tmp, dst, 4, 4, 1); in crypto_authenc_esn_decrypt()
314 scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 1); in crypto_authenc_esn_decrypt()
316 sg_init_table(areq_ctx->dst, 2); in crypto_authenc_esn_decrypt()
317 dst = scatterwalk_ffwd(areq_ctx->dst, dst, 4); in crypto_authenc_esn_decrypt()
320 ahash_request_set_crypt(ahreq, dst, ohash, assoclen + cryptlen); in crypto_authenc_esn_decrypt()