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