diff options
Diffstat (limited to '')
-rw-r--r-- | test/aes128ofb_decrypt_block.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/aes128ofb_decrypt_block.c b/test/aes128ofb_decrypt_block.c index 92add4b..74fb314 100644 --- a/test/aes128ofb_decrypt_block.c +++ b/test/aes128ofb_decrypt_block.c @@ -46,8 +46,7 @@ int main(int argc, char** argv) fprintf(stderr, "Invalid 128-bit AES block '%s'\n", argv[i]); continue; } - plain = aes128cfb_decrypt(cipher, &key_schedule, iv); - iv = _mm_xor_si128(cipher, plain); + plain = aes128ofb_decrypt(cipher, &key_schedule, iv, &iv); print_aes_block128(&plain); } |