Lines Matching defs:sg_out
84 struct scatterlist sg_in[2], sg_out[1];
104 sg_init_table(sg_out, 1);
105 sg_set_buf(sg_out, dst, *dst_len);
118 ret = crypto_blkcipher_encrypt(&desc, sg_out, sg_in,
135 struct scatterlist sg_in[3], sg_out[1];
156 sg_init_table(sg_out, 1);
157 sg_set_buf(sg_out, dst, *dst_len);
172 ret = crypto_blkcipher_encrypt(&desc, sg_out, sg_in,
188 struct scatterlist sg_in[1], sg_out[2];
202 sg_init_table(sg_out, 2);
204 sg_set_buf(&sg_out[0], dst, *dst_len);
205 sg_set_buf(&sg_out[1], pad, sizeof(pad));
219 ret = crypto_blkcipher_decrypt(&desc, sg_out, sg_in, src_len);
249 struct scatterlist sg_in[1], sg_out[3];
263 sg_init_table(sg_out, 3);
264 sg_set_buf(&sg_out[0], dst1, *dst1_len);
265 sg_set_buf(&sg_out[1], dst2, *dst2_len);
266 sg_set_buf(&sg_out[2], pad, sizeof(pad));
281 ret = crypto_blkcipher_decrypt(&desc, sg_out, sg_in, src_len);