You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@milagro.apache.org by km...@apache.org on 2020/05/05 06:39:30 UTC
[incubator-milagro-crypto-rust] 44/44: Merge pull request #21 from
sigp/hash-to-curve-07
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 d8f3bb9891d5cdf0b1c775e8166751cebda70fcc
Merge: c492975 9a2581f
Author: Kealan McCusker <ke...@gmail.com>
AuthorDate: Tue May 5 07:38:39 2020 +0100
Merge pull request #21 from sigp/hash-to-curve-07
Update to hash-to-curve version 7 for BLS381
src/bls381.rs | 132 ++-------------------
src/ecp.rs | 2 +
src/ecp2.rs | 2 +
src/fp.rs | 23 ++--
src/fp12.rs | 2 +
src/fp2.rs | 19 ++-
src/fp4.rs | 2 +
src/hash256.rs | 10 +-
src/hash384.rs | 10 +-
src/hash512.rs | 10 +-
src/hash_to_curve.rs | 87 ++++++++------
src/roms/rom_bls381g1_32.rs | 4 +-
src/roms/rom_bls381g1_64.rs | 6 +-
src/roms/rom_bls381g2_32.rs | 6 +-
src/roms/rom_bls381g2_64.rs | 6 +-
.../BLS12381G1_XMD:SHA-256_SSWU_NU_.json | 43 ++++---
.../BLS12381G1_XMD:SHA-256_SSWU_RO_.json | 67 ++++++-----
.../BLS12381G1_XMD:SHA-256_SVDW_NU_.json | 43 ++++---
.../BLS12381G1_XMD:SHA-256_SVDW_RO_.json | 67 ++++++-----
.../BLS12381G2_XMD:SHA-256_SSWU_NU_.json | 43 ++++---
.../BLS12381G2_XMD:SHA-256_SSWU_RO_.json | 67 ++++++-----
.../BLS12381G2_XMD:SHA-256_SVDW_NU_.json | 43 ++++---
.../BLS12381G2_XMD:SHA-256_SVDW_RO_.json | 67 ++++++-----
src/test_utils/test_vector_structs.rs | 1 -
24 files changed, 331 insertions(+), 431 deletions(-)