forked from visoftsolutions/noir_rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: implementation for bigint opcodes (AztecProtocol#4288)
This PR implements bigint opcodes in barretenberg. It mainly implements a wrapper around the bigint ids that Noir uses, through a map id -> bigfield However, because you can use custom bigint modulus in Noir, and because modulus is hardcoded through template types in Barretenberg, the code (and the id->bigfield map) is duplicated for the 6 modulus type (base and scalar fields for bn254, secp256r1/k1) --------- Co-authored-by: ludamad <adam@aztecprotocol.com> Co-authored-by: kevaundray <kevtheappdev@gmail.com>
- Loading branch information
1 parent
7eb279c
commit 2c9c408
Showing
12 changed files
with
982 additions
and
51 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
Oops, something went wrong.