mirror of
https://github.com/kokke/tiny-AES-c
synced 2024-11-25 06:49:37 +03:00
Update test.c
This commit is contained in:
parent
800dddc767
commit
0373207800
6
test.c
6
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: ");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user