-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,23 @@ | ||
# Test format: 'BLS12_MAP_FP2_TO_G2' | ||
|
||
maps extension field element into the G2 point | ||
|
||
## Test case format | ||
|
||
The test data is declared in a 'json' file: | ||
|
||
``` | ||
[ | ||
{ | ||
"Input": 64 bytes as an input that is interpreted as an element of the base field., | ||
"Name": the name of the test, | ||
"Expected": single G1 point 128 bytes, | ||
"Gas": the cost of the gas, | ||
"NoBenchmark": True/False | ||
}, | ||
.... | ||
] | ||
``` | ||
|
||
All byte(s) fields are encoded as strings, hexadecimal encoding | ||
|