Lines Matching refs:sg_out
164 struct sg_table sg_out; in ceph_aes_encrypt() local
183 ret = setup_sgtable(&sg_out, &prealloc_sg, dst, *dst_len); in ceph_aes_encrypt()
200 ret = crypto_blkcipher_encrypt(&desc, sg_out.sgl, sg_in, in ceph_aes_encrypt()
212 teardown_sgtable(&sg_out); in ceph_aes_encrypt()
224 struct sg_table sg_out; in ceph_aes_encrypt2() local
244 ret = setup_sgtable(&sg_out, &prealloc_sg, dst, *dst_len); in ceph_aes_encrypt2()
263 ret = crypto_blkcipher_encrypt(&desc, sg_out.sgl, sg_in, in ceph_aes_encrypt2()
275 teardown_sgtable(&sg_out); in ceph_aes_encrypt2()
286 struct scatterlist sg_out[2], prealloc_sg; in ceph_aes_decrypt() local
298 sg_init_table(sg_out, 2); in ceph_aes_decrypt()
299 sg_set_buf(&sg_out[0], dst, *dst_len); in ceph_aes_decrypt()
300 sg_set_buf(&sg_out[1], pad, sizeof(pad)); in ceph_aes_decrypt()
316 ret = crypto_blkcipher_decrypt(&desc, sg_out, sg_in.sgl, src_len); in ceph_aes_decrypt()
351 struct scatterlist sg_out[3], prealloc_sg; in ceph_aes_decrypt2() local
363 sg_init_table(sg_out, 3); in ceph_aes_decrypt2()
364 sg_set_buf(&sg_out[0], dst1, *dst1_len); in ceph_aes_decrypt2()
365 sg_set_buf(&sg_out[1], dst2, *dst2_len); in ceph_aes_decrypt2()
366 sg_set_buf(&sg_out[2], pad, sizeof(pad)); in ceph_aes_decrypt2()
382 ret = crypto_blkcipher_decrypt(&desc, sg_out, sg_in.sgl, src_len); in ceph_aes_decrypt2()