libes/enc/mod.rs
1//! Markers for Encryption algorithms supported by `libes`
2
3pub(crate) mod generics;
4
5#[cfg(feature = "ChaCha20-Poly1305")]
6mod chacha20poly1305;
7#[cfg(feature = "ChaCha20-Poly1305")]
8pub use self::chacha20poly1305::ChaCha20Poly1305;
9
10#[cfg(feature = "XChaCha20-Poly1305")]
11mod xchacha20poly1305;
12#[cfg(feature = "XChaCha20-Poly1305")]
13pub use xchacha20poly1305::XChaCha20Poly1305;
14
15#[cfg(feature = "AES256-GCM")]
16mod aes256gcm;
17#[cfg(feature = "AES256-GCM")]
18pub use aes256gcm::Aes256Gcm;