Cargo Features
[dependencies]
bls_amcl = { version = "0.7.0", default-features = false, features = ["SignatureG1", "SignatureG2"] }
- default = SignatureG2
-
The
SignatureG2
feature is set by default wheneverbls_amcl
is added without
somewhere in the dependency tree.default-features = false - SignatureG1
-
signature and message are in G1, verification key in G2
Affects
bls_amcl::SignatureGroup
,bls_amcl::SignatureGroupVec
,bls_amcl::VerkeyGroup
,bls_amcl::VerkeyGroupVec
,bls_amcl::ate_2_pairing
,bls_amcl::ate_multi_pairing
… - SignatureG2 default
-
signature and message are in G2, verification key in G1
Affects
bls_amcl::SignatureGroup
,bls_amcl::SignatureGroupVec
,bls_amcl::VerkeyGroup
,bls_amcl::VerkeyGroupVec
,bls_amcl::ate_2_pairing
,bls_amcl::ate_multi_pairing
…