-
Notifications
You must be signed in to change notification settings - Fork 204
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(stdlib)!: Rename
fixed_base_scalar_mul
to be more descriptive (…
…#2488) Co-authored-by: Tom French <[email protected]> Co-authored-by: Maxim Vezenov <[email protected]>
- Loading branch information
1 parent
1d9bcd0
commit 6efc007
Showing
5 changed files
with
11 additions
and
5 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
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
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,2 +1,8 @@ | ||
// Computes a fixed base scalar multiplication over the embedded curve. | ||
// For bn254, We have Grumpkin and Baby JubJub. | ||
// For bls12-381, we have JubJub and Bandersnatch. | ||
// | ||
// The embedded curve being used is decided by the | ||
// underlying proof system. | ||
#[foreign(fixed_base_scalar_mul)] | ||
fn fixed_base(_input : Field) -> [Field; 2] {} | ||
fn fixed_base_embedded_curve(_input : Field) -> [Field; 2] {} |