From becdceadda70ccfec7d7d36da78c401119e9e46a Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Wed, 31 Mar 2021 06:14:00 +0700 Subject: [PATCH] fix benchmark of key verifications (#190) --- crypto/bench_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- GitLab