Skip to content

Commit a81ed72

Browse files
committed
Fix imports and typos
Signed-off-by: lovesh <lovesh.bond@gmail.com>
1 parent eb8c5a6 commit a81ed72

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

benches/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ ark-bls12-381 = { version = "^0.3.0", default-features = false, features = [ "cu
1717
serde = { version = "1.0", default-features = false, features = ["derive"] }
1818
serde_with = { version = "1.10.0", default-features = false, features = ["macros"] }
1919
dock_crypto_utils = { default-features = false, path = "../utils" }
20+
zeroize = { version = "1.5.5", features = ["derive"] }
2021

2122
[dev-dependencies]
2223
criterion = "0.3"
@@ -50,4 +51,4 @@ harness = false
5051
[[bench]]
5152
name = "accum_witness_updates"
5253
path = "benches/accum_witness_updates.rs"
53-
harness = false
54+
harness = false

benches/benches/schnorr_protocol.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ use schnorr_pok::{
1616
};
1717
use serde::{Deserialize, Serialize};
1818
use serde_with::serde_as;
19+
use zeroize::Zeroize;
1920

2021
type Fr = <Bls12_381 as PairingEngine>::Fr;
2122

proof_system/src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ pub enum ProofSystemError {
4040
InvalidWitnessEqualities(Vec<(usize, usize)>),
4141
/// The proof did not satisfy all the witness equalities
4242
UnsatisfiedWitnessEqualities(Vec<BTreeSet<(usize, usize)>>),
43-
/// `StatementProof`s were missing for some `Statement`s
43+
/// `Statement`s were missing for some `StatementProof`s
4444
UnsatisfiedStatements(usize, usize),
4545
InvalidStatementProofIndex(usize),
4646
SaverError(SaverError),

proof_system/tests/bbs_plus_and_accumulator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -975,7 +975,7 @@ fn verifier_local_linkability() {
975975
// This is done by making the prover go through a one-time registration process with the verifier by creating a
976976
// Pedersen commitment to some value in the signature(s) which the verifier persists, lets call it registration commitment.
977977
// At each subsequent proof, the prover resends the commitment with the proof that commitment contains message
978-
// from the prover's signature (prover had persisted commitment and randomness) and the verifier checks that the
978+
// from the the signature (prover had persisted commitment and randomness) and the verifier checks that the
979979
// commitment is same as the one during registration. The registration commitment serves as an identifier.
980980

981981
// Following shows a prover interacting with 2 different verifiers and creating and using 2 different registration commitments, 1 at each verifier

saver/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ bbs_plus = { default-features = false, path = "../bbs_plus" }
3838

3939
[features]
4040
default = [ "parallel" ]
41-
#std = [ "ark-ff/std", "ark-ec/std", "ark-std/std", "ark-serialize/std", "ark-groth16/std", "legogroth16/std", "ark-r1cs-std/std", "ark-relations/std"]
4241
std = [ "ark-ff/std", "ark-ec/std", "ark-std/std", "ark-serialize/std", "ark-groth16/std", "ark-r1cs-std/std", "ark-relations/std"]
4342
print-trace = [ "ark-std/print-trace" ]
44-
#parallel = [ "std", "ark-ff/parallel", "ark-ec/parallel", "ark-std/parallel", "ark-groth16/parallel", "legogroth16/parallel", "rayon", "ark-r1cs-std/parallel" ]
4543
parallel = [ "std", "ark-ff/parallel", "ark-ec/parallel", "ark-std/parallel", "ark-groth16/parallel", "rayon", "ark-r1cs-std/parallel" ]

0 commit comments

Comments
 (0)