From f0b00ff77e5485576b0fb29236a189b05b8c6d0e Mon Sep 17 00:00:00 2001 From: Loup Vaillant Date: Mon, 13 May 2019 23:26:26 +0200 Subject: [PATCH] Fixed TweetNaCl speed tests --- tests/speed-tweetnacl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.47.3