diff options
author | kokke <spam@rowdy.dk> | 2014-12-15 22:08:15 +0100 |
---|---|---|
committer | kokke <spam@rowdy.dk> | 2014-12-15 22:08:15 +0100 |
commit | 0373207800bdda3554929c780ca13fe434e02219 (patch) | |
tree | ef700f4b15d1711483a06d087418dd83f445305c /test.c | |
parent | Update README.md (diff) | |
download | tiny-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 |
Diffstat (limited to 'test.c')
-rw-r--r-- | test.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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: "); |