eth2.0-specs/test_generators/bls
protolambda a9054fb85d
fix BLS msg hash handler naming
2019-04-11 19:17:53 +10:00
..
README.md minor fixes 2019-04-03 13:50:56 +11:00
main.py fix BLS msg hash handler naming 2019-04-11 19:17:53 +10:00
requirements.txt port BLS tests to new suite format 2019-04-11 19:15:23 +10:00

README.md

BLS Test Generator

Explanation of BLS12-381 type hierarchy The base unit is bytes48 of which only 381 bits are used

  • FQ: uint381 modulo field modulus
  • FQ2: (FQ, FQ)
  • G2: (FQ2, FQ2, FQ2)

Resources

Comments

Compared to Zcash, Ethereum specs always requires the compressed form (c_flag / most significant bit always set). Also note that pubkeys and privkeys are reversed.