-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhance BLS12-381 cryptographic operations and runtime configuration
- Updated BLS12-381 hash-to-curve functions to accept custom domain separation tags - Added constants and size limits for BLS12-381 cryptographic operations - Implemented gas metering for BLS12-381 aggregate and hash-to-curve functions - Enhanced host function registration for BLS12-381 cryptographic primitives - Updated runtime environment to include more flexible gas configuration - Improved error handling and logging for cryptographic host functions
- Loading branch information
Showing
11 changed files
with
801 additions
and
763 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package runtime | ||
|
||
const ( | ||
|
||
// Point lengths for BLS12-381 | ||
BLS12_381_G1_POINT_LEN = 48 | ||
BLS12_381_G2_POINT_LEN = 96 | ||
) |
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.