crypto: add DecompressPubkey, VerifySignature (#15615)
We need those operations for p2p/enr. Also upgrade github.com/btcsuite/btcd/btcec to the latest version and improve BenchmarkSha3. The benchmark printed extra output that confused tools like benchstat and ignored N.
Showing
- crypto/crypto_test.go 1 addition, 7 deletionscrypto/crypto_test.go
- crypto/secp256k1/ext.h 49 additions, 0 deletionscrypto/secp256k1/ext.h
- crypto/secp256k1/secp256.go 29 additions, 0 deletionscrypto/secp256k1/secp256.go
- crypto/signature_cgo.go 18 additions, 0 deletionscrypto/signature_cgo.go
- crypto/signature_nocgo.go 31 additions, 0 deletionscrypto/signature_nocgo.go
- crypto/signature_test.go 84 additions, 8 deletionscrypto/signature_test.go
- vendor/github.com/btcsuite/btcd/btcec/README.md 7 additions, 13 deletionsvendor/github.com/btcsuite/btcd/btcec/README.md
- vendor/github.com/btcsuite/btcd/btcec/btcec.go 7 additions, 5 deletionsvendor/github.com/btcsuite/btcd/btcec/btcec.go
- vendor/github.com/btcsuite/btcd/btcec/field.go 82 additions, 121 deletionsvendor/github.com/btcsuite/btcd/btcec/field.go
- vendor/github.com/btcsuite/btcd/btcec/genprecomps.go 0 additions, 63 deletionsvendor/github.com/btcsuite/btcd/btcec/genprecomps.go
- vendor/github.com/btcsuite/btcd/btcec/pubkey.go 9 additions, 0 deletionsvendor/github.com/btcsuite/btcd/btcec/pubkey.go
- vendor/github.com/btcsuite/btcd/btcec/secp256k1.go 1 addition, 1 deletionvendor/github.com/btcsuite/btcd/btcec/secp256k1.go
- vendor/github.com/btcsuite/btcd/btcec/signature.go 6 additions, 9 deletionsvendor/github.com/btcsuite/btcd/btcec/signature.go
- vendor/vendor.json 3 additions, 3 deletionsvendor/vendor.json
Loading
Please register or sign in to comment