1 // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 2 // Copyright by contributors to this project. 3 // SPDX-License-Identifier: (Apache-2.0 OR MIT) 4 5 #![cfg_attr(not(feature = "std"), no_std)] 6 extern crate alloc; 7 8 mod aead; 9 mod dh; 10 mod ec; 11 mod kdf; 12 mod kem; 13 14 pub use aead::{AeadId, AeadType, AEAD_ID_EXPORT_ONLY, AES_TAG_LEN}; 15 pub use dh::DhType; 16 pub use ec::Curve; 17 pub use kdf::{KdfId, KdfType}; 18 pub use kem::{KemId, KemResult, KemType}; 19 20 #[cfg(feature = "mock")] 21 pub mod mock; 22