diff options
Diffstat (limited to 'test/aes256ofb_decrypt_block.c')
-rw-r--r-- | test/aes256ofb_decrypt_block.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/aes256ofb_decrypt_block.c b/test/aes256ofb_decrypt_block.c index 45dcd7b..282dc6a 100644 --- a/test/aes256ofb_decrypt_block.c +++ b/test/aes256ofb_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 = aes256cfb_decrypt(cipher, &key_schedule, iv); - iv = _mm_xor_si128(cipher, plain); + plain = aes256ofb_decrypt(cipher, &key_schedule, iv, &iv); print_aes_block128(&plain); } |