Skip to content

Commit

Permalink
Update map_fp2_to_G2_bls.md
Browse files Browse the repository at this point in the history
  • Loading branch information
asanso authored Mar 7, 2024
1 parent f182a2b commit 3b34242
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions formats/map_fp2_to_G2_bls.md
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

0 comments on commit 3b34242

Please sign in to comment.