apache / incubator-milagro-crypto-rust

Apache Milagro Crypto Library - Rust Version
https://milagro.apache.org/
Apache License 2.0
31 stars 19 forks source link

Write hash to curve functions for BLS381 G1 and G2 #17

Closed kirk-baird closed 4 years ago

kirk-baird commented 4 years ago

Issue

3

This does not complete all of #3 it only covers BLS381 hash_to_curve for both G1 and G2, though much of this is generic and so will be reusable for other curves.

Proposed Changes

Additional Comments

The draft-hash-to-draft and draft-bls-signatures are both work in progress and will have further updates.

Test vectors have been included from the draft-hash-to-curve for both G1 and G2.

BLS381 feature has been split into two to represent the Signatures on G1 vs G2