diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2015-06-03 20:55:09 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2015-06-03 20:55:09 +0300 |
commit | 6b070da3e039d2ca7accae8489d8bc4a44ba652a (patch) | |
tree | 96fde3d04e1396cb5365d41991f3fc71498e964e /test/aes128cbc_encrypt_block.c | |
parent | add FIPS-style block parsing functions (diff) | |
download | aes-tools-6b070da3e039d2ca7accae8489d8bc4a44ba652a.tar.gz aes-tools-6b070da3e039d2ca7accae8489d8bc4a44ba652a.zip |
implement CBC wrappers in C
Diffstat (limited to '')
-rw-r--r-- | test/aes128cbc_encrypt_block.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/aes128cbc_encrypt_block.c b/test/aes128cbc_encrypt_block.c index 38faf1a..14e7df7 100644 --- a/test/aes128cbc_encrypt_block.c +++ b/test/aes128cbc_encrypt_block.c @@ -46,7 +46,7 @@ int main(int argc, char** argv) fprintf(stderr, "Invalid 128-bit AES block '%s'\n", argv[i]); continue; } - iv = cipher = aes128cbc_encrypt(plain, &key_schedule, &iv); + iv = cipher = aes128cbc_encrypt(plain, &key_schedule, iv); print_aes_block128(&cipher); } |