This commit is contained in:
Amin Bashiri 2025-03-09 01:30:21 +00:00 committed by GitHub
commit 2800cf0953
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -78,6 +78,7 @@ var testOk bool
// BenchmarkSigVerify benchmarks how long it takes the secp256k1 curve to // BenchmarkSigVerify benchmarks how long it takes the secp256k1 curve to
// verify signatures. // verify signatures.
// Mind that this benchmark is not considering the hashing of the message.
func BenchmarkSigVerify(b *testing.B) { func BenchmarkSigVerify(b *testing.B) {
// Randomly generated keypair. // Randomly generated keypair.
d := hexToModNScalar("9e0699c91ca1e3b7e3c9ba71eb71c89890872be97576010fe593fbf3fd57e66d") d := hexToModNScalar("9e0699c91ca1e3b7e3c9ba71eb71c89890872be97576010fe593fbf3fd57e66d")