Update everything which uses dkg to the new APIs

This commit is contained in:
Luke Parker
2025-08-18 02:21:31 -04:00
parent b6edc94bcd
commit 72e80c1a3d
11 changed files with 29 additions and 14 deletions

View File

@@ -37,6 +37,7 @@ serde_json = { version = "1", default-features = false, features = ["std"] }
ciphersuite = { path = "../crypto/ciphersuite", default-features = false, features = ["std", "ristretto"] }
transcript = { package = "flexible-transcript", path = "../crypto/transcript", default-features = false, features = ["std"] }
dkg-pedpop = { path = "../crypto/dkg/pedpop", default-features = false }
frost = { package = "modular-frost", path = "../crypto/frost", default-features = false, features = ["ristretto"] }
frost-schnorrkel = { path = "../crypto/schnorrkel", default-features = false }

View File

@@ -7,11 +7,10 @@ use rand_chacha::ChaCha20Rng;
use transcript::{Transcript, RecommendedTranscript};
use ciphersuite::group::GroupEncoding;
use dkg_pedpop::*;
use frost::{
curve::{Ciphersuite, Ristretto},
dkg::{
DkgError, Participant, ThresholdParams, ThresholdCore, ThresholdKeys, encryption::*, pedpop::*,
},
dkg::{DkgError, Participant, ThresholdParams, ThresholdCore, ThresholdKeys},
};
use log::info;