From 6b070da3e039d2ca7accae8489d8bc4a44ba652a Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 3 Jun 2015 20:55:09 +0300 Subject: implement CBC wrappers in C --- test/aes192cbc_encrypt_block.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/aes192cbc_encrypt_block.c') diff --git a/test/aes192cbc_encrypt_block.c b/test/aes192cbc_encrypt_block.c index 45f469b..8a5a9b8 100644 --- a/test/aes192cbc_encrypt_block.c +++ b/test/aes192cbc_encrypt_block.c @@ -47,7 +47,7 @@ int main(int argc, char** argv) fprintf(stderr, "Invalid 128-bit AES block '%s'\n", argv[i]); continue; } - iv = cipher = aes192cbc_encrypt(plain, &key_schedule, &iv); + iv = cipher = aes192cbc_encrypt(plain, &key_schedule, iv); print_aes_block128(&cipher); } -- cgit v1.2.3