diff --git a/crypto/bench_test.go b/crypto/bench_test.go index fffc3bb..1001fe3 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) {