From: Loup Vaillant Date: Fri, 5 Jan 2024 15:41:01 +0000 (+0100) Subject: Fix speed benchmark bug X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=5e3c845645b2d2842370d78e6b365f0f8337cf55;p=Monocypher.git Fix speed benchmark bug --- diff --git a/tests/speed/speed.c b/tests/speed/speed.c index 1a7e9dd..90b5409 100644 --- a/tests/speed/speed.c +++ b/tests/speed/speed.c @@ -88,7 +88,7 @@ static u64 authenticated(void) RANDOM_INPUT(nonce, 24); TIMING_START { - crypto_aead_lock(mac, out, key, nonce, 0, 0, in, SIZE); + crypto_aead_lock(out, mac, key, nonce, 0, 0, in, SIZE); } TIMING_END; }