Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
findora-crypto committed Dec 14, 2021
1 parent f7c5709 commit 991d5e7
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
- [\#301](https://github.com/arkworks-rs/algebra/pull/301) (ark-ec) Add `GLVParameters` trait definition.
- [\#312](https://github.com/arkworks-rs/algebra/pull/312) (ark-ec) Add `is_in_correct_subgroup_assuming_on_curve` for all `SWModelParameters`.
- [\#348](https://github.com/arkworks-rs/algebra/pull/348) (ark-ec) Add `msm:{Fixed,Variable}Base:msm_checked_len`.
- [\#364](https://github.com/arkworks-rs/algebra/pull/364) (ark-ec) Add `ChunkedPippenger` to variable-base MSM.

### Improvements

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h1 align="center">arkworks::algebra</h1>
<h1 style="text-align: center;">arkworks::algebra</h1>

<p align="center">
<p style="text-align: center;">
<img src="https://github.com/arkworks-rs/algebra/workflows/CI/badge.svg?branch=master">
<a href="https://github.com/arkworks-rs/algebra/blob/master/LICENSE-APACHE"><img src="https://img.shields.io/badge/license-APACHE-blue.svg"></a>
<a href="https://github.com/arkworks-rs/algebra/blob/master/LICENSE-MIT"><img src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
Expand Down
2 changes: 1 addition & 1 deletion ec/src/msm/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
mod fixed_base;
pub mod variable_base;
mod variable_base;
pub use fixed_base::*;
pub use variable_base::*;

Expand Down
2 changes: 1 addition & 1 deletion ec/src/msm/variable_base/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ use crate::{AffineCurve, ProjectiveCurve};
use rayon::prelude::*;

pub mod stream_pippenger;

pub use stream_pippenger::*;

pub struct VariableBase;

impl VariableBase {
Expand Down
2 changes: 2 additions & 0 deletions ec/src/msm/variable_base/stream_pippenger.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//! A space-efficient implementation of Pippenger's algorithm.
//!
use crate::AffineCurve;
use ark_ff::{PrimeField, Zero};

Expand All @@ -22,6 +23,7 @@ impl<G: AffineCurve> ChunkedPippenger<G> {
buf_size: max_msm_buffer,
}
}

/// Initialize a chunked Pippenger instance with the given buffer size.
pub fn with_size(buf_size: usize) -> Self {
Self {
Expand Down

0 comments on commit 991d5e7

Please sign in to comment.