aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/examples/aes256ctr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/aes256ctr.cpp')
-rw-r--r--examples/aes256ctr.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/aes256ctr.cpp b/examples/aes256ctr.cpp
index b5e2ae7..3360c76 100644
--- a/examples/aes256ctr.cpp
+++ b/examples/aes256ctr.cpp
@@ -19,16 +19,16 @@ int main()
{
try
{
- aesni::Block128 plaintext;
+ aesni::aes::Block plaintext;
make_default_plaintext(plaintext);
- aesni::Block256 key;
+ aesni::aes::Key256 key;
make_default_key(key);
- aesni::Block128 iv;
+ aesni::aes::Block iv;
make_default_iv(iv);
- aesni::KeySchedule256 encryption_schedule;
+ aesni::aes::RoundKeys256 encryption_schedule;
aesni_aes256_expand_key(&key, &encryption_schedule);
dump_encryption_schedule(encryption_schedule);