penumbra_proto/gen/
penumbra.crypto.decaf377_frost.v1.rs#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct VerifiableSecretSharingCommitment {
#[prost(bytes = "vec", repeated, tag = "1")]
pub elements: ::prost::alloc::vec::Vec<::prost::alloc::vec::Vec<u8>>,
}
impl ::prost::Name for VerifiableSecretSharingCommitment {
const NAME: &'static str = "VerifiableSecretSharingCommitment";
const PACKAGE: &'static str = "penumbra.crypto.decaf377_frost.v1";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("penumbra.crypto.decaf377_frost.v1.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DkgRound1Package {
#[prost(message, optional, tag = "1")]
pub commitment: ::core::option::Option<VerifiableSecretSharingCommitment>,
#[prost(bytes = "vec", tag = "2")]
pub proof_of_knowledge: ::prost::alloc::vec::Vec<u8>,
}
impl ::prost::Name for DkgRound1Package {
const NAME: &'static str = "DKGRound1Package";
const PACKAGE: &'static str = "penumbra.crypto.decaf377_frost.v1";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("penumbra.crypto.decaf377_frost.v1.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SigningShare {
#[prost(bytes = "vec", tag = "1")]
pub scalar: ::prost::alloc::vec::Vec<u8>,
}
impl ::prost::Name for SigningShare {
const NAME: &'static str = "SigningShare";
const PACKAGE: &'static str = "penumbra.crypto.decaf377_frost.v1";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("penumbra.crypto.decaf377_frost.v1.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DkgRound2Package {
#[prost(message, optional, tag = "1")]
pub signing_share: ::core::option::Option<SigningShare>,
}
impl ::prost::Name for DkgRound2Package {
const NAME: &'static str = "DKGRound2Package";
const PACKAGE: &'static str = "penumbra.crypto.decaf377_frost.v1";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("penumbra.crypto.decaf377_frost.v1.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NonceCommitment {
#[prost(bytes = "vec", tag = "1")]
pub element: ::prost::alloc::vec::Vec<u8>,
}
impl ::prost::Name for NonceCommitment {
const NAME: &'static str = "NonceCommitment";
const PACKAGE: &'static str = "penumbra.crypto.decaf377_frost.v1";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("penumbra.crypto.decaf377_frost.v1.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SigningCommitments {
#[prost(message, optional, tag = "1")]
pub hiding: ::core::option::Option<NonceCommitment>,
#[prost(message, optional, tag = "2")]
pub binding: ::core::option::Option<NonceCommitment>,
}
impl ::prost::Name for SigningCommitments {
const NAME: &'static str = "SigningCommitments";
const PACKAGE: &'static str = "penumbra.crypto.decaf377_frost.v1";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("penumbra.crypto.decaf377_frost.v1.{}", Self::NAME)
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SignatureShare {
#[prost(bytes = "vec", tag = "1")]
pub scalar: ::prost::alloc::vec::Vec<u8>,
}
impl ::prost::Name for SignatureShare {
const NAME: &'static str = "SignatureShare";
const PACKAGE: &'static str = "penumbra.crypto.decaf377_frost.v1";
fn full_name() -> ::prost::alloc::string::String {
::prost::alloc::format!("penumbra.crypto.decaf377_frost.v1.{}", Self::NAME)
}
}