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 835f73d commit ca859a1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions iris-mpc-gpu/src/threshold_ring/protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1286,6 +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();
tracing::warn!("x1: {:?}", test);
let test = dtoh_on_stream_sync(&x2[0].a.slice(0..16), &self.devs[0], &streams[0]).unwrap();
tracing::warn!("x2: {:?}", test);
let test = dtoh_on_stream_sync(&x3[0].a.slice(0..16), &self.devs[0], &streams[0]).unwrap();
tracing::warn!("x3: {:?}", test);

// First arithmetic xor: x3 ^= x1
for (idx, (x3, x1)) in izip!(outp.iter_mut(), x1.iter()).enumerate() {
Expand Down

0 comments on commit ca859a1

Please sign in to comment.