diff --git a/crypto/bench_test.go b/crypto/bench_test.go index fffc3bb7decadb66cc81338b673a32b4e8a851c3..1001fe39af00e2dc17e69286ca9974c41fcd86c9 100644 --- a/crypto/bench_test.go +++ b/crypto/bench_test.go @@ -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) {