Lines Matching refs:src

37 	struct scatterlist src[3];  member
57 struct scatterlist *src; member
65 struct scatterlist src[3]; member
158 sg_init_table(pctx->src, 3); in crypto_gcm_init_common()
159 sg_set_buf(pctx->src, pctx->auth_tag, sizeof(pctx->auth_tag)); in crypto_gcm_init_common()
160 sg = scatterwalk_ffwd(pctx->src + 1, req->src, req->assoclen); in crypto_gcm_init_common()
161 if (sg != pctx->src + 1) in crypto_gcm_init_common()
162 sg_chain(pctx->src, 2, sg); in crypto_gcm_init_common()
164 if (req->src != req->dst) { in crypto_gcm_init_common()
182 dst = req->src == req->dst ? pctx->src : pctx->dst; in crypto_gcm_init_crypt()
185 skcipher_request_set_crypt(skreq, pctx->src, dst, in crypto_gcm_init_crypt()
200 struct scatterlist *src, in gcm_hash_update() argument
207 ahash_request_set_crypt(ahreq, src, NULL, len); in gcm_hash_update()
318 gctx->src, gctx->cryptlen, flags) ?: in gcm_hash_assoc_remain_continue()
371 req->src, req->assoclen, flags) ?: in gcm_hash_init_continue()
423 gctx->src = sg_next(req->src == req->dst ? pctx->src : pctx->dst); in gcm_encrypt_continue()
469 scatterwalk_map_and_copy(iauth_tag, req->src, in crypto_gcm_verify()
508 gctx->src = sg_next(pctx->src); in crypto_gcm_decrypt()
725 scatterwalk_map_and_copy(iv + GCM_AES_IV_SIZE, req->src, 0, req->assoclen - 8, 0); in crypto_rfc4106_crypt()
730 sg_init_table(rctx->src, 3); in crypto_rfc4106_crypt()
731 sg_set_buf(rctx->src, iv + GCM_AES_IV_SIZE, req->assoclen - 8); in crypto_rfc4106_crypt()
732 sg = scatterwalk_ffwd(rctx->src + 1, req->src, req->assoclen); in crypto_rfc4106_crypt()
733 if (sg != rctx->src + 1) in crypto_rfc4106_crypt()
734 sg_chain(rctx->src, 2, sg); in crypto_rfc4106_crypt()
736 if (req->src != req->dst) { in crypto_rfc4106_crypt()
747 aead_request_set_crypt(subreq, rctx->src, in crypto_rfc4106_crypt()
748 req->src == req->dst ? rctx->src : rctx->dst, in crypto_rfc4106_crypt()
930 if (req->src != req->dst) { in crypto_rfc4543_crypt()
934 memcpy_sglist(req->dst, req->src, nbytes); in crypto_rfc4543_crypt()
943 aead_request_set_crypt(subreq, req->src, req->dst, in crypto_rfc4543_crypt()