From c701522fab41db146be63a5ebc5a52f4a744d5d4 Mon Sep 17 00:00:00 2001 From: Roman Walch <9820846+rw0x0@users.noreply.github.com> Date: Tue, 14 Jan 2025 15:52:31 +0100 Subject: [PATCH] . --- iris-mpc-gpu/src/threshold_ring/protocol.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iris-mpc-gpu/src/threshold_ring/protocol.rs b/iris-mpc-gpu/src/threshold_ring/protocol.rs index 0fbe8c771..9f1254e1a 100644 --- a/iris-mpc-gpu/src/threshold_ring/protocol.rs +++ b/iris-mpc-gpu/src/threshold_ring/protocol.rs @@ -1286,12 +1286,12 @@ impl Circuits { // Split to x1, x2, x3 self.split_for_arithmetic_xor(inp, &mut x1, &mut x2, outp, streams); - let test = dtoh_on_stream_sync(&x1[0].a.slice(0..16), &self.devs[0], &streams[0]).unwrap(); + let test = dtoh_on_stream_sync(&x1[0].b.slice(0..16), &self.devs[0], &streams[0]).unwrap(); tracing::warn!("x1: {:?}", test); - let test = dtoh_on_stream_sync(&x2[0].a.slice(0..16), &self.devs[0], &streams[0]).unwrap(); + let test = dtoh_on_stream_sync(&x2[0].b.slice(0..16), &self.devs[0], &streams[0]).unwrap(); tracing::warn!("x2: {:?}", test); let test = - dtoh_on_stream_sync(&outp[0].a.slice(0..16), &self.devs[0], &streams[0]).unwrap(); + dtoh_on_stream_sync(&outp[0].b.slice(0..16), &self.devs[0], &streams[0]).unwrap(); tracing::warn!("x3: {:?}", test); // First arithmetic xor: x3 ^= x1