make edwards an optional feature, and separate benches
This commit is contained in:
parent
28f58d7222
commit
3c61f6f043
5 changed files with 59 additions and 39 deletions
|
|
@ -1,3 +1,5 @@
|
|||
#![cfg(feature = "edwards")]
|
||||
|
||||
use crate::traits::{Curve, Point};
|
||||
use crypto_bigint::{AddMod, ConstZero, Integer, InvMod, MulMod, NonZero, SubMod, U448};
|
||||
use std::ops::Div;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
#[macro_use]
|
||||
mod macros;
|
||||
|
||||
#[cfg(feature = "edwards")]
|
||||
pub mod edwards;
|
||||
pub mod montgomery;
|
||||
pub mod traits;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue