Lines Matching refs:sg_set_buf
114 sg_set_buf(&sg_in[0], src, src_len); in ceph_aes_encrypt()
115 sg_set_buf(&sg_in[1], pad, zero_padding); in ceph_aes_encrypt()
117 sg_set_buf(sg_out, dst, *dst_len); in ceph_aes_encrypt()
165 sg_set_buf(&sg_in[0], src1, src1_len); in ceph_aes_encrypt2()
166 sg_set_buf(&sg_in[1], src2, src2_len); in ceph_aes_encrypt2()
167 sg_set_buf(&sg_in[2], pad, zero_padding); in ceph_aes_encrypt2()
169 sg_set_buf(sg_out, dst, *dst_len); in ceph_aes_encrypt2()
215 sg_set_buf(sg_in, src, src_len); in ceph_aes_decrypt()
216 sg_set_buf(&sg_out[0], dst, *dst_len); in ceph_aes_decrypt()
217 sg_set_buf(&sg_out[1], pad, sizeof(pad)); in ceph_aes_decrypt()
274 sg_set_buf(sg_in, src, src_len); in ceph_aes_decrypt2()
276 sg_set_buf(&sg_out[0], dst1, *dst1_len); in ceph_aes_decrypt2()
277 sg_set_buf(&sg_out[1], dst2, *dst2_len); in ceph_aes_decrypt2()
278 sg_set_buf(&sg_out[2], pad, sizeof(pad)); in ceph_aes_decrypt2()