diff --git a/sachy-crypto/src/lib.rs b/sachy-crypto/src/lib.rs index 361b85c..9981068 100644 --- a/sachy-crypto/src/lib.rs +++ b/sachy-crypto/src/lib.rs @@ -9,8 +9,6 @@ use dhkem::{ }; use elliptic_curve::subtle::ConstantTimeEq; -extern crate alloc; - /// Error type. /// /// This type is deliberately opaque as to avoid potential side-channel @@ -315,6 +313,8 @@ mod tests { use dhkem::Generate; use elliptic_curve::array::Array; + extern crate alloc; + use super::*; #[test]