Skip to content

Commit

Permalink
Again not FROST since removing 1-round version
Browse files Browse the repository at this point in the history
  • Loading branch information
burdges committed Jul 30, 2024
1 parent 6829d16 commit f4d26d6
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions benches/olaf_benchmarks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ use criterion::criterion_main;

mod olaf_benches {
use criterion::{criterion_group, BenchmarkId, Criterion};
use schnorrkel::olaf::frost::aggregate;
use schnorrkel::olaf::multisig::aggregate;
use schnorrkel::keys::{PublicKey, Keypair};
use schnorrkel::olaf::frost::{SigningPackage, SigningNonces, SigningCommitments};
use schnorrkel::olaf::multisig::{SigningPackage, SigningNonces, SigningCommitments};
use schnorrkel::olaf::simplpedpop::AllMessage;

fn benchmark_simplpedpop(c: &mut Criterion) {
Expand Down Expand Up @@ -46,8 +46,8 @@ mod olaf_benches {
group.finish();
}

fn benchmark_frost(c: &mut Criterion) {
let mut group = c.benchmark_group("FROST");
fn benchmark_multisig(c: &mut Criterion) {
let mut group = c.benchmark_group("multisig");

group.sample_size(10);

Expand Down Expand Up @@ -138,7 +138,7 @@ mod olaf_benches {
config = Criterion::default();
targets =
benchmark_simplpedpop,
benchmark_frost,
benchmark_multisig,
}
}

Expand Down
4 changes: 2 additions & 2 deletions src/olaf/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
/// Implementation of the SimplPedPoP protocol.
pub mod simplpedpop;

/// Implementation of the FROST protocol.
pub mod frost;
/// Implementation of the two-round non-deterministic multisig protocol.
pub mod multisig;

use curve25519_dalek::{constants::RISTRETTO_BASEPOINT_POINT, RistrettoPoint, Scalar};
use merlin::Transcript;
Expand Down
4 changes: 2 additions & 2 deletions src/olaf/frost/errors.rs → src/olaf/multisig/errors.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! Errors of the FROST protocol.
//! Errors of the two-round threshold multisig protocol.
use core::array::TryFromSliceError;

Expand Down Expand Up @@ -57,7 +57,7 @@ mod tests {
use rand_core::OsRng;
use crate::{
olaf::{
frost::{
multisig::{
aggregate,
types::{NonceCommitment, SigningCommitments},
SigningPackage,
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit f4d26d6

Please sign in to comment.