Skip to content

Commit be99bf3

Browse files
committed
Merge branch 'main' of github.com:mmaker/sigma-rs
2 parents 11968db + ddc44e4 commit be99bf3

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/fiat_shamir.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ where
3636
P: SigmaProtocol<Commitment = Vec<G>, Challenge = <G as Group>::Scalar>,
3737
C: Codec<Challenge = <G as Group>::Scalar>,
3838
{
39-
/// Domain separation string for the Fiat-Shamir transform.
40-
pub domain_sep: Vec<u8>,
4139
/// Current codec state.
4240
pub hash_state: C,
4341
/// Underlying Sigma protocol.
@@ -52,10 +50,8 @@ where
5250
{
5351
/// Creates a new non-interactive Sigma protocol, identified by a domain separator (usually fixed per protocol instantiation), and an initialized Sigma protocol instance.
5452
pub fn new(iv: &[u8], instance: P) -> Self {
55-
let domain_sep = iv.to_vec();
5653
let hash_state = C::new(iv);
5754
Self {
58-
domain_sep,
5955
hash_state,
6056
sigmap: instance,
6157
}

0 commit comments

Comments
 (0)