Skip to content

Commit

Permalink
rebase cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tgeoghegan committed Sep 11, 2023
1 parent 0d6d6d7 commit 7112081
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ experimental = ["bitvec", "fiat-crypto", "fixed", "num-bigint", "num-rational",
multithreaded = ["rayon"]
prio2 = ["crypto-dependencies", "hmac", "sha2"]
crypto-dependencies = ["aes", "ctr"]
test-util = ["dep:rand"]
test-util = ["rand"]

[workspace]
members = [".", "binaries"]
Expand Down
1 change: 1 addition & 0 deletions src/vdaf/poplar1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ impl<F: ConstantTimeEq> Eq for PrepareState<F> {}
impl<F: ConstantTimeEq> ConstantTimeEq for PrepareState<F> {
fn ct_eq(&self, other: &Self) -> Choice {
self.sketch.ct_eq(&other.sketch) & self.output_share.ct_eq(&other.output_share)
}
}

impl<F> Debug for PrepareState<F> {
Expand Down
1 change: 1 addition & 0 deletions src/vdaf/prio3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -970,6 +970,7 @@ impl<F: ConstantTimeEq, const SEED_SIZE: usize> ConstantTimeEq for Prio3PrepareS
self.joint_rand_seed.as_ref(),
other.joint_rand_seed.as_ref(),
) & self.measurement_share.ct_eq(&other.measurement_share)
}
}

impl<F, const SEED_SIZE: usize> Debug for Prio3PrepareState<F, SEED_SIZE> {
Expand Down

0 comments on commit 7112081

Please sign in to comment.