cosmos-sdk/crypto/keys/secp256k1
Marie Gauthier 90e9370bd8
Replace tmcrypto.PubKey by our own cryptotypes.PubKey (#7419)
* WIP on removing tm pub/privkey

* Fix part of crypto tests

* Add PrivKeyLedgerSecp256K1 proto type

* Use BasePrivKey for ledger priv key type

* Refacto continued

* First round

* x/staking

* Continue porting

* x/* done

* Make build pass

* More conversion

* Remove IntoTmPubKey

* Fix test

* Remove crypto.PubKey in some other places

* Revert ledger changes

* Fix comment

* Remove useless function

* Add To/FromTmPublicKey

* Add migrate tests

* Fix test

* Fix another test

* Rename tm conversion functions

* Less code

* Rename BasePrivKey to LedgerPrivKey

* Add changelog

* Rename functions

Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-11-09 16:01:43 +00:00
..
internal/secp256k1 Migrate Tendermint PubKey types to the SDK (#7047) 2020-08-18 13:53:40 +00:00
bench_test.go Replace tmcrypto.PubKey by our own cryptotypes.PubKey (#7419) 2020-11-09 16:01:43 +00:00
keys.pb.go PubKey proto types (#7147) 2020-09-16 11:08:55 +00:00
secp256k1.go Replace tmcrypto.PubKey by our own cryptotypes.PubKey (#7419) 2020-11-09 16:01:43 +00:00
secp256k1_cgo.go Use embedded lib key type in sdk pub keys instead of bytes. (#7672) 2020-10-28 10:24:41 +00:00
secp256k1_cgo_test.go PubKey proto types (#7147) 2020-09-16 11:08:55 +00:00
secp256k1_internal_test.go Use embedded lib key type in sdk pub keys instead of bytes. (#7672) 2020-10-28 10:24:41 +00:00
secp256k1_nocgo.go PubKey proto types (#7147) 2020-09-16 11:08:55 +00:00
secp256k1_nocgo_test.go Migrate Tendermint PubKey types to the SDK (#7047) 2020-08-18 13:53:40 +00:00
secp256k1_test.go Replace tmcrypto.PubKey by our own cryptotypes.PubKey (#7419) 2020-11-09 16:01:43 +00:00