Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminsavage committed Mar 17, 2024
1 parent 4fe3d21 commit 7bc8641
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ipa-core/src/protocol/ipa_prf/malicious_security/prover.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ pub struct ProofGenerator<F: PrimeField> {
v: Vec<F>,
}

type TwoNMinusOne<N> = Diff<Sum<N, N>, U1>;

///
/// Distributed Zero Knowledge Proofs algorithm drawn from
/// `https://eprint.iacr.org/2023/909.pdf`
Expand All @@ -40,7 +42,7 @@ where
&self,
r: F,
) -> (
ZeroKnowledgeProof<F, Diff<Sum<λ, λ>, U1>>,
ZeroKnowledgeProof<F, TwoNMinusOne<λ>>,
ProofGenerator<F>,
)
where
Expand Down

0 comments on commit 7bc8641

Please sign in to comment.