aes/backends/fixslice/
mod.rs1use cipher::array::Array;
17
18pub(super) mod aes128;
19pub(super) mod aes192;
20pub(super) mod aes256;
21#[cfg(feature = "hazmat")]
22pub(crate) mod hazmat;
23
24mod mix_columns;
25mod sbox;
26mod utils;
27mod word;
28
29use word::Word;
30
31type State<W> = [W; 8];
32
33cpubits::cpubits! {
34 16 | 32 => {
35 pub(super) type NativeWord = u32;
36 }
37 64 => {
38 pub(super) type NativeWord = u64;
39 }
40}
41
42pub(super) type NativeBatchSize = <NativeWord as Word>::Blocks;
43pub(super) type BatchBlocks<W> = Array<crate::Block, <W as Word>::Blocks>;