aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/aes192cfb_decrypt_block.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/aes192cfb_decrypt_block.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/aes192cfb_decrypt_block.c b/test/aes192cfb_decrypt_block.c
index 55db87e..906ecf9 100644
--- a/test/aes192cfb_decrypt_block.c
+++ b/test/aes192cfb_decrypt_block.c
@@ -47,8 +47,7 @@ int main(int argc, char** argv)
fprintf(stderr, "Invalid 128-bit AES block '%s'\n", argv[i]);
continue;
}
- plain = aes192cfb_decrypt(cipher, &key_schedule, iv);
- iv = cipher;
+ plain = aes192cfb_decrypt(cipher, &key_schedule, iv, &iv);
print_aes_block128(&plain);
}