mod aes;
mod aria;
mod camellia;
mod chacha20;
mod chacha20_poly1305;
#[cfg(feature = "hazardous-legacy-crypto")]
mod des;
mod poly1305;
#[cfg(feature = "hazardous-legacy-crypto")]
mod rc4;
pub use aes::{
noxtls_aes_cbc_decrypt, noxtls_aes_cbc_encrypt, noxtls_aes_ccm_decrypt,
noxtls_aes_ccm_decrypt_with_tag_len, noxtls_aes_ccm_encrypt,
noxtls_aes_ccm_encrypt_with_tag_len, noxtls_aes_cfb_apply, noxtls_aes_cfb_decrypt,
noxtls_aes_cfb_encrypt, noxtls_aes_ctr_apply, noxtls_aes_gcm_decrypt, noxtls_aes_gcm_encrypt,
noxtls_aes_ofb_apply, noxtls_aes_xts_decrypt, noxtls_aes_xts_encrypt, AesCipher,
};
#[cfg(feature = "hazardous-legacy-crypto")]
pub use aes::{noxtls_aes_ecb_decrypt, noxtls_aes_ecb_encrypt};
pub use aria::{
noxtls_aria_cbc_decrypt, noxtls_aria_cbc_encrypt, noxtls_aria_cfb_apply,
noxtls_aria_cfb_decrypt, noxtls_aria_cfb_encrypt, noxtls_aria_ctr_apply,
noxtls_aria_ctr_decrypt, noxtls_aria_ctr_encrypt, noxtls_aria_ofb_apply,
noxtls_aria_ofb_decrypt, noxtls_aria_ofb_encrypt, AriaCipher,
};
#[cfg(feature = "hazardous-legacy-crypto")]
pub use aria::{noxtls_aria_ecb_decrypt, noxtls_aria_ecb_encrypt};
pub use camellia::{
noxtls_camellia_cbc_decrypt, noxtls_camellia_cbc_encrypt, noxtls_camellia_cfb_apply,
noxtls_camellia_cfb_decrypt, noxtls_camellia_cfb_encrypt, noxtls_camellia_ctr_apply,
noxtls_camellia_ctr_decrypt, noxtls_camellia_ctr_encrypt, noxtls_camellia_ofb_apply,
noxtls_camellia_ofb_decrypt, noxtls_camellia_ofb_encrypt, CamelliaCipher,
};
#[cfg(feature = "hazardous-legacy-crypto")]
pub use camellia::{noxtls_camellia_ecb_decrypt, noxtls_camellia_ecb_encrypt};
pub use chacha20::ChaCha20;
pub use chacha20_poly1305::{noxtls_chacha20_poly1305_decrypt, noxtls_chacha20_poly1305_encrypt};
#[cfg(feature = "hazardous-legacy-crypto")]
pub use des::{
noxtls_des_cbc_decrypt, noxtls_des_cbc_encrypt, noxtls_des_cfb_apply, noxtls_des_cfb_decrypt,
noxtls_des_cfb_encrypt, noxtls_des_ctr_apply, noxtls_des_ctr_decrypt, noxtls_des_ctr_encrypt,
noxtls_des_ecb_decrypt, noxtls_des_ecb_encrypt, noxtls_des_ofb_apply, noxtls_des_ofb_decrypt,
noxtls_des_ofb_encrypt, DesCipher,
};
#[allow(unused_imports)]
pub use poly1305::{
noxtls_poly1305_key_gen, noxtls_poly1305_mac, noxtls_poly1305_mac_padded16,
noxtls_poly1305_tags_equal,
};
pub(crate) use poly1305::{noxtls_poly1305_key_gen_prepared, noxtls_poly1305_mac_aead};
#[cfg(feature = "hazardous-legacy-crypto")]
pub use rc4::Rc4;