mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Add prime-field crate
prime-field introduces a macro to generate a prime field, in its entitrety, de-duplicating code across minimal-ed448, embedwards25519, and secq256k1.
This commit is contained in:
@@ -28,6 +28,7 @@ multiexp = { path = "../../crypto/multiexp", default-features = false, features
|
||||
|
||||
schnorr-signatures = { path = "../../crypto/schnorr", default-features = false }
|
||||
|
||||
prime-field = { path = "../../crypto/prime-field", default-features = false, features = ["alloc"] }
|
||||
secq256k1 = { path = "../../crypto/evrf/secq256k1", default-features = false }
|
||||
embedwards25519 = { path = "../../crypto/evrf/embedwards25519", default-features = false }
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@ pub use multiexp;
|
||||
|
||||
pub use schnorr_signatures;
|
||||
|
||||
pub use prime_field;
|
||||
pub use secq256k1;
|
||||
pub use embedwards25519;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user