Randomly sort included before doing share verification

This commit is contained in:
Luke Parker
2022-12-13 15:41:37 -05:00
parent 4871fc7441
commit ace7506172
11 changed files with 44 additions and 22 deletions

View File

@@ -1,4 +1,4 @@
use rand_core::{RngCore, CryptoRng};
use rand::{RngCore, CryptoRng};
use group::Group;

View File

@@ -1,4 +1,4 @@
use rand_core::OsRng;
use rand::rngs::OsRng;
use crate::{
curve,

View File

@@ -1,4 +1,4 @@
use rand_core::OsRng;
use rand::rngs::OsRng;
use ciphersuite::Ciphersuite;

View File

@@ -1,4 +1,4 @@
use rand_core::OsRng;
use rand::rngs::OsRng;
use crate::tests::vectors::{Vectors, test_with_vectors};

View File

@@ -1,6 +1,6 @@
use std::collections::HashMap;
use rand_core::{RngCore, CryptoRng};
use rand::{RngCore, CryptoRng};
pub use dkg::tests::{key_gen, recover_key};

View File

@@ -5,7 +5,7 @@ use std::collections::HashMap;
use std::str::FromStr;
use zeroize::Zeroizing;
use rand_core::{RngCore, CryptoRng};
use rand::{RngCore, CryptoRng};
use group::{ff::PrimeField, GroupEncoding};