Skip to content

Commit

Permalink
disable masking (#399)
Browse files Browse the repository at this point in the history
* disable masking

* bump version
  • Loading branch information
philsippl authored Sep 18, 2024
1 parent ed7c6a2 commit ab64d5a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion deploy/stage/common-values-iris-mpc.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
image: "ghcr.io/worldcoin/iris-mpc:v0.6.7"
image: "ghcr.io/worldcoin/iris-mpc:v0.6.8"

environment: stage
replicaCount: 1
Expand Down
10 changes: 5 additions & 5 deletions iris-mpc-gpu/src/dot/share_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -464,11 +464,11 @@ impl ShareDB {
let query1 = &queries.limb_1[idx];

// Prepare randomness to mask results
if self.is_remote {
let len: usize = (chunk_sizes[idx] * self.query_length).div_ceil(64) * 64;
self.rngs[idx].0.fill_rng_no_host_copy(len, &streams[idx]);
self.rngs[idx].1.fill_rng_no_host_copy(len, &streams[idx]);
}
// if self.is_remote {
// let len: usize = (chunk_sizes[idx] * self.query_length).div_ceil(64) *
// 64; self.rngs[idx].0.fill_rng_no_host_copy(len,
// &streams[idx]); self.rngs[idx].1.fill_rng_no_host_copy(len,
// &streams[idx]); }

for (i, d) in [db.limb_0[idx], db.limb_1[idx]].into_iter().enumerate() {
for (j, q) in [query0, query1].iter().enumerate() {
Expand Down

0 comments on commit ab64d5a

Please sign in to comment.