mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-07 20:50:39 +00:00
Add a feature gate for unfinished implementations.
This commit is contained in:
parent
ea5efcdc29
commit
c2bee88c0f
2 changed files with 4 additions and 0 deletions
|
|
@ -25,6 +25,7 @@ version = "0.3"
|
||||||
[features]
|
[features]
|
||||||
default = ["std"]
|
default = ["std"]
|
||||||
std = ["rand"]
|
std = ["rand"]
|
||||||
|
yolocrypto = []
|
||||||
|
|
||||||
# The development profile, used for `cargo build`.
|
# The development profile, used for `cargo build`.
|
||||||
[profile.dev]
|
[profile.dev]
|
||||||
|
|
|
||||||
|
|
@ -46,6 +46,9 @@ extern crate rand;
|
||||||
pub mod field;
|
pub mod field;
|
||||||
pub mod scalar;
|
pub mod scalar;
|
||||||
pub mod curve;
|
pub mod curve;
|
||||||
|
|
||||||
|
// Feature gate decaf while our implementation is unfinished and probably incorrect.
|
||||||
|
#[cfg(feature = "yolocrypto")]
|
||||||
pub mod decaf;
|
pub mod decaf;
|
||||||
|
|
||||||
// Constant-time functions and other miscelaneous utilities.
|
// Constant-time functions and other miscelaneous utilities.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue