lib.rs
AES-256-CTR cipher markerEncryption term followed by block sizing
SHA-256184a04772a836d631c62a3fc4bb780fc5a55a7719bbdb3a637a508d5e33c1d13
MaleculeH₂(CmCr₂)
Evidence
29:4… intrinsics is autodetected at runtime. On other platforms the `crypto`
30//! target feature must be enabled via RUSTFLAGS.
31//!
32//! ## `x86`/`x86_64` intrinsics (AES-NI)
33//! By default this crate uses …
89:13… docsrs, feature(doc_cfg))]
90#![doc(
91 html_logo_url = "https://raw.githubusercontent.com/RustCrypto/meta/master/logo.svg",
92 html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/meta/master/logo.svg"
93)]
94#![warn(missing_ …
96:46… force-soft")))]
97pub mod hazmat;
98
99mod soft;
100
101use cfg_if::cfg_if;
102
103cfg_if! {
104 if #[cfg(all(target_arch = "aarch64", feature = "armv8", not(feature = "force-s …
109:25… "ctr")]
110 pub use autodetect::ctr::{Aes128Ctr, Aes192Ctr, Aes256Ctr};
111 } else if #[cfg(all(
112 any(target_arch = "x86_64", target_arch = "x86"),
113 not(feature = "force-soft")
114 )) …
135pub type ParBlocks = cipher::generic_array::GenericArray<Block, cipher::consts::U8>;
136
137/// Size of an AES block (128-bits; 16-bytes)
138pub const BLOCK_SIZE: usize = 16;