summaryrefslogtreecommitdiffstats
path: root/test.c
diff options
context:
space:
mode:
authorkokke <spam@rowdy.dk>2014-06-03 00:15:16 +0200
committerkokke <spam@rowdy.dk>2014-06-03 00:15:16 +0200
commit0d724cc1198520f437df587ec249d450b0ea1d43 (patch)
treec47086d5dececdef45938082f454a835ac77a341 /test.c
parentUpdate README.md (diff)
downloadtiny-AES-c-0d724cc1198520f437df587ec249d450b0ea1d43.tar
tiny-AES-c-0d724cc1198520f437df587ec249d450b0ea1d43.tar.gz
tiny-AES-c-0d724cc1198520f437df587ec249d450b0ea1d43.tar.bz2
tiny-AES-c-0d724cc1198520f437df587ec249d450b0ea1d43.tar.lz
tiny-AES-c-0d724cc1198520f437df587ec249d450b0ea1d43.tar.xz
tiny-AES-c-0d724cc1198520f437df587ec249d450b0ea1d43.tar.zst
tiny-AES-c-0d724cc1198520f437df587ec249d450b0ea1d43.zip
Diffstat (limited to '')
-rw-r--r--test.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/test.c b/test.c
index fb08aa7..986b9de 100644
--- a/test.c
+++ b/test.c
@@ -51,18 +51,8 @@ static void test_ECB(void)
phex(buf + (i*16));
}
printf("\n");
-
- // print the resulting cipher as 4 x 16 byte strings
- printf("back to plain text again:\n");
- for(i = 0; i < 4; ++i)
- {
- AES128_ECB(buf + (i*16), key, buf2+(i*16));
- phex(plain_text + (i*16));
- }
- printf("\n");
}
-
// prints string as hex
void phex(uint8_t* str)
{