-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add
pub
modifier to grumpkin functions (#3036)
Co-authored-by: kevaundray <[email protected]>
- Loading branch information
1 parent
082a6d0
commit f8990d7
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
use crate::grumpkin_scalar::GrumpkinScalar; | ||
use crate::scalar_mul::fixed_base_embedded_curve; | ||
|
||
fn grumpkin_fixed_base(scalar: GrumpkinScalar) -> [Field; 2] { | ||
pub fn grumpkin_fixed_base(scalar: GrumpkinScalar) -> [Field; 2] { | ||
// TODO: this should use both the low and high limbs to do the scalar multiplication | ||
fixed_base_embedded_curve(scalar.low, scalar.high) | ||
} |