eth2.0-specs/tests/generators/bls
Danny Ryan 676e216beb
reorg specs by fork and move ssz out to own folder. make all of the build and link changes to support move
2020-01-10 11:55:13 -07:00
..
README.md reorg specs by fork and move ssz out to own folder. make all of the build and link changes to support move 2020-01-10 11:55:13 -07:00
main.py reorg specs by fork and move ssz out to own folder. make all of the build and link changes to support move 2020-01-10 11:55:13 -07:00
requirements.txt reorg specs by fork and move ssz out to own folder. make all of the build and link changes to support move 2020-01-10 11:55:13 -07: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.