Author | SHA1 | Message | Date |
---|---|---|---|
Marko |
99d88cbe2f
|
crypto: remove key suffixes (#4941)
## Description - remove keyname suffix from keys Closes: #2228 |
5 years ago |
Anton Kaliaev |
7fd51e6ade
|
make govet linter pass (#3292)
* make govet linter pass Refs #3262 * close PipeReader and check for err |
6 years ago |
Ismail Khoffi | c1f7399a86 |
review comment: cleaner constant for N/2, delete secp256k1N and use (#3279)
`secp256k1.S256().N` directly instead |
6 years ago |
Ethan Buchman |
ad4bd92fec
|
secp256k1: change build tags (#3277) | 6 years ago |
Ismail Khoffi | 6485e68beb |
Use ethereum's secp256k1 lib (#3234)
* switch from fork (tendermint/btcd) to orig package (btcsuite/btcd); also
- remove obsolete check in test `size != -1` is always true
- WIP as the serialization still needs to be wrapped
* WIP: wrap signature & privkey, pubkey needs to be wrapped as well
* wrap pubkey too
* use "github.com/ethereum/go-ethereum/crypto/secp256k1" if cgo is
available, else use "github.com/btcsuite/btcd/btcec" and take care of
lower-S when verifying
Annoyingly, had to disable pruning when importing
github.com/ethereum/go-ethereum/ :-/
* update comment
* update comment
* emulate signature_nocgo.go for additional benchmarks:
|
6 years ago |