aocl_crypto/lib.rs
1//! Safe wrappers for AOCL-Cryptography (ALCP).
2//!
3//! Modules:
4//! - [`digest`] — MD5, SHA-1, SHA-2, SHA-3 hash functions
5//! - [`cipher`] — AES (ECB / CBC / OFB / CTR / CFB / XTS) and ChaCha20
6//! stream-cipher encryption
7//! - [`mac`] — Message Authentication Codes: HMAC, CMAC, Poly1305
8//! - [`aead`] — AES-GCM, AES-CCM, AES-SIV, ChaCha20-Poly1305 authenticated
9//! encryption with associated data
10
11#![warn(missing_debug_implementations)]
12#![cfg_attr(docsrs, feature(doc_cfg))]
13
14pub mod aead;
15pub mod cipher;
16pub mod digest;
17pub mod drbg;
18pub mod ec;
19pub mod mac;
20pub mod rsa;
21
22pub use aocl_error::{Error, Result};