Closed b13decker closed 1 week ago
Goal: implement the Cryptol function for verify_kzg_proof
verify_kzg_proof
Task(s):
KZG.cry
Dependencies:
validate_kzg_g1
BlsHelpers.cry
bls.KeyValidate
py_ecc_bls.KeyValidate
bytes_to_kzg_commitment
bytes_to_kzg_proof
verify_kzg_proof_impl
bls.bytes96_to_G2
signature_to_G2
bls.multiply
g2_multi
g1_mult
bls.add
g2_add
g1_add
bls.pairing_check
pairing
Depends on subtasks in #19.
Closed by #45.
Goal: implement the Cryptol function for
verify_kzg_proof
Task(s):
verify_kzg_proof
inKZG.cry
Dependencies:
validate_kzg_g1
inBlsHelpers.cry
which is just a wrapper aroundbls.KeyValidate
->py_ecc_bls.KeyValidate
bytes_to_kzg_commitment
inBlsHelpers.cry
bytes_to_kzg_proof
inBlsHelpers.cry
verify_kzg_proof_impl
inKZG.cry
bls.bytes96_to_G2
(pointer tosignature_to_G2
)bls.multiply
--- need a correspondingg2_multi
for G2 points (already have ag1_mult
)bls.add
--- need a correspondingg2_add
for G2 points (already have ag1_add
)bls.pairing_check
(pointer topairing
)