mirror of
https://github.com/kokke/tiny-AES-c.git
synced 2025-01-08 12:36:19 +08:00
Update test.c
This commit is contained in:
parent
b459336cbb
commit
c3b8c27ab8
2
test.c
2
test.c
@ -47,7 +47,7 @@ static void test_ECB(void)
|
|||||||
printf("ciphertext:\n");
|
printf("ciphertext:\n");
|
||||||
for(i = 0; i < 4; ++i)
|
for(i = 0; i < 4; ++i)
|
||||||
{
|
{
|
||||||
AES128_ECB(plain_text + (i*16), key, buf+(i*16));
|
AES128_ECB_encrypt(plain_text + (i*16), key, buf+(i*16));
|
||||||
phex(buf + (i*16));
|
phex(buf + (i*16));
|
||||||
}
|
}
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user