Use a macro to generate the Secp256k1/P-256 curves

This commit is contained in:
Luke Parker
2022-06-24 08:44:12 -04:00
parent 03e759b1fd
commit 7ee9581d67
3 changed files with 133 additions and 134 deletions

View File

@@ -36,8 +36,8 @@ dalek-ff-group = { path = "../dalek-ff-group" }
[features]
curves = ["sha2"] # All officially denoted curves use the SHA2 family of hashes
kp256 = ["elliptic-curve", "curves"]
p256 = ["dep:p256", "kp256"]
k256 = ["dep:k256", "kp256"]
p256 = ["kp256", "dep:p256"]
secp256k1 = ["kp256", "k256"]
dalek = ["curves", "dalek-ff-group"]
ed25519 = ["dalek"]
ristretto = ["dalek"]