aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/aes192ofb_decrypt_block.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/aes192ofb_decrypt_block.c')
-rw-r--r--test/aes192ofb_decrypt_block.c3
1 files changed, 1 insertions, 2 deletions
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);
}