Skip to content

Commit

Permalink
map g22
Browse files Browse the repository at this point in the history
  • Loading branch information
asanso committed Mar 7, 2024
1 parent 1616550 commit 3696129
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def hex_to_int(x: str) -> int:
'000000000000000000000000000000000caead0fd7b6176c01436833c79d305c78be307da5f6af6c133c47311def6ff1e0babf57a0fb5539fce7ee12407b0a42',
'000000000000000000000000000000001498aadcf7ae2b345243e281ae076df6de84455d766ab6fcdaad71fab60abb2e8b980a440043cd305db09d283c895e3d'),
(b'abc',
'0000000000000000000000000000000x138879a9559e24cecee8697b8b4ad32cced053138ab913b99872772dc753a2967ed50aabc907937aefb2439ba06cc50c',
'000000000000000000000000000000000138879a9559e24cecee8697b8b4ad32cced053138ab913b99872772dc753a2967ed50aabc907937aefb2439ba06cc50c',
'000000000000000000000000000000000a1ae7999ea9bab1dcc9ef8887a6cb6e8f1e22566015428d220b7eec90ffa70ad1f624018a9ad11e78d588bd3617f9f2',
'00000000000000000000000000000000108ed59fd9fae381abfd1d6bce2fd2fa220990f0f837fa30e0f27914ed6e1454db0d1ee957b219f61da6ff8be0d6441f',
'000000000000000000000000000000000296238ea82c6d4adb3c838ee3cb2346049c90b96d602d7bb1b469b905c9228be25c627bffee872def773d5b2a2eb57d',
Expand Down Expand Up @@ -474,9 +474,9 @@ def case06_map_fp2_to_G2():
"NoBenchmark": False
},
{
"Input": HASH_G2_MESSAGES[0][1] + HASH_G2_MESSAGES[0][2],
"Name": "bls_g2map_" + encode_hex(HASH_G2_MESSAGES[0][0])[0:16],
"Expected": HASH_G2_MESSAGES[0][3] + HASH_G2_MESSAGES[0][4] + HASH_G2_MESSAGES[0][5] + HASH_G2_MESSAGES[0][6],
"Input": HASH_G2_MESSAGES[1][1] + HASH_G2_MESSAGES[1][2],
"Name": "bls_g2map_" + encode_hex(HASH_G2_MESSAGES[1][0])[0:16],
"Expected": HASH_G2_MESSAGES[1][3] + HASH_G2_MESSAGES[1][4] + HASH_G2_MESSAGES[1][5] + HASH_G2_MESSAGES[1][6],
"Gas": BLS12_MAP_FP2_TO_G2_GAS,
"NoBenchmark": False
},
Expand Down

0 comments on commit 3696129

Please sign in to comment.