This is an automated email from the ASF dual-hosted git repository. kmccusker pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/incubator-milagro-crypto-rust.git
commit d6bd9142892f169fb0d01a8746dbdf9fd2458608 Merge: d9bdc2f 17c208e Author: Kealan McCusker <[email protected]> AuthorDate: Tue Apr 21 09:48:36 2020 +0100 Merge pull request #17 from sigp/standard-update Write hash to curve functions for BLS381 G1 and G2 Cargo.lock | 662 +++++++++++++++++++++ Cargo.toml | 16 +- src/big.rs | 11 +- src/bls.rs | 6 +- src/bls256.rs | 6 +- src/bls381.rs | 424 +++++++++++++ src/bls381/iso.rs | 335 +++++++++++ src/dbig.rs | 21 +- src/ecdh.rs | 3 +- src/ecp.rs | 23 + src/ecp2.rs | 45 +- src/errors.rs | 4 + src/fp.rs | 76 ++- src/fp2.rs | 23 + src/hash256.rs | 266 ++++++++- src/hash384.rs | 228 +++++-- src/hash512.rs | 296 ++++++++- src/hash_to_curve.rs | 307 ++++++++++ src/lib.rs | 45 +- src/nhs.rs | 1 - src/roms/{rom_bls381_32.rs => rom_bls381g1_32.rs} | 36 +- src/roms/{rom_bls381_64.rs => rom_bls381g1_64.rs} | 38 +- src/roms/{rom_bls381_32.rs => rom_bls381g2_32.rs} | 38 +- src/roms/{rom_bls381_64.rs => rom_bls381g2_64.rs} | 38 +- .../BLS12381G1_XMD:SHA-256_SSWU_NU_.json | 77 +++ .../BLS12381G1_XMD:SHA-256_SSWU_RO_.json | 97 +++ .../BLS12381G1_XMD:SHA-256_SVDW_NU_.json | 77 +++ .../BLS12381G1_XMD:SHA-256_SVDW_RO_.json | 97 +++ .../BLS12381G2_XMD:SHA-256_SSWU_NU_.json | 77 +++ .../BLS12381G2_XMD:SHA-256_SSWU_RO_.json | 97 +++ .../BLS12381G2_XMD:SHA-256_SVDW_NU_.json | 77 +++ .../BLS12381G2_XMD:SHA-256_SVDW_RO_.json | 97 +++ src/test_utils/mod.rs | 20 + src/test_utils/test_vector_structs.rs | 44 ++ 34 files changed, 3550 insertions(+), 158 deletions(-)
