From 71120818d579e7aa1aa4310d0180271a3e6b4c20 Mon Sep 17 00:00:00 2001 From: Tim Geoghegan Date: Mon, 11 Sep 2023 10:08:07 -0700 Subject: [PATCH] rebase cleanup --- Cargo.toml | 2 +- src/vdaf/poplar1.rs | 1 + src/vdaf/prio3.rs | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 771bd714a..8d1dc95df 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"] diff --git a/src/vdaf/poplar1.rs b/src/vdaf/poplar1.rs index 2f202ade0..57868fb71 100644 --- a/src/vdaf/poplar1.rs +++ b/src/vdaf/poplar1.rs @@ -329,6 +329,7 @@ impl Eq for PrepareState {} impl ConstantTimeEq for PrepareState { fn ct_eq(&self, other: &Self) -> Choice { self.sketch.ct_eq(&other.sketch) & self.output_share.ct_eq(&other.output_share) + } } impl Debug for PrepareState { diff --git a/src/vdaf/prio3.rs b/src/vdaf/prio3.rs index 3463f9eb5..9c57231a0 100644 --- a/src/vdaf/prio3.rs +++ b/src/vdaf/prio3.rs @@ -970,6 +970,7 @@ impl ConstantTimeEq for Prio3PrepareS self.joint_rand_seed.as_ref(), other.joint_rand_seed.as_ref(), ) & self.measurement_share.ct_eq(&other.measurement_share) + } } impl Debug for Prio3PrepareState {