aes 0.9.4

Pure Rust implementation of the Advanced Encryption Standard (a.k.a. Rijndael)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub(crate) mod soft;

cpubits::cfg_if! {
    if #[cfg(aes_backend = "soft")] {
        // Do not add other backends if software backend is forced
    } else if #[cfg(all(target_arch = "aarch64", not(miri)))] {
        // Note: Miri does not support AArch64 AES intrinsics yet
        pub(crate) mod aarch64_aes;
    } else if #[cfg(any(target_arch = "x86_64", target_arch = "x86"))] {
        pub(crate) mod x86_aes;
        pub(crate) mod x86_vaes256;
        pub(crate) mod x86_vaes512;
    }
}