summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkokke <spam@rowdy.dk>2014-06-03 01:01:22 +0200
committerkokke <spam@rowdy.dk>2014-06-03 01:01:22 +0200
commitc3b8c27ab8550fd317f55ab6c129db7e39487d80 (patch)
tree4f70d6f4fe182160773969bbf31c332aa165e035
parentUpdate aes.c (diff)
downloadtiny-AES-c-c3b8c27ab8550fd317f55ab6c129db7e39487d80.tar
tiny-AES-c-c3b8c27ab8550fd317f55ab6c129db7e39487d80.tar.gz
tiny-AES-c-c3b8c27ab8550fd317f55ab6c129db7e39487d80.tar.bz2
tiny-AES-c-c3b8c27ab8550fd317f55ab6c129db7e39487d80.tar.lz
tiny-AES-c-c3b8c27ab8550fd317f55ab6c129db7e39487d80.tar.xz
tiny-AES-c-c3b8c27ab8550fd317f55ab6c129db7e39487d80.tar.zst
tiny-AES-c-c3b8c27ab8550fd317f55ab6c129db7e39487d80.zip
-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");