-
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[evm precompiles] split parsing of field coords by curve
For BLS12-381 we now parse according to the spec https://eips.ethereum.org/EIPS/eip-2537#fine-points-and-encoding-of-base-elements making sure to check the 'upper' 16 bytes to be empty. If they are not we return IntLargerThanModulus.
- Loading branch information
Showing
1 changed file
with
44 additions
and
5 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