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