mirror of
https://github.com/serai-dex/serai.git
synced 2024-11-16 17:07:35 +00:00
Update CP proof to latest modular-frost
Verifies its multi-nonce functionality is intact.
This commit is contained in:
parent
9b3985e120
commit
d2e5d9184d
2 changed files with 5 additions and 3 deletions
|
@ -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(())
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue