signal_crypto_syft/lib.rs
1//
2// Copyright 2021 Signal Messenger, LLC.
3// SPDX-License-Identifier: AGPL-3.0-only
4//
5
6#![deny(clippy::unwrap_used)]
7
8mod error;
9mod hash;
10mod hpke;
11
12mod aes_cbc;
13mod aes_ctr;
14mod aes_gcm;
15
16pub use aes_cbc::{DecryptionError, EncryptionError, aes_256_cbc_decrypt, aes_256_cbc_encrypt};
17pub use aes_ctr::Aes256Ctr32;
18pub use aes_gcm::{Aes256GcmDecryption, Aes256GcmEncryption};
19pub use error::{Error, Result};
20pub use hash::{CryptographicHash, CryptographicMac};
21pub use hpke::{HpkeError, SimpleHpkeReceiver, SimpleHpkeSender};