Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

Commit

Permalink
fix benchmark of key verifications (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann committed Mar 30, 2021
1 parent ea8b369 commit becdcea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crypto/bench_test.go
Expand Up @@ -54,11 +54,11 @@ func runBenchmarkSign(b *testing.B, numBytes int, t int) {
}

func RunBenchmarkVerifyRSA(b *testing.B, numBytes int) {
runBenchmarkSign(b, numBytes, RSA)
runBenchmarkVerify(b, numBytes, RSA)
}

func RunBenchmarkVerifyEd25519(b *testing.B, numBytes int) {
runBenchmarkSign(b, numBytes, Ed25519)
runBenchmarkVerify(b, numBytes, Ed25519)
}

func runBenchmarkVerify(b *testing.B, numBytes int, t int) {
Expand Down

0 comments on commit becdcea

Please sign in to comment.