commit | 4e0d0c60a18c4b418932145002f12ad672f7f4de | [log] [tgz] |
---|---|---|
author | Kealan McCusker <kealanmccusker@gmail.com> | Mon Oct 12 07:45:47 2020 +0100 |
committer | GitHub <noreply@github.com> | Mon Oct 12 07:45:47 2020 +0100 |
tree | b3a93cb275075266fc9f3fa76004153071736092 | |
parent | 09c76994af628d736f9bfebe8cf0d29d5938ec8d [diff] | |
parent | 2436d2fc48d7d9a29cd26afddf5de4a71e6bec69 [diff] |
Merge pull request #47 from sigp/sk-0 Reject secret key zero
BLS12-381 has been updated to the the most recent standards being bls-signatures-04 and hash-to-curve-09.
Updated to Rust 2018.
This version of the library requires Version 1.31+ of Rust for the 2018 edition.
AMCL version 2 is distributed as a cargo crate.
Modulues (namespaces) are used to separate different curves.
Unit testing can be done using cargo testing framework.
Note: --all-features
may be replaced by --features xx
where xx
is the desired feature e.g. bls381
.
cargo test --all --all-features --release
cargo bench --features bench
Note SHA-2
and SHA-3
features will always be compiled however all other features require the feature flag --features xx