mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-26 04:06:18 +08:00
Merge branch 'main' of https://github.com/emmansun/gmsm
This commit is contained in:
commit
cfe9842cc0
@ -401,7 +401,7 @@ func BenchmarkVerify_P256(b *testing.B) {
|
|||||||
b.ReportAllocs()
|
b.ReportAllocs()
|
||||||
b.ResetTimer()
|
b.ResetTimer()
|
||||||
for i := 0; i < b.N; i++ {
|
for i := 0; i < b.N; i++ {
|
||||||
if !Verify(&priv.PublicKey, hashed, r, s) {
|
if !ecdsa.Verify(&priv.PublicKey, hashed, r, s) {
|
||||||
b.Fatal("verify failed")
|
b.Fatal("verify failed")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user