aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/aes128cbc_decrypt_block.c
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2015-05-30 05:27:56 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2015-05-30 05:27:56 +0300
commit76923761ea90641cde3bd44dfa98e199bf839acc (patch)
tree73ee71882069c28c182d45fcd11b775d6ebf4d44 /test/aes128cbc_decrypt_block.c
parentdetach key expansion routines (diff)
downloadaes-tools-76923761ea90641cde3bd44dfa98e199bf839acc.tar.gz
aes-tools-76923761ea90641cde3bd44dfa98e199bf839acc.zip
test: actually chain when in cbc mode
Diffstat (limited to '')
-rw-r--r--test/aes128cbc_decrypt_block.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/aes128cbc_decrypt_block.c b/test/aes128cbc_decrypt_block.c
index 3bd5d74..82a1b61 100644
--- a/test/aes128cbc_decrypt_block.c
+++ b/test/aes128cbc_decrypt_block.c
@@ -48,6 +48,7 @@ int main(int argc, char** argv)
continue;
}
plain = aes128cbc_decrypt(cipher, &inverted_schedule, &iv);
+ iv = cipher;
print_aes_block128(&plain);
}