-
Notifications
You must be signed in to change notification settings - Fork 450
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AVM: Add bn256 pairing opcodes experimentally (#4013)
* add bn256 add, scalar multiply and pairing opcode * replace with gnark bn254 and bench * update opcost for bn256 according to benchmark Some doc tweaks, and moved implementation to pairing.go These opcodes should stay in vFuture until 1. We consider the serialization format 2. We have unit tests 3. We consider BLS 12-381 (and the opcodes of eip 2537) 4. Audit of gnark-crypto library Co-authored-by: Bo Yao <by677@nyu.edu> Co-authored-by: Bo Yao <bo@abstrlabs.com> Co-authored-by: bo-abstrlabs <96916614+bo-abstrlabs@users.noreply.github.com> Co-authored-by: chris erway <chris.erway@algorand.com>
- Loading branch information
1 parent
b3e19e7
commit 8088e04
Showing
12 changed files
with
396 additions
and
45 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
Oops, something went wrong.