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 <victor@risczero.com> Date: Fri Sep 15 11:13:34 2023 -0700 fix potential overflow error in FieldElement8x32R0::add (#2) commit 44b1fc2 Author: Victor Graf <victor@risczero.com> 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 k256@v0.13.1
- Loading branch information
Showing
13 changed files
with
621 additions
and
75 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.