Lines Matching refs:sg
211 struct scatterlist *sg, unsigned int len) in get_data_to_compute() argument
217 scatterwalk_start(&walk, sg); in get_data_to_compute()
222 scatterwalk_start(&walk, sg_next(walk.sg)); in get_data_to_compute()
313 struct scatterlist *sg; in crypto_ccm_init_crypt() local
330 sg = scatterwalk_ffwd(pctx->src + 1, req->src, req->assoclen); in crypto_ccm_init_crypt()
331 if (sg != pctx->src + 1) in crypto_ccm_init_crypt()
332 sg_chain(pctx->src, 2, sg); in crypto_ccm_init_crypt()
337 sg = scatterwalk_ffwd(pctx->dst + 1, req->dst, req->assoclen); in crypto_ccm_init_crypt()
338 if (sg != pctx->dst + 1) in crypto_ccm_init_crypt()
339 sg_chain(pctx->dst, 2, sg); in crypto_ccm_init_crypt()
712 struct scatterlist *sg; in crypto_rfc4309_crypt() local
726 sg = scatterwalk_ffwd(rctx->src + 1, req->src, req->assoclen); in crypto_rfc4309_crypt()
727 if (sg != rctx->src + 1) in crypto_rfc4309_crypt()
728 sg_chain(rctx->src, 2, sg); in crypto_rfc4309_crypt()
733 sg = scatterwalk_ffwd(rctx->dst + 1, req->dst, req->assoclen); in crypto_rfc4309_crypt()
734 if (sg != rctx->dst + 1) in crypto_rfc4309_crypt()
735 sg_chain(rctx->dst, 2, sg); in crypto_rfc4309_crypt()