aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/signature_nocgo.go
Commit message (Collapse)AuthorAgeFilesLines
* crypto: ensure that VerifySignature rejects malleable signatures (#15708)Felix Lange2017-12-201-0/+4
| | | | | | | | | | | * crypto: ensure that VerifySignature rejects malleable signatures It already rejected them when using libsecp256k1, make sure the nocgo version does the same thing. * crypto: simplify check * crypto: fix build
* crypto, crypto/secp256k1: add CompressPubkey (#15626)Felix Lange2017-12-151-0/+5
| | | | This adds the inverse to DecompressPubkey and improves a few minor details in crypto/secp256k1.
* crypto: add DecompressPubkey, VerifySignature (#15615)Felix Lange2017-12-061-0/+31
| | | | | | | 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.
* all: update license informationFelix Lange2017-04-141-1/+1
|
* crypto: add btcec fallback for sign/recover without cgo (#3680)Felix Lange2017-02-181-0/+77
* vendor: add github.com/btcsuite/btcd/btcec * crypto: add btcec fallback for sign/recover without cgo This commit adds a non-cgo fallback implementation of secp256k1 operations. * crypto, core/vm: remove wrappers for sha256, ripemd160