25 lines
933 B
Rust
25 lines
933 B
Rust
//! # ccc-crypto-boring
|
|
//!
|
|
//! BoringSSL implementation of the CCC provider traits, through Cloudflare's
|
|
//! [`boring`] crate. It adds a native library family next to wolfSSL and
|
|
//! RustCrypto (design: "Provider diversity"). Built with the `fips`
|
|
//! feature it links BoringCrypto, the FIPS 140 validated module, and can
|
|
//! supply a suite's vetted layer; otherwise `fips_mode()` is `false`.
|
|
//!
|
|
//! Licences: `boring` is Apache-2.0 and `boring-sys` is MIT. The vendored
|
|
//! BoringSSL (libcrypto) is Apache-2.0 throughout, including the files that
|
|
//! came from OpenSSL; only its Go test harness, which is not linked, is under
|
|
//! the Go licence.
|
|
//!
|
|
//! The crate is independent of the AWS-LC provider (itself a BoringSSL fork):
|
|
//! the two never share a build or a symbol namespace.
|
|
|
|
#![forbid(unsafe_code)]
|
|
|
|
pub mod hash;
|
|
pub mod kdf;
|
|
pub mod mac;
|
|
|
|
/// The provider's registry name.
|
|
pub const PROVIDER_NAME: &str = "boring";
|