aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorBrian Warner <warner@lothar.com>2018-05-25 11:54:30 -0700
committerBrian Warner <warner@lothar.com>2018-05-25 11:55:02 -0700
commit2e0fbf22e56ee9cb706a131aacee02c28891ec71 (patch)
tree94edd1c8309ec79ee41c2b8a2156a82a514a32ae /src/lib.rs
parent2c1f68d6be76af9c6f93c2f80880de23511b00ab (diff)
downloadPAKEs-2e0fbf22e56ee9cb706a131aacee02c28891ec71.tar.xz
implement Debug for SPAKE2, to help downstream applications derive it
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 4737738..dfc4b23 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,18 +1,14 @@
extern crate curve25519_dalek;
+extern crate hex;
extern crate hkdf;
extern crate num_bigint;
extern crate rand;
extern crate sha2;
-//extern crate hex;
-
mod spake2;
pub use spake2::*;
#[cfg(test)]
-extern crate hex;
-
-#[cfg(test)]
mod tests {
use spake2::{Ed25519Group, ErrorType, SPAKE2, SPAKEErr};