• Home
  • Raw
  • Download

Lines Matching refs:src

62 	struct scatterlist *src;  member
69 struct scatterlist src[2]; member
202 sg_init_table(pctx->src, 2); in crypto_gcm_init_crypt()
203 sg_set_buf(pctx->src, pctx->auth_tag, sizeof(pctx->auth_tag)); in crypto_gcm_init_crypt()
204 scatterwalk_sg_chain(pctx->src, 2, req->src); in crypto_gcm_init_crypt()
206 dst = pctx->src; in crypto_gcm_init_crypt()
207 if (req->src != req->dst) { in crypto_gcm_init_crypt()
215 ablkcipher_request_set_crypt(ablk_req, pctx->src, dst, in crypto_gcm_init_crypt()
232 struct scatterlist *src, in gcm_hash_update() argument
239 ahash_request_set_crypt(ahreq, src, NULL, len); in gcm_hash_update()
253 sg_init_one(pctx->src, gcm_zeroes, remain); in gcm_hash_remain()
254 ahash_request_set_crypt(ahreq, pctx->src, NULL, remain); in gcm_hash_remain()
269 sg_init_one(pctx->src, pctx->iauth_tag, 16); in gcm_hash_len()
272 ahash_request_set_crypt(ahreq, pctx->src, in gcm_hash_len()
386 gctx->src, gctx->cryptlen); in __gcm_hash_assoc_remain_done()
488 err = gcm_hash_update(req, pctx, complete, gctx->src, gctx->cryptlen); in gcm_hash()
556 gctx->src = req->dst; in crypto_gcm_encrypt()
584 scatterwalk_map_and_copy(iauth_tag, req->src, cryptlen, authsize, 0); in crypto_gcm_verify()
633 gctx->src = req->src; in crypto_gcm_decrypt()
913 aead_request_set_crypt(subreq, req->src, req->dst, req->cryptlen, iv); in crypto_rfc4106_crypt()
1125 struct scatterlist *src = req->src; in crypto_rfc4543_crypt() local
1143 scatterwalk_map_and_copy(rctx->auth_tag, src, in crypto_rfc4543_crypt()
1150 srcp = sg_page(src); in crypto_rfc4543_crypt()
1151 vsrc = PageHighMem(srcp) ? NULL : page_address(srcp) + src->offset; in crypto_rfc4543_crypt()
1155 scatterwalk_crypto_chain(payload, src, vsrc == req->iv + 8, 2); in crypto_rfc4543_crypt()
1192 return crypto_blkcipher_encrypt(&desc, req->dst, req->src, nbytes); in crypto_rfc4543_copy_src_to_dst()
1202 if (req->src != req->dst) { in crypto_rfc4543_encrypt()
1223 if (req->src != req->dst) { in crypto_rfc4543_decrypt()