Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XTS Mode #74

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[XTS] Fix benchmarks
zer0x64 committed Nov 24, 2024
commit b7126d9513ba9c7ecfc5923b73cce9f4a48d8605
8 changes: 4 additions & 4 deletions xts/benches/aes128.rs → xts/benches/aes.rs
Original file line number Diff line number Diff line change
@@ -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,
);