From 91923133903515c98973543c0e17705537449c22 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 3 Jun 2015 22:46:18 +0300 Subject: init vectors are calculated by API functions --- test/aes192ofb_decrypt_block.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/aes192ofb_decrypt_block.c') diff --git a/test/aes192ofb_decrypt_block.c b/test/aes192ofb_decrypt_block.c index 19c873f..268b00c 100644 --- a/test/aes192ofb_decrypt_block.c +++ b/test/aes192ofb_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 = _mm_xor_si128(cipher, plain); + plain = aes192ofb_decrypt(cipher, &key_schedule, iv, &iv); print_aes_block128(&plain); } -- cgit v1.2.3