Lines Matching refs:giv
47 memcpy(req->giv, PTR_ALIGN((u8 *)reqctx->tail, in eseqiv_complete2()
77 u8 *giv; in eseqiv_givencrypt() local
88 giv = req->giv; in eseqiv_givencrypt()
101 if (vsrc != giv + ivsize && vdst != giv + ivsize) { in eseqiv_givencrypt()
102 giv = PTR_ALIGN((u8 *)reqctx->tail, in eseqiv_givencrypt()
112 sg_set_buf(reqctx->src, giv, ivsize); in eseqiv_givencrypt()
113 scatterwalk_crypto_chain(reqctx->src, osrc, vsrc == giv + ivsize, 2); in eseqiv_givencrypt()
118 sg_set_buf(reqctx->dst, giv, ivsize); in eseqiv_givencrypt()
119 scatterwalk_crypto_chain(reqctx->dst, odst, vdst == giv + ivsize, 2); in eseqiv_givencrypt()
132 memset(req->giv, 0, ivsize - sizeof(u64)); in eseqiv_givencrypt()
136 memcpy(req->giv + ivsize - len, &seq, len); in eseqiv_givencrypt()
142 if (giv != req->giv) in eseqiv_givencrypt()