From: Loup Vaillant Date: Mon, 13 May 2019 21:26:26 +0000 (+0200) Subject: Fixed TweetNaCl speed tests X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=f0b00ff77e5485576b0fb29236a189b05b8c6d0e;p=Monocypher.git Fixed TweetNaCl speed tests --- diff --git a/tests/speed-tweetnacl.c b/tests/speed-tweetnacl.c index 00a1f9e..6d75989 100644 --- a/tests/speed-tweetnacl.c +++ b/tests/speed-tweetnacl.c @@ -32,7 +32,7 @@ static u64 authenticated(void) u8 out[SIZE + 32]; RANDOM_INPUT(in , SIZE + 32); RANDOM_INPUT(key , 32); - RANDOM_INPUT(nonce, 8); + RANDOM_INPUT(nonce, 24); TIMING_START { crypto_secretbox(out, in, SIZE + 32, nonce, key);