]> git.codecow.com Git - Monocypher.git/commitdiff
Removed debug printf() calls
authorLoup Vaillant <loup@loup-vaillant.fr>
Sat, 30 Jun 2018 19:09:00 +0000 (21:09 +0200)
committerLoup Vaillant <loup@loup-vaillant.fr>
Sat, 30 Jun 2018 19:09:00 +0000 (21:09 +0200)
tests/test.c

index 1b64a541276a2dd611a5635b887c339b143d8a09..dd617a7414f25071c4a00b518d753f75470036a5 100644 (file)
@@ -225,12 +225,7 @@ static void ed_25519_check(const vector in[], vector *out)
     const vector *public_k = in;
     const vector *msg      = in + 1;
     const vector *sig      = in + 2;
-    int corrupt = crypto_check(sig->buf, public_k->buf, msg->buf, msg->size);
-    out->buf[0] = corrupt;
-    print_vector(sig->buf     , sig->size);
-    print_vector(public_k->buf, public_k->size);
-    print_vector(msg->buf     , msg->size);
-    printf(corrupt ? "!\n" : ".\n");
+    out->buf[0] = crypto_check(sig->buf, public_k->buf, msg->buf, msg->size);
 }
 #endif