added libtomcrypt-1.04

This commit is contained in:
Tom St Denis
2005-06-14 22:16:11 +00:00
committed by Steffen Jaeckel
parent 3964a6523a
commit 9da48eb84b
12 changed files with 54 additions and 135 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ int ecc_tests (void)
return 1;
}
if (memcmp (buf[0], buf[2], x)) {
fprintf(stderr, "Failed. Content didn't match.");
fprintf(stderr, "Failed. Contents didn't match.");
return 1;
}
ecc_free (&usera);
+1 -1
View File
@@ -724,7 +724,7 @@ void time_ecc(void)
unsigned char buf[2][4096];
unsigned long i, x, y, z;
int err;
static unsigned long sizes[] = {160/8, 256/8, 521/8, 100000};
static unsigned long sizes[] = {192/8, 256/8, 384/8, 521/8, 100000};
for (x = sizes[i=0]; x < 100000; x = sizes[++i]) {
t2 = 0;