Skip to content

Commit a4fd3fb

Browse files
committed
fix(fiat_shamir): do not publicly expose prove().
1 parent 1773fc9 commit a4fd3fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/fiat_shamir.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ where
100100
///
101101
/// # Panics
102102
/// Panics if local verification fails.
103-
pub fn prove(
103+
fn prove(
104104
&self,
105105
witness: &P::Witness,
106106
rng: &mut (impl RngCore + CryptoRng),
@@ -133,7 +133,7 @@ where
133133
/// - Returns [`Error::VerificationFailure`] if:
134134
/// - The challenge doesn't match the recomputed one from the commitment.
135135
/// - The response fails verification under the Sigma protocol.
136-
pub fn verify(
136+
fn verify(
137137
&self,
138138
commitment: &P::Commitment,
139139
challenge: &P::Challenge,

0 commit comments

Comments
 (0)