From c61bfd12a935bea47526f360b3e6dc3c4550f94d Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 18 Jun 2015 19:46:46 +0300 Subject: code style --- examples/aes192ofb.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'examples/aes192ofb.cpp') diff --git a/examples/aes192ofb.cpp b/examples/aes192ofb.cpp index df907cd..c0fc88e 100644 --- a/examples/aes192ofb.cpp +++ b/examples/aes192ofb.cpp @@ -28,16 +28,16 @@ int main() aesni::aes::Block iv; make_default_iv(iv); - aesni::aes::RoundKeys192 encryption_schedule; - aesni_aes192_expand_key(&key, &encryption_schedule); - dump_encryption_schedule(encryption_schedule); + aesni::aes::RoundKeys192 encryption_keys; + aesni_aes192_expand_key(&key, &encryption_keys); + dump_encryption_keys(encryption_keys); aesni::aes::Block next_iv; - const auto ciphertext = aesni_aes192_encrypt_block_ofb(plaintext, &encryption_schedule, iv, &next_iv); + const auto ciphertext = aesni_aes192_encrypt_block_ofb(plaintext, &encryption_keys, iv, &next_iv); dump_ciphertext(ciphertext); dump_next_iv(next_iv); - const auto decrypted = aesni_aes192_decrypt_block_ofb(ciphertext, &encryption_schedule, iv, &next_iv); + const auto decrypted = aesni_aes192_decrypt_block_ofb(ciphertext, &encryption_keys, iv, &next_iv); dump_decrypted(decrypted); dump_next_iv(next_iv); -- cgit v1.2.3