Commit Graph

96 Commits (f317e536c05517789860aac9ae37167a7eef4249)

Author SHA1 Message Date
Rongjian Lan 499d9125c9 Add a simple hash chain delay function 6 years ago
Rongjian Lan 8176fbf511 Remove trillian dependency in p256 6 years ago
Rongjian Lan 213b1c6d82 Remove the extra tests that havev heavy external dependency, we actually don't need them 6 years ago
Rongjian Lan 437060a73c Add apache license to vrf package 6 years ago
Rongjian Lan b274cef420 Fix test on p256 6 years ago
Rongjian Lan c55d2ef04a Add real vrf into drand with validator generating vrf and leader verifying them 6 years ago
Rongjian Lan afc766dbc0 Change test comment 6 years ago
Rongjian Lan 3d2146672b Fix tests for p256_test.go 6 years ago
Rongjian Lan 187fa1abc8 Copy vrf from google/keytransparency package; we will build on this 6 years ago
Rongjian Lan d8c46c61d2 Say goodbye to Schnorr sig and kyber package and mark BLS done 6 years ago
Rongjian Lan 97a04231df Add comments for test and improve bls test 6 years ago
Rongjian Lan 456002406c Fix goimport lint 6 years ago
Rongjian Lan 7cbb6e4835 Add unit tests for bls utils 6 years ago
Eugene Kim 24fd9d67b8 More goimports 6 years ago
Rongjian Lan c1944bd71e Init bls explicitly 6 years ago
Minh Doan d634d43148 fix import order 6 years ago
Eugene Kim fb4792bc9f goimports 6 years ago
Rongjian Lan 39b941d904 Migrate to BLS 6 years ago
Rongjian Lan 41b7f88464 Add crypto/bls/bls.go for multi-sig related code 6 years ago
chaosma 3161a42e49
state syncing integration (#283) 6 years ago
Eugene Kim 5ad4d5a8f0 Adjust import paths and also goimports 6 years ago
chao 19eb4cfabe add more test case for crypto/pki 6 years ago
chao 0d7daeba90 add unit test for crypto/pki/utils.go 6 years ago
Rongjian Lan f26d62984c Add tests for consensus leader code 6 years ago
Rongjian Lan f58c0d193b Add readme for crypto 6 years ago
Leo Chen 8c08f5ba5e HAR-84: fix golint warnings in crytpo, p2p 6 years ago
Minh Doan 162866d1b4 fix golint 6 years ago
Minh Doan ab2f39f5a3 fix import with goimport 6 years ago
Leo Chen 2a602db9b0 fix the build after rename the repo to harmony-one 6 years ago
Minh Doan 29b3281d4a fix lint, now 138 left 6 years ago
Rongjian Lan f93b1eecb9 Add wallet transfer functionality; Add transaction serialization; Refactor wallet utitlity and reuse wallet server; Bytes util; utxoPool crossShard check 6 years ago
Rongjian Lan 54a6def5ac Add import private key and check balance functionalities to wallet 6 years ago
Rongjian Lan b741fb5d92 Add keystore and account listing/clear functionalities 6 years ago
Rongjian Lan 812df64b3b Add transaction signature; Add signing process; Integrate with Consensus and Verification process 6 years ago
Rongjian Lan 99c05a45fe Create signature for the generated transactions in benchmark 6 years ago
Rongjian Lan d4229873d2 Refactor crypto utils into pki and sha256 file 6 years ago
Rongjian Lan dc3dc0dbc6 Add dummy signature field in transaction 6 years ago
Rongjian Lan 8c167c1d14 Migrate address from string to [20]byte 6 years ago
Rongjian Lan 8782c71697 Generate real response in validator node; correct the commitment threshold as now leader is also part of the bft 6 years ago
Rongjian Lan b32dfa211b Rename Curve to Ed25519Curve for clarity 6 years ago
Rongjian Lan b2ea1dacfa Add utility function to aggregate commitments, but not bitmaps 6 years ago
Rongjian Lan c03c08d4d9 Implement the crypto commitment for phase-announce and phase-commit in cosi 6 years ago
Rongjian Lan d115ba6ab9 Add SetKey function in cosi.go so we can directly set bitmap based on public key 6 years ago
Rongjian Lan 8f85868345 Add ed25519 curve, hashing, pri/pub key utilities into crypto/ 6 years ago
Rongjian Lan b91f23c696 Reuse Dedis lab's kyber library for schnorr multi-sig 6 years ago
Rongjian Lan fe9bb236b7 Define cryptography primitives: Point, Scalar. Following dedis/cothority/kyber 6 years ago