From: Loup Vaillant Date: Sun, 1 Dec 2019 19:35:10 +0000 (+0100) Subject: Fixed X25519 speed test X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=c6dacc742451032d86966c46b6248b080190d44e;p=Monocypher.git Fixed X25519 speed test --- diff --git a/tests/speed/speed.c b/tests/speed/speed.c index 941ed53..ecf28a7 100644 --- a/tests/speed/speed.c +++ b/tests/speed/speed.c @@ -86,9 +86,7 @@ static u64 x25519(void) u8 out[32] = {9}; TIMING_START { - if (crypto_x25519(out, out, in)) { - printf("Monocypher x25519 rejected public key\n"); - } + crypto_x25519(out, out, in); } TIMING_END; }