Skip to content

Commit

Permalink
Fix speed benchmark bug
Browse files Browse the repository at this point in the history
  • Loading branch information
LoupVaillant committed Jan 5, 2024
1 parent 636cc05 commit 5e3c845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/speed/speed.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 5e3c845

Please sign in to comment.