diff options
Diffstat (limited to 'examples/aes192cfb.c')
-rw-r--r-- | examples/aes192cfb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/aes192cfb.c b/examples/aes192cfb.c index 0ad8903..103ac12 100644 --- a/examples/aes192cfb.c +++ b/examples/aes192cfb.c @@ -38,7 +38,7 @@ int main() for (int i = 0; i < 13; ++i) printf("\t[%d]: %s\n", i, format_aes_block128(&key_schedule.keys[i]).str); - cipher = aes192cfb_encrypt(plain, &key_schedule, iv, &next_iv); + cipher = aes192cfb_encrypt_block(plain, &key_schedule, iv, &next_iv); printf("\n"); printf("Cipher: %s\n", format_aes_block128(&cipher).str); print_aes_block128_as_matrix(&cipher); @@ -47,7 +47,7 @@ int main() printf("Next initialization vector: %s\n", format_aes_block128(&next_iv).str); print_aes_block128_as_matrix(&next_iv); - decrypted = aes192cfb_decrypt(cipher, &key_schedule, iv, &next_iv); + decrypted = aes192cfb_decrypt_block(cipher, &key_schedule, iv, &next_iv); printf("\n"); printf("Decrypted: %s\n", format_aes_block128(&decrypted).str); print_aes_block128_as_matrix(&decrypted); |