diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2015-06-10 03:56:20 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2015-06-10 03:56:20 +0300 |
commit | 7468cbc7c4e69bbd2593c71c8a22953f41536963 (patch) | |
tree | bbc0b0ebb62ceb7385a418701897cb5577f035f9 /examples/aes192ctr.c | |
parent | utils: usage message update (diff) | |
download | aes-tools-7468cbc7c4e69bbd2593c71c8a22953f41536963.tar.gz aes-tools-7468cbc7c4e69bbd2593c71c8a22953f41536963.zip |
refactoring
Diffstat (limited to '')
-rw-r--r-- | examples/aes192ctr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/aes192ctr.c b/examples/aes192ctr.c index eb5df43..48d4b14 100644 --- a/examples/aes192ctr.c +++ b/examples/aes192ctr.c @@ -38,12 +38,12 @@ int main() for (int i = 0; i < 13; ++i) printf("\t[%d]: %s\n", i, format_aes_block128(&key_schedule.keys[i]).str); - cipher = aes192ctr_encrypt(plain, &key_schedule, iv, 0); + cipher = aes192ctr_encrypt_block(plain, &key_schedule, iv, 0); printf("\n"); printf("Cipher: %s\n", format_aes_block128(&cipher).str); print_aes_block128_as_matrix(&cipher); - decrypted = aes192ctr_decrypt(cipher, &key_schedule, iv, 0); + decrypted = aes192ctr_decrypt_block(cipher, &key_schedule, iv, 0); printf("\n"); printf("Decrypted: %s\n", format_aes_block128(&decrypted).str); print_aes_block128_as_matrix(&decrypted); |