cipher/
lib.rs

1#![no_std]
2#![cfg_attr(docsrs, feature(doc_cfg))]
3#![doc = include_str!("../README.md")]
4#![doc(
5    html_logo_url = "https://raw.githubusercontent.com/RustCrypto/media/6ee8e381/logo.svg",
6    html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/6ee8e381/logo.svg"
7)]
8#![forbid(unsafe_code)]
9
10#[cfg(feature = "alloc")]
11extern crate alloc;
12
13#[cfg(feature = "dev")]
14pub use blobby;
15pub use common;
16#[cfg(feature = "rand_core")]
17pub use common::rand_core;
18pub use inout;
19#[cfg(feature = "block-padding")]
20pub use inout::block_padding;
21#[cfg(feature = "zeroize")]
22pub use zeroize;
23
24pub mod block;
25#[cfg(feature = "dev")]
26pub mod dev;
27pub mod stream;
28pub mod tweak;
29
30pub use block::*;
31pub use stream::*;
32pub use tweak::*;
33
34pub use common::{
35    AlgorithmName, Block, BlockSizeUser, InnerIvInit, InvalidLength, Iv, IvSizeUser, IvState, Key,
36    KeyInit, KeyIvInit, KeySizeUser, ParBlocks, ParBlocksSizeUser, SetIvState,
37    array::{self, Array},
38    typenum::{self, consts},
39};
40pub use inout::{InOut, InOutBuf};