[go: up one dir, main page]

ctr 0.5.0

CTR block mode of operation
Documentation
1
2
3
4
5
6
7
type Aes128Ctr = ctr::Ctr128<aes::Aes128>;
type Aes256Ctr = ctr::Ctr128<aes::Aes256>;

stream_cipher::new_sync_test!(aes128_ctr_core, Aes128Ctr, "aes128-ctr");
stream_cipher::new_sync_test!(aes256_ctr_core, Aes256Ctr, "aes256-ctr");
stream_cipher::new_seek_test!(aes128_ctr_seek, Aes128Ctr);
stream_cipher::new_seek_test!(aes256_ctr_seek, Aes256Ctr);