Skip to content

Commit

Permalink
Update test.c
Browse files Browse the repository at this point in the history
  • Loading branch information
kokke committed Dec 15, 2014
1 parent 800dddc commit 0373207
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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: ");

Expand Down

0 comments on commit 0373207

Please sign in to comment.