Unverified Commit becdcead authored by Marten Seemann's avatar Marten Seemann Committed by GitHub

fix benchmark of key verifications (#190)

parent ea8b3691
...@@ -54,11 +54,11 @@ func runBenchmarkSign(b *testing.B, numBytes int, t int) { ...@@ -54,11 +54,11 @@ func runBenchmarkSign(b *testing.B, numBytes int, t int) {
} }
func RunBenchmarkVerifyRSA(b *testing.B, numBytes int) { func RunBenchmarkVerifyRSA(b *testing.B, numBytes int) {
runBenchmarkSign(b, numBytes, RSA) runBenchmarkVerify(b, numBytes, RSA)
} }
func RunBenchmarkVerifyEd25519(b *testing.B, numBytes int) { func RunBenchmarkVerifyEd25519(b *testing.B, numBytes int) {
runBenchmarkSign(b, numBytes, Ed25519) runBenchmarkVerify(b, numBytes, Ed25519)
} }
func runBenchmarkVerify(b *testing.B, numBytes int, t int) { func runBenchmarkVerify(b *testing.B, numBytes int, t int) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment