Skip to content

Commit

Permalink
DKG: more pub (#750)
Browse files Browse the repository at this point in the history
  • Loading branch information
benr-ml authored Mar 21, 2024
1 parent a4a60f8 commit 6dbb0ce
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion fastcrypto-tbls/src/dkg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ use tracing::{debug, error, info, warn};
/// Party in the DKG protocol.
#[derive(Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct Party<G: GroupElement, EG: GroupElement> {
id: PartyId,
pub id: PartyId,
nodes: Nodes<EG>,
t: u16,
random_oracle: RandomOracle,
Expand Down
2 changes: 0 additions & 2 deletions fastcrypto-tbls/src/ecies.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ where
Self(G::ScalarType::rand(rng))
}

#[cfg(test)]
pub fn from(sc: G::ScalarType) -> Self {
Self(sc)
}
Expand Down Expand Up @@ -117,7 +116,6 @@ where
}
}

#[cfg(test)]
impl<G: GroupElement> From<G> for PublicKey<G> {
fn from(p: G) -> Self {
Self(p)
Expand Down

0 comments on commit 6dbb0ce

Please sign in to comment.