summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.c b/test.c
index 986b9de..4459c4f 100644
--- a/test.c
+++ b/test.c
@@ -47,7 +47,7 @@ static void test_ECB(void)
printf("ciphertext:\n");
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));
}
printf("\n");