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

Commit becdcea

Browse files
fix benchmark of key verifications (#190)
1 parent ea8b369 commit becdcea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crypto/bench_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ func runBenchmarkSign(b *testing.B, numBytes int, t int) {
5454
}
5555

5656
func RunBenchmarkVerifyRSA(b *testing.B, numBytes int) {
57-
runBenchmarkSign(b, numBytes, RSA)
57+
runBenchmarkVerify(b, numBytes, RSA)
5858
}
5959

6060
func RunBenchmarkVerifyEd25519(b *testing.B, numBytes int) {
61-
runBenchmarkSign(b, numBytes, Ed25519)
61+
runBenchmarkVerify(b, numBytes, Ed25519)
6262
}
6363

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

0 commit comments

Comments
 (0)