15 lines
561 B
Rust
15 lines
561 B
Rust
mod error;
|
|
mod ikm;
|
|
mod scheme;
|
|
|
|
pub use error::Error;
|
|
pub use ikm::InputKeyMaterialList;
|
|
pub use scheme::Scheme;
|
|
|
|
#[cfg(feature = "ikm-management")]
|
|
const DEFAULT_IKM_DURATION: u64 = 60 * 60 * 24 * 365; // In seconds
|
|
#[cfg(feature = "ikm-management")]
|
|
const DEFAULT_SCHEME: Scheme = Scheme::XChaCha20Poly1305WithBlake3;
|
|
|
|
#[cfg(not(feature = "i-understand-and-accept-the-risks"))]
|
|
compile_error!("This crate is experimental and therefore comes with absolutely no security guaranty. To use it anyway, enable the \"i-understand-and-accept-the-risks\" feature.");
|