Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
rw0x0 committed Jan 14, 2025
1 parent 6076dfb commit c701522
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions iris-mpc-gpu/src/threshold_ring/protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c701522

Please sign in to comment.