#![doc(html_root_url = "https://briansmith.org/rustdoc/")]
#![allow(
missing_copy_implementations,
missing_debug_implementations,
non_camel_case_types,
non_snake_case,
unsafe_code
)]
#![deny(
missing_docs,
trivial_numeric_casts,
unstable_features, // Used by `internal_benches`
unused_qualifications,
variant_size_differences,
)]
#![forbid(
anonymous_parameters,
trivial_casts,
unused_extern_crates,
unused_import_braces,
unused_results,
warnings
)]
#![cfg_attr(
any(
target_os = "redox",
all(
not(test),
not(feature = "use_heap"),
unix,
not(any(target_os = "macos", target_os = "ios")),
any(not(target_os = "linux"), feature = "dev_urandom_fallback")
)
),
no_std
)]
#![cfg_attr(feature = "internal_benches", allow(unstable_features))]
#![cfg_attr(feature = "internal_benches", feature(test))]
#[macro_use]
mod debug;
#[macro_use]
mod bssl;
#[macro_use]
mod polyfill;
mod arithmetic;
pub mod aead;
pub mod agreement;
mod bits;
mod c;
pub mod constant_time;
pub mod io;
mod cpu;
pub mod digest;
mod ec;
mod endian;
pub mod error;
pub mod hkdf;
pub mod hmac;
mod limb;
pub mod pbkdf2;
mod pkcs8;
pub mod rand;
#[cfg(feature = "use_heap")]
mod rsa;
pub mod signature;
#[cfg(any(test, feature = "use_heap"))]
pub mod test;
mod sealed {
pub trait Sealed {}
}
#[cfg(test)]
mod tests {
bssl_test!(test_constant_time, bssl_constant_time_test_main);
}