Skip to content

Commit

Permalink
TODOs part 1
Browse files Browse the repository at this point in the history
  • Loading branch information
fjarri committed Jan 26, 2025
1 parent add029f commit 6e9c16f
Show file tree
Hide file tree
Showing 9 changed files with 870 additions and 714 deletions.
8 changes: 5 additions & 3 deletions synedrion/src/cggmp21.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ mod key_refresh_tests;

pub use aux_gen::{AuxGen, AuxGenProtocol};
pub use entities::{AuxInfo, KeyShare, KeyShareChange};
pub use interactive_signing::{InteractiveSigning, InteractiveSigningProtocol, PrehashedMessage};
pub use key_init::{KeyInit, KeyInitProtocol};
pub use key_refresh::{KeyRefresh, KeyRefreshProtocol};
pub use interactive_signing::{
InteractiveSigning, InteractiveSigningAssociatedData, InteractiveSigningProtocol, PrehashedMessage,
};
pub use key_init::{KeyInit, KeyInitAssociatedData, KeyInitProtocol};
pub use key_refresh::{KeyRefresh, KeyRefreshAssociatedData, KeyRefreshProtocol};
pub use params::{ProductionParams, SchemeParams, TestParams};
1 change: 0 additions & 1 deletion synedrion/src/cggmp21/entities.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,6 @@ impl<P: SchemeParams, I: Clone + Ord + Debug> KeyShare<P, I> {
&self.secret
}

#[cfg(test)]
pub(crate) fn public(&self) -> &PublicKeyShares<P, I> {
&self.public
}
Expand Down
528 changes: 263 additions & 265 deletions synedrion/src/cggmp21/interactive_signing.rs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion synedrion/src/cggmp21/interactive_signing_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ fn r2_elog_failed() {
) -> Result<NormalBroadcast, LocalError> {
if round.id() == 2 {
let round2 = round.downcast_ref::<Round2<P, Id>>()?;
let aux = (&round2.context.epid_hash, &round2.context.my_id);
let aux = (&round2.context.epid, &round2.context.my_id);

let cap_y = round2.context.y.mul_by_generator();
let cap_b1 = round2.context.b.mul_by_generator();
Expand Down
Loading

0 comments on commit 6e9c16f

Please sign in to comment.