aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/examples/aes192ctr.cpp
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2015-06-17 23:25:52 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2015-06-17 23:25:52 +0300
commit44d58e0a10c7dfdb33899fa98c0eea790e0b90ce (patch)
tree646541b156ffdd88bbaa4f1fa860aed465dfce60 /examples/aes192ctr.cpp
parentrefactoring (diff)
downloadaes-tools-44d58e0a10c7dfdb33899fa98c0eea790e0b90ce.tar.gz
aes-tools-44d58e0a10c7dfdb33899fa98c0eea790e0b90ce.zip
factoring out AES-specific stuff
Diffstat (limited to 'examples/aes192ctr.cpp')
-rw-r--r--examples/aes192ctr.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/aes192ctr.cpp b/examples/aes192ctr.cpp
index ef4dde6..022bc33 100644
--- a/examples/aes192ctr.cpp
+++ b/examples/aes192ctr.cpp
@@ -19,16 +19,16 @@ int main()
{
try
{
- aesni::Block128 plaintext;
+ aesni::aes::Block plaintext;
make_default_plaintext(plaintext);
- aesni::Block192 key;
+ aesni::aes::Key192 key;
make_default_key(key);
- aesni::Block128 iv;
+ aesni::aes::Block iv;
make_default_iv(iv);
- aesni::KeySchedule192 encryption_schedule;
+ aesni::aes::RoundKeys192 encryption_schedule;
aesni_aes192_expand_key(&key, &encryption_schedule);
dump_encryption_schedule(encryption_schedule);