mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-10 05:09:22 +00:00
Randomly sort included before doing share verification
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use rand_core::{RngCore, CryptoRng};
|
||||
use rand::{RngCore, CryptoRng};
|
||||
|
||||
use group::Group;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
use rand_core::OsRng;
|
||||
use rand::rngs::OsRng;
|
||||
|
||||
use crate::{
|
||||
curve,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
use rand_core::OsRng;
|
||||
use rand::rngs::OsRng;
|
||||
|
||||
use ciphersuite::Ciphersuite;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
use rand_core::OsRng;
|
||||
use rand::rngs::OsRng;
|
||||
|
||||
use crate::tests::vectors::{Vectors, test_with_vectors};
|
||||
|
||||
|
||||
@@ -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};
|
||||
|
||||
|
||||
@@ -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};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user