From 10e6d05ac0c7633ab0ae03754a4816d863b8437f Mon Sep 17 00:00:00 2001 From: Amin Bashiri Date: Fri, 9 Sep 2022 16:41:14 -0600 Subject: [PATCH] Add a more precise description of BenchmarkSigVerify --- btcec/schnorr/bench_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/btcec/schnorr/bench_test.go b/btcec/schnorr/bench_test.go index 4dadbb1f..5970a17b 100644 --- a/btcec/schnorr/bench_test.go +++ b/btcec/schnorr/bench_test.go @@ -78,6 +78,7 @@ var testOk bool // BenchmarkSigVerify benchmarks how long it takes the secp256k1 curve to // verify signatures. +// Mind that this benchmark is not considering the hashing of the message. func BenchmarkSigVerify(b *testing.B) { // Randomly generated keypair. d := hexToModNScalar("9e0699c91ca1e3b7e3c9ba71eb71c89890872be97576010fe593fbf3fd57e66d")