Skip to content

Commit

Permalink
[XTS] Fix benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
zer0x64 committed Nov 24, 2024
1 parent d62097c commit b7126d9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions xts/benches/aes128.rs → xts/benches/aes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,25 @@ extern crate test;
use aes::{ Aes128, Aes256 };

cipher::block_encryptor_bench!(
KeyIv: xts::SplitEncryptor<Aes128>,
KeyIv: xts::Encryptor<Aes128>,
xts_aes128_encrypt_block,
xts_aes128_encrypt_blocks,
);

cipher::block_decryptor_bench!(
KeyIv: xts::SplitDecryptor<Aes128, Aes128>,
KeyIv: xts::Decryptor<Aes128>,
xts_aes128_decrypt_block,
xts_aes128_decrypt_blocks,
);

cipher::block_encryptor_bench!(
KeyIv: xts::SplitEncryptor<Aes256>,
KeyIv: xts::Encryptor<Aes256>,
xts_aes256_encrypt_block,
xts_aes256_encrypt_blocks,
);

cipher::block_decryptor_bench!(
KeyIv: xts::SplitDecryptor<Aes256, Aes256>,
KeyIv: xts::Decryptor<Aes256>,
xts_aes256_decrypt_block,
xts_aes256_decrypt_blocks,
);

0 comments on commit b7126d9

Please sign in to comment.