diff --git a/frost-ed25519/src/lib.rs b/frost-ed25519/src/lib.rs index 02f59d49..703da346 100644 --- a/frost-ed25519/src/lib.rs +++ b/frost-ed25519/src/lib.rs @@ -260,6 +260,9 @@ pub mod keys { /// A secret scalar value representing a signer's share of the group secret. pub type SigningShare = frost::keys::SigningShare; + /// A public group element that represents a single signer's public verification share. + pub type VerifyingShare = frost::keys::VerifyingShare; + /// A FROST(Ed25519, SHA-512) keypair, which can be generated either by a trusted dealer or using /// a DKG. /// @@ -311,6 +314,9 @@ pub mod round1 { /// SigningCommitment can be used for exactly *one* signature. pub type SigningCommitments = frost::round1::SigningCommitments; + /// A commitment to a signing nonce share. + pub type NonceCommitment = frost::round1::NonceCommitment; + /// Performed once by each participant selected for the signing operation. /// /// Generates the signing nonces and commitments to be used in the signing @@ -339,6 +345,9 @@ pub mod round2 { /// shares into the joint signature. pub type SignatureShare = frost::round2::SignatureShare; + /// A representation of a single signature share used in FROST structures and messages. + pub type SignatureResponse = frost::round2::SignatureResponse; + /// Performed once by each participant selected for the signing operation. /// /// Receives the message to be signed and a set of signing commitments and a set diff --git a/frost-ed448/src/lib.rs b/frost-ed448/src/lib.rs index 17e0a662..a227f9f9 100644 --- a/frost-ed448/src/lib.rs +++ b/frost-ed448/src/lib.rs @@ -254,6 +254,9 @@ pub mod keys { /// A secret scalar value representing a signer's share of the group secret. pub type SigningShare = frost::keys::SigningShare; + /// A public group element that represents a single signer's public verification share. + pub type VerifyingShare = frost::keys::VerifyingShare; + /// A FROST(Ed448, SHAKE256) keypair, which can be generated either by a trusted dealer or using /// a DKG. /// @@ -305,6 +308,9 @@ pub mod round1 { /// SigningCommitment can be used for exactly *one* signature. pub type SigningCommitments = frost::round1::SigningCommitments; + /// A commitment to a signing nonce share. + pub type NonceCommitment = frost::round1::NonceCommitment; + /// Performed once by each participant selected for the signing operation. /// /// Generates the signing nonces and commitments to be used in the signing @@ -333,6 +339,9 @@ pub mod round2 { /// shares into the joint signature. pub type SignatureShare = frost::round2::SignatureShare; + /// A representation of a single signature share used in FROST structures and messages. + pub type SignatureResponse = frost::round2::SignatureResponse; + /// Performed once by each participant selected for the signing operation. /// /// Receives the message to be signed and a set of signing commitments and a set diff --git a/frost-p256/src/lib.rs b/frost-p256/src/lib.rs index d6ed71f9..b458513f 100644 --- a/frost-p256/src/lib.rs +++ b/frost-p256/src/lib.rs @@ -284,6 +284,9 @@ pub mod keys { /// A secret scalar value representing a signer's share of the group secret. pub type SigningShare = frost::keys::SigningShare

; + /// A public group element that represents a single signer's public verification share. + pub type VerifyingShare = frost::keys::VerifyingShare

; + /// A FROST(P-256, SHA-256) keypair, which can be generated either by a trusted dealer or using /// a DKG. /// @@ -335,6 +338,9 @@ pub mod round1 { /// SigningCommitment can be used for exactly *one* signature. pub type SigningCommitments = frost::round1::SigningCommitments

; + /// A commitment to a signing nonce share. + pub type NonceCommitment = frost::round1::NonceCommitment

; + /// Performed once by each participant selected for the signing operation. /// /// Generates the signing nonces and commitments to be used in the signing @@ -363,6 +369,9 @@ pub mod round2 { /// shares into the joint signature. pub type SignatureShare = frost::round2::SignatureShare

; + /// A representation of a single signature share used in FROST structures and messages. + pub type SignatureResponse = frost::round2::SignatureResponse

; + /// Performed once by each participant selected for the signing operation. /// /// Receives the message to be signed and a set of signing commitments and a set diff --git a/frost-ristretto255/src/lib.rs b/frost-ristretto255/src/lib.rs index 3b94790a..8468adfe 100644 --- a/frost-ristretto255/src/lib.rs +++ b/frost-ristretto255/src/lib.rs @@ -248,6 +248,9 @@ pub mod keys { /// A secret scalar value representing a signer's share of the group secret. pub type SigningShare = frost::keys::SigningShare; + /// A public group element that represents a single signer's public verification share. + pub type VerifyingShare = frost::keys::VerifyingShare; + /// A FROST(ristretto255, SHA-512) keypair, which can be generated either by a trusted dealer or using /// a DKG. /// @@ -299,6 +302,9 @@ pub mod round1 { /// SigningCommitment can be used for exactly *one* signature. pub type SigningCommitments = frost::round1::SigningCommitments; + /// A commitment to a signing nonce share. + pub type NonceCommitment = frost::round1::NonceCommitment; + /// Performed once by each participant selected for the signing operation. /// /// Generates the signing nonces and commitments to be used in the signing @@ -327,6 +333,9 @@ pub mod round2 { /// shares into the joint signature. pub type SignatureShare = frost::round2::SignatureShare; + /// A representation of a single signature share used in FROST structures and messages. + pub type SignatureResponse = frost::round2::SignatureResponse; + /// Performed once by each participant selected for the signing operation. /// /// Receives the message to be signed and a set of signing commitments and a set diff --git a/frost-secp256k1/src/lib.rs b/frost-secp256k1/src/lib.rs index 4b419f7b..388f0836 100644 --- a/frost-secp256k1/src/lib.rs +++ b/frost-secp256k1/src/lib.rs @@ -283,6 +283,9 @@ pub mod keys { /// A secret scalar value representing a signer's share of the group secret. pub type SigningShare = frost::keys::SigningShare; + /// A public group element that represents a single signer's public verification share. + pub type VerifyingShare = frost::keys::VerifyingShare; + /// A FROST(secp256k1, SHA-256) keypair, which can be generated either by a trusted dealer or using /// a DKG. /// @@ -334,6 +337,9 @@ pub mod round1 { /// SigningCommitment can be used for exactly *one* signature. pub type SigningCommitments = frost::round1::SigningCommitments; + /// A commitment to a signing nonce share. + pub type NonceCommitment = frost::round1::NonceCommitment; + /// Performed once by each participant selected for the signing operation. /// /// Generates the signing nonces and commitments to be used in the signing @@ -362,6 +368,9 @@ pub mod round2 { /// shares into the joint signature. pub type SignatureShare = frost::round2::SignatureShare; + /// A representation of a single signature share used in FROST structures and messages. + pub type SignatureResponse = frost::round2::SignatureResponse; + /// Performed once by each participant selected for the signing operation. /// /// Receives the message to be signed and a set of signing commitments and a set