forked from RustCrypto/elliptic-curves
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for RISC Zero acceleration for k256
Squashed commit of the following: commit 5fea17d Author: Victor Graf <[email protected]> Date: Fri Sep 15 11:13:34 2023 -0700 fix potential overflow error in FieldElement8x32R0::add (#2) commit 44b1fc2 Author: Victor Graf <[email protected]> Date: Tue Jun 13 10:39:13 2023 -0700 Use RISC Zero BigInt multiplier to accelerate k256 within the zkVM guest (#1) Building on risc0/risc0#466, this PR enables the use of the RISC Zero 256-bit modular multiplication accelerator within guest code for k256 arithmetic, including ECDSA. A key application, ECDSA verification is accelerated significantly from a little over 5M cycles without acceleration support to about 890k cycles. Based on [email protected]
- Loading branch information
Showing
13 changed files
with
614 additions
and
74 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.