Outdated and incompatible hash_to_curve
mratsim opened this issue · 1 comments
mratsim commented
The library is currently using the hash_to_curve draft 6 scheme.
It is incompatible with what is used in Ethereum Consensus layer (H2C draft 7 minimum), in particular due to the changes in sgn0
introduced in https://github.com/cfrg/draft-irtf-cfrg-hash-to-curve/pull/230/files
See vectors: https://github.com/ethereum/bls12-381-tests
There shouldn't be any impact on the execution layer because there is no hash-to-curve precompile (yet) but EIP2537 will be added soon: https://arachnid.github.io/EIPs/EIPS/eip-2537