diff options
author | Tony Arcieri <bascule@gmail.com> | 2022-01-22 15:03:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-22 15:03:05 -0700 |
commit | e02188cfaed91927083cbecac9f878a6d8d71958 (patch) | |
tree | e73b0bda359c79ac778c1f17057a73d3ada1e0a3 /spake2/src/tests.rs | |
parent | 0e89af61822595b0e110d399a1de3ce018157cf5 (diff) | |
download | PAKEs-e02188cfaed91927083cbecac9f878a6d8d71958.tar.xz |
spake2: initial `no_std` support (#87)
Still has a hard dependency on `alloc`, and with the current hard
dependency on `getrandom` also limited platform support
Diffstat (limited to 'spake2/src/tests.rs')
-rw-r--r-- | spake2/src/tests.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spake2/src/tests.rs b/spake2/src/tests.rs index 4599953..d063b86 100644 --- a/spake2/src/tests.rs +++ b/spake2/src/tests.rs @@ -2,6 +2,9 @@ //! spake2.test.test_compat.SPAKE2.test_asymmetric . The python test passes a //! deterministic RNG (used only for tests, of course) into the per-Group //! "random_scalar()" function, which results in some particular scalar. + +#![cfg(feature = "std")] + use super::*; use curve25519_dalek::constants::ED25519_BASEPOINT_POINT; |