ValarDragon
f3d519c966
crypto: Fix package imports from the refactor
6 years ago
ValarDragon
c798702764
crypto: Remove Ed25519 and Secp256k1 suffix on GenPrivKey
6 years ago
ValarDragon
99e582d79a
crypto: Refactor to move files out of the top level directory
Currently the top level directory contains basically all of the code
for the crypto package. This PR moves the crypto code into submodules
in a similar manner to what `golang/x/crypto` does. This improves code
organization.
Ref discussion: https://github.com/tendermint/tendermint/pull/1966
Closes #1956
6 years ago
Zach Ramsay
44dad6d70b
Revert "detele everything"
This reverts commit d02c5d1e30
.
6 years ago
Zach Ramsay
d02c5d1e30
detele everything
6 years ago
Liamsi
5a70fa6f35
fix typos
7 years ago
Ethan Frey
9016390a6e
Moved crypto code to top level again
8 years ago
Ethan Frey
17ed6d178d
move go-crypto files pre-keys merge
8 years ago
Ethan Buchman
8bb25ec5ed
update paths
8 years ago
Ethan Frey
c410fc5e24
Add extra test for encoding with sig,for p2p test fail
8 years ago
Jae Kwon
a3324cc97b
Cleanup; Implement .Wrap()
8 years ago
Ethan Frey
eb6fcef8d2
Better docs and naming thanks to bucky
8 years ago
Ethan Frey
5b94758d4c
Make PubKey struct compatible with go-wire.JSONBytes/ReadJSON
8 years ago
Ethan Frey
66ecd7705f
Use new naming scheme PubKey{PubKeyInner}
8 years ago
Ethan Frey
0e92dd5bb5
One name, type byte per algorithm
8 years ago
Ethan Frey
8c9b889ccf
Support json encode/decode for nil values in S structs
8 years ago
Ethan Frey
cbe35e07d1
Add more tests for de/en-coding public and private keys
8 years ago