kilic / bls12-381

High-speed BLS12-381 implementation in Go
Apache License 2.0
124 stars 47 forks source link

Ability to use big-endian variant of sgn0 in HashToCurve #30

Open troyronda opened 3 years ago

troyronda commented 3 years ago

The HashToCurve functions are currently hard-coded to use the little-endian variant (https://tools.ietf.org/html/draft-irtf-cfrg-hash-to-curve-06#section-4.1.2) of sgn0. It would be helpful if there was an additional option to use the big-endian variant (https://tools.ietf.org/html/draft-irtf-cfrg-hash-to-curve-06#section-4.1.1).

mratsim commented 2 years ago

This has been removed in Hash-To-Curve draft 7 https://github.com/cfrg/draft-irtf-cfrg-hash-to-curve/pull/230