aboutsummaryrefslogtreecommitdiffstats
path: root/core/crypto
Commit message (Collapse)AuthorAgeFilesLines
* core: cache dkg's private key in db (#371)Mission Liao2018-12-161-0/+21
|
* Rename repo to dexon-consensusWei-Ning Huang2018-11-029-56/+56
|
* Change BLS to dexon-foundation (#245)Jimmy Hu2018-10-234-4/+4
|
* core: add equality checker for dkg related structure (#237)Mission Liao2018-10-232-26/+155
| | | | | | | | | Besides adding equality, also renaming those fields. - PublicKeyShares.shares -> shareCaches - PublicKeyShares.shareIndex -> shareCacheIndex - rlpPublicKeyShares.Shares -> ShareCaches - rlpPublicKeyShares.ShareIndexK -> ShareCacheIndexK - rlpPublicKeyShares.ShareIndexV -> ShareCahceIndexV
* core: Handling self proposed DKG private share (#236)Jimmy Hu2018-10-221-5/+5
|
* crypto: dkg: implement rlp.Encoder, rlp.Decoder for PrivateKey (#235)Sonic2018-10-202-0/+26
|
* core: types: implement rlp.Encoder and rlp.Decoder (#232)Sonic2018-10-202-3/+120
| | | | | * core: types: implement rlp.Encoder and rlp.Decoder * crypto: dkg: fix PublicKey.Bytes
* crypto: ecdsa: make NodeID match dexon address (#229)Sonic2018-10-192-50/+31
| | | | | | | * Remove publicKey struct * PublicKey.Bytes() return uncompressed public key to match the address format of dexon (Keccak256(pubBytes[1:])[12:], where pubBytes is 65 bytes uncompressed public key.). * Rename ethcrypto to dexCrypto
* core: crypto: ecdsa: add method to create PrivateKey from ecdsa.PrivateKey ↵Wei-Ning Huang2018-10-131-0/+9
| | | | (#195)
* core: hide types.NodeID from full node. (#147)Mission Liao2018-09-281-0/+6
| | | | | | | | | * Refine core.Governance interface - Remove types.NodeID from interface declaration. - All parameter should be round based. * Add core.NodeSetCache * Agreement accepts map of nodeID directly. * test.Transport.Peers method return public keys.
* core: rename crypto/eth to crypto/ecdsa (#144)Wei-Ning Huang2018-09-262-3/+3
|
* core: use dexon-foundation/dexon instead of ethereum/go-ethereum (#143)Wei-Ning Huang2018-09-262-2/+2
|
* crypto: sigtopub to crypto package. remove SigToPubFn (#141)Jimmy Hu2018-09-266-18/+77
|
* core: move crypto to core/crypto (#140)Mission Liao2018-09-269-0/+1288
- Move key-holder to authenticator Make core.keyHolder public as core.Authenticator, it is not required to make this part an interface. - Make private when there is no need to go public. - Fix data race