Move verify_share to return batch-verifiable statements

While the previous construction achieved n/2 average detection,
this will run in log2(n). Unfortunately, the need to keep entropy
around (or take in an RNG here) remains.
This commit is contained in:
Luke Parker
2022-12-13 20:25:32 -05:00
parent 9c65518dc3
commit 25f1549c6c
14 changed files with 81 additions and 59 deletions

View File

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

View File

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

View File

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