Consensys/gnark-crypto

Test vectors for hash2curve for bn254

man2706kum opened this issue · 5 comments

The IETF draft does not have any test vectors for hash2curve for bn254 pairing curve. How was the test vector (https://github.com/ConsenSys/gnark-crypto/blob/master/ecc/bn254/hash_vectors_test.go) generated for the same?

Generated here: https://github.com/Tabaie/h2c-go-ref-tests/blob/autogen-tests/gnark_autogen_test.go#L145
This repo is a fork of h2c-go-ref by Armando Faz, one of the standard's authors.

The repo which you mentioned(https://github.com/Tabaie/h2c-go-ref-tests/blob/autogen-tests/gnark_autogen_test.go#L145) is showing not available. May be the repo is private i guess. @Tabaie

@man2706kum Can you see it now?

yes! I can see it. Thank you so much @Tabaie !!!