Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Frost implementation #26

Closed
wants to merge 13 commits into from
Closed
Prev Previous commit
Next Next commit
Dedupe deps, rename PublicKey for VerificationKey
dconnolly committed Oct 1, 2020
commit 90dce62bcfb35bf9f86e15e3bef1f4f08ba927b9
5 changes: 1 addition & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -29,15 +29,12 @@ thiserror = "1.0"
[dev-dependencies]
bincode = "1"
criterion = "0.3"
futures = "0.3"
lazy_static = "1.4"
proptest = "0.10"
rand = "0.7"
rand_chacha = "0.2"
proptest = "0.9"
lazy_static = "1.4"
bincode = "1"
tokio = { version = "0.2", features = ["full"] }
futures = "0.3"

[features]
nightly = []
6 changes: 3 additions & 3 deletions src/frost/share.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
use crate::{PublicKey, SpendAuth};
use crate::{SpendAuth, VerificationKey};

/// The threshold analogue of a [`SecretKey`](crate::SecretKey), used for
/// threshold signing.
pub struct SecretShare {
_config: super::Config,
}

impl<'a> From<&'a SecretShare> for PublicKey<SpendAuth> {
fn from(_ss: &'a SecretShare) -> PublicKey<SpendAuth> {
impl<'a> From<&'a SecretShare> for VerificationKey<SpendAuth> {
fn from(_ss: &'a SecretShare) -> VerificationKey<SpendAuth> {
unimplemented!();
}
}