blob: 3fd3c9ef04093cada543d9f1623aef5aad4a5fbb (
plain)
1
2
3
4
5
6
7
8
9
|
#![cfg(feature = "ctr")]
use aes::{Aes128Ctr, Aes256Ctr};
// Random tests generated by OpenSSL
cipher::stream_cipher_test!(aes128_ctr_core, Aes128Ctr, "aes128-ctr");
cipher::stream_cipher_test!(aes256_ctr_core, Aes256Ctr, "aes256-ctr");
cipher::stream_cipher_seek_test!(aes128_ctr_seek, Aes128Ctr);
cipher::stream_cipher_seek_test!(aes256_ctr_seek, Aes256Ctr);
|