summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkokke <spam@rowdy.dk>2014-12-15 22:08:15 +0100
committerkokke <spam@rowdy.dk>2014-12-15 22:08:15 +0100
commit0373207800bdda3554929c780ca13fe434e02219 (patch)
treeef700f4b15d1711483a06d087418dd83f445305c
parentUpdate README.md (diff)
downloadtiny-AES-c-0373207800bdda3554929c780ca13fe434e02219.tar
tiny-AES-c-0373207800bdda3554929c780ca13fe434e02219.tar.gz
tiny-AES-c-0373207800bdda3554929c780ca13fe434e02219.tar.bz2
tiny-AES-c-0373207800bdda3554929c780ca13fe434e02219.tar.lz
tiny-AES-c-0373207800bdda3554929c780ca13fe434e02219.tar.xz
tiny-AES-c-0373207800bdda3554929c780ca13fe434e02219.tar.zst
tiny-AES-c-0373207800bdda3554929c780ca13fe434e02219.zip
-rw-r--r--test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test.c b/test.c
index 947a211..64af120 100644
--- a/test.c
+++ b/test.c
@@ -119,9 +119,9 @@ static void test_decrypt_cbc(void)
uint8_t buffer[64];
AES128_CBC_decrypt_buffer(buffer+0, in+0, 16, key, iv);
- AES128_CBC_decrypt_buffer(buffer+16, in+16, 16, key, 0);
- AES128_CBC_decrypt_buffer(buffer+32, in+32, 16, key, 0);
- AES128_CBC_decrypt_buffer(buffer+48, in+48, 16, key, 0);
+ AES128_CBC_decrypt_buffer(buffer+16, in+16, 16, 0, 0);
+ AES128_CBC_decrypt_buffer(buffer+32, in+32, 16, 0, 0);
+ AES128_CBC_decrypt_buffer(buffer+48, in+48, 16, 0, 0);
printf("CBC decrypt: ");