[go: up one dir, main page]

aes 0.7.1

Pure Rust implementation of the Advanced Encryption Standard (a.k.a. Rijndael) including support for AES in counter mode (a.k.a. AES-CTR)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! AES in counter mode (a.k.a. AES-CTR)

// TODO(tarcieri): support generic CTR API

use super::{Aes128, Aes192, Aes256};

/// AES-128 in CTR mode
#[cfg_attr(docsrs, doc(cfg(feature = "ctr")))]
pub type Aes128Ctr = ::ctr::Ctr64BE<Aes128>;

/// AES-192 in CTR mode
#[cfg_attr(docsrs, doc(cfg(feature = "ctr")))]
pub type Aes192Ctr = ::ctr::Ctr64BE<Aes192>;

/// AES-256 in CTR mode
#[cfg_attr(docsrs, doc(cfg(feature = "ctr")))]
pub type Aes256Ctr = ::ctr::Ctr64BE<Aes256>;