Skip to content

Commit de906ee

Browse files
committed
fix(docs): fix documentation warnings.
1 parent 60ba930 commit de906ee

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
//! - **[`traits::SigmaProtocol`]**: The fundamental three-move protocol interface
3030
//! - **[`linear_relation::LinearRelation`]**: Express mathematical relations over groups
3131
//! - **[`fiat_shamir::NISigmaProtocol`]**: Convert interactive proofs to standalone proofs
32-
//! - **[`composition::CompositionProof`]**: Combine multiple proofs together
32+
//! - **[`composition::Protocol`]**: Combine multiple proofs together
3333
//! - **[`codec`]**: Hash function backends for proof generation
3434
3535
#![allow(non_snake_case)]

src/schnorr_protocol.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
//! Implementation of the generic Schnorr Sigma Protocol over a group `G`.
1+
//! Implementation of the generic Schnorr Sigma Protocol over a [`Group`].
22
//!
33
//! This module defines the [`SchnorrProof`] structure, which implements
44
//! a Sigma protocol proving different types of discrete logarithm relations (eg. Schnorr, Pedersen's commitments)
5-
//! through a group morphism abstraction (see Maurer09).
5+
//! through a group morphism abstraction (see [Maurer09](https://crypto-test.ethz.ch/publications/files/Maurer09.pdf)).
66
77
use crate::errors::Error;
88
use crate::linear_relation::LinearRelation;
@@ -258,7 +258,7 @@ where
258258
/// - `response`: The prover's response vector.
259259
///
260260
/// # Returns
261-
/// - A vector of group elements representing the recomputed commitment (one per linear constraint).
261+
/// - A vector of group elements representing the simulated commitment (one per linear constraint).
262262
///
263263
/// # Errors
264264
/// - [`Error::ProofSizeMismatch`] if the response length does not match the expected number of scalars.

0 commit comments

Comments
 (0)