Skip to content

Commit

Permalink
refactor msm module
Browse files Browse the repository at this point in the history
  • Loading branch information
huyuncong committed Dec 14, 2021
1 parent d8e101c commit f7c5709
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 1 addition & 3 deletions ec/src/msm/mod.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
mod fixed_base;
mod variable_base;
pub mod variable_base;
pub use fixed_base::*;
pub use variable_base::*;

pub mod stream_pippenger;

/// The result of this function is only approximately `ln(a)`
/// [`Explanation of usage`]
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ use crate::{AffineCurve, ProjectiveCurve};
#[cfg(feature = "parallel")]
use rayon::prelude::*;

pub mod stream_pippenger;

pub use stream_pippenger::*;
pub struct VariableBase;

impl VariableBase {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion test-templates/src/msm.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use ark_ec::{
msm::{stream_pippenger::ChunkedPippenger, VariableBase},
msm::variable_base::{stream_pippenger::ChunkedPippenger, VariableBase},
AffineCurve, ProjectiveCurve,
};
use ark_ff::{PrimeField, UniformRand, Zero};
Expand Down

0 comments on commit f7c5709

Please sign in to comment.