aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/aes128cbc_decrypt_block.c
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2015-06-03 20:55:09 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2015-06-03 20:55:09 +0300
commit6b070da3e039d2ca7accae8489d8bc4a44ba652a (patch)
tree96fde3d04e1396cb5365d41991f3fc71498e964e /test/aes128cbc_decrypt_block.c
parentadd FIPS-style block parsing functions (diff)
downloadaes-tools-6b070da3e039d2ca7accae8489d8bc4a44ba652a.tar.gz
aes-tools-6b070da3e039d2ca7accae8489d8bc4a44ba652a.zip
implement CBC wrappers in C
Diffstat (limited to 'test/aes128cbc_decrypt_block.c')
-rw-r--r--test/aes128cbc_decrypt_block.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/aes128cbc_decrypt_block.c b/test/aes128cbc_decrypt_block.c
index 82a1b61..f0d95ee 100644
--- a/test/aes128cbc_decrypt_block.c
+++ b/test/aes128cbc_decrypt_block.c
@@ -47,7 +47,7 @@ int main(int argc, char** argv)
fprintf(stderr, "Invalid 128-bit AES block '%s'\n", argv[i]);
continue;
}
- plain = aes128cbc_decrypt(cipher, &inverted_schedule, &iv);
+ plain = aes128cbc_decrypt(cipher, &inverted_schedule, iv);
iv = cipher;
print_aes_block128(&plain);
}