Reworking bssl_crypto: tidy up module list.
Change-Id: I4d62715e98176e83c9f4257fc9b0f4492bc9f090
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/65179
Reviewed-by: Bob Beck <bbe@google.com>
diff --git a/rust/bssl-crypto/src/lib.rs b/rust/bssl-crypto/src/lib.rs
index 9dce7da..bb80ef4 100644
--- a/rust/bssl-crypto/src/lib.rs
+++ b/rust/bssl-crypto/src/lib.rs
@@ -24,8 +24,8 @@
#![cfg_attr(not(any(feature = "std", test)), no_std)]
//! Rust BoringSSL bindings
-extern crate alloc;
+extern crate alloc;
extern crate core;
use alloc::vec::Vec;
@@ -35,38 +35,32 @@
mod macros;
pub mod aead;
-
pub mod aes;
/// Ciphers.
pub mod cipher;
pub mod digest;
-
-pub mod ed25519;
-
-pub mod hkdf;
-
-pub mod hmac;
-
-pub mod x25519;
-
pub mod ec;
pub mod ecdh;
pub mod ecdsa;
+pub mod ed25519;
+pub mod hkdf;
+pub mod hmac;
pub mod rsa;
+pub mod x25519;
mod scoped;
+#[cfg(test)]
+mod test_helpers;
+
mod mem;
pub use mem::constant_time_compare;
mod rand;
pub use rand::{rand_array, rand_bytes};
-#[cfg(test)]
-mod test_helpers;
-
/// Error type for when a "signature" (either a public-key signature or a MAC)
/// is incorrect.
#[derive(Debug)]