Update CP proof to latest modular-frost

Verifies its multi-nonce functionality is intact.
This commit is contained in:
Luke Parker 2022-07-13 02:50:37 -04:00
parent 9b3985e120
commit d2e5d9184d
No known key found for this signature in database
GPG key ID: F9F1386DB1E119B6
2 changed files with 5 additions and 3 deletions

View file

@ -1,3 +1,5 @@
use std::io::Read;
use rand_core::{RngCore, CryptoRng, SeedableRng};
use rand_chacha::ChaCha12Rng;
@ -61,11 +63,11 @@ impl Algorithm<Secp256k1> for ChaumMultisig {
vec![]
}
fn process_addendum(
fn process_addendum<Re: Read>(
&mut self,
_: &FrostView<Secp256k1>,
_: u16,
_: &[u8]
_: &mut Re
) -> Result<(), FrostError> {
Ok(())
}

View file

@ -43,7 +43,7 @@ fn chaum_multisig() {
#[allow(non_snake_case)]
let mut S_T = vec![];
let mut xz = vec![];
for _ in 0 .. 2 {
for _ in 0 .. 5 {
let x = Scalar::random(&mut OsRng);
let z = Scalar::random(&mut OsRng);