Update test.c

This commit is contained in:
kokke
2014-06-03 00:15:16 +02:00
parent a50ee935e4
commit 0d724cc119

10
test.c
View File

@@ -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)
{