23 Commits

Author SHA1 Message Date
creamwhip
03f7a4577c move tools (benchgen, benchsign) to their own module 2022-01-29 23:00:28 +08:00
creamwhip
f08069bfef upgrade dependencies 2022-01-29 22:59:51 +08:00
Gustavo Frederico
1e02560e7e Merging the branch that has CGGMP21 Oct changes onto the master branch. Resolving conflicts (listed below). In general, file versions of CGGMP21 Oct were chosen and security patches or small recent improvements from the master branch were copied over.
Merge branch 'master' into feature/cggmp21oct-tss-lib-tmp-merge

# Conflicts:
#	.github/workflows/test.yml
#	Makefile
#	README.md
#	crypto/ckd/child_key_derivation.go
#	crypto/ecpoint.go
#	crypto/mta/proofs.go
#	crypto/mta/range_proof.go
#	crypto/mta/share_protocol.go
#	crypto/mta/share_protocol_test.go
#	crypto/paillier/paillier.go
#	crypto/vss/feldman_vss.go
#	ecdsa/keygen/ecdsa-keygen.pb.go
#	ecdsa/keygen/local_party.go
#	ecdsa/keygen/local_party_test.go
#	ecdsa/keygen/messages.go
#	ecdsa/keygen/prepare.go
#	ecdsa/keygen/round_1.go
#	ecdsa/keygen/round_2.go
#	ecdsa/keygen/round_3.go
#	ecdsa/keygen/round_4.go
#	ecdsa/keygen/save_data.go
#	ecdsa/resharing/ecdsa-resharing.pb.go
#	ecdsa/resharing/local_party_test.go
#	ecdsa/resharing/messages.go
#	ecdsa/resharing/round_1_old_step_1.go
#	ecdsa/resharing/round_4_new_step_2.go
#	ecdsa/signing/ecdsa-signing.pb.go
#	ecdsa/signing/finalize.go
#	ecdsa/signing/key_derivation_util.go
#	ecdsa/signing/local_party.go
#	ecdsa/signing/local_party_test.go
#	ecdsa/signing/messages.go
#	ecdsa/signing/prepare.go
#	ecdsa/signing/round_1.go
#	ecdsa/signing/round_2.go
#	ecdsa/signing/round_3.go
#	ecdsa/signing/round_4.go
#	ecdsa/signing/round_5.go
#	ecdsa/signing/round_6.go
#	ecdsa/signing/round_7.go
#	ecdsa/signing/rounds.go
#	eddsa/keygen/eddsa-keygen.pb.go
#	eddsa/keygen/local_party.go
#	eddsa/keygen/local_party_test.go
#	eddsa/keygen/messages.go
#	eddsa/keygen/round_1.go
#	eddsa/keygen/round_2.go
#	eddsa/keygen/round_3.go
#	eddsa/keygen/save_data.go
#	eddsa/keygen/test_utils.go
#	eddsa/resharing/eddsa-resharing.pb.go
#	eddsa/resharing/local_party.go
#	eddsa/resharing/local_party_test.go
#	eddsa/resharing/messages.go
#	eddsa/resharing/round_1_old_step_1.go
#	eddsa/resharing/round_4_new_step_2.go
#	eddsa/signing/eddsa-signing.pb.go
#	eddsa/signing/finalize.go
#	eddsa/signing/local_party.go
#	eddsa/signing/local_party_test.go
#	eddsa/signing/messages.go
#	eddsa/signing/prepare.go
#	eddsa/signing/round_1.go
#	eddsa/signing/round_2.go
#	eddsa/signing/round_3.go
#	eddsa/signing/rounds.go
#	eddsa/signing/utils.go
#	go.mod
#	go.sum
#	protob/ecdsa-keygen.proto
#	protob/ecdsa-resharing.proto
#	protob/ecdsa-signing.proto
#	protob/eddsa-keygen.proto
#	protob/eddsa-resharing.proto
#	protob/eddsa-signing.proto
#	protob/message.proto
#	protob/signature.proto
#	test/_ecdsa_fixtures/keygen_data_0.json
#	test/_ecdsa_fixtures/keygen_data_1.json
#	test/_ecdsa_fixtures/keygen_data_2.json
#	test/_ecdsa_fixtures/keygen_data_3.json
#	test/_ecdsa_fixtures/keygen_data_4.json
#	test/_eddsa_fixtures/keygen_data_0.json
#	test/_eddsa_fixtures/keygen_data_1.json
#	test/_eddsa_fixtures/keygen_data_2.json
#	test/_eddsa_fixtures/keygen_data_3.json
#	test/_eddsa_fixtures/keygen_data_4.json
#	test/config.go
#	tss/message.pb.go
#	tss/params.go
#	tss/party.go
#	tss/wire.go
2021-12-17 16:03:49 -05:00
creamwhip
1bfe24ba54 update all dependencies 2021-12-14 08:20:03 +00:00
creamwhip
bf16e4fc74 go mod tidy 2021-09-30 18:02:27 +08:00
Fitz
856d77b7fb Curve as parameter (#137)
* move curve into tss.Parameters

* regen proto with full package name

* pass curve through parameter

* add curve name in ecpoint json serialization
2021-07-06 11:51:20 +08:00
Gustavo Frederico
0e57c1dc5c Replacing deprecated functions that unmarshalled messages. 2021-06-29 18:44:54 +08:00
Gustavo Frederico
5e0b1fafb8 Signing optimizations - initial commit. Work in progress. Changing message storage to queues. Changes to BaseStart for rounds to process messages in parallel. Changing only rounds 1 and 2 to start. 2021-03-01 14:04:21 +08:00
creamwhip
ccd7db8b44 add local benchmark tools (make benchgen, make benchsign) 2020-12-28 19:31:20 +08:00
creamwhip
614e76c954 go.mod: use github.com/agl/ed25519@fd4d107ace12 2020-12-27 23:30:25 +08:00
cong
9d8889d446 Internal mobile wrapper eddsa (#124)
* [R4R] Add eddsa (#88)

* [R4R] Add eddsa keygen and signing (#3)

* add eddsa signing and keygen

* contruct extended element from x,y

* update dep

* fix test

* fix bug

* delete unused code

* add resharing

* fix comments

* refactor RejectionSampl;e

* rename variable (#4)

* delete printf

* update dependency

* resolve conflict

* Update readme about EdDSA (#91)

* update readme about eddsa

* minor fix

* S in eddsa signature is not encoded correctly

* fix msg in eddsa hasn't to be a int.

* fix unit test

* register DGRound4Message for eddsa resharing (#99)

Co-authored-by: yutianwu <wzxingbupt@gmail.com>
Co-authored-by: dylenfu <dylenfu@126.com>
2020-12-08 16:50:06 +08:00
Luke Plaster
7b86681d67 use libprotoc v3.12.3, golang/protobuf v1.4.2, google.golang.org/protobuf v1.25.0 2020-11-15 16:25:25 +08:00
Luke Plaster
daf88e99a2 update all deps 2020-11-15 16:24:46 +08:00
Luke Plaster
c86441e506 upgrade to Protocol Buffers v3.12.3, golang/protobuf v1.4.2 2020-11-15 16:24:46 +08:00
yutianwu
abd66f8884 [R4R] Add eddsa (#88)
* [R4R] Add eddsa keygen and signing (#3)

* add eddsa signing and keygen

* contruct extended element from x,y

* update dep

* fix test

* fix bug

* delete unused code

* add resharing

* fix comments

* refactor RejectionSampl;e

* rename variable (#4)

* delete printf

* update dependency

* resolve conflict
2020-03-06 11:34:06 +08:00
Luke Plaster
c4c71d3b3c ecdsa/keygen: merge several vss errors into one 2019-10-24 16:01:06 +08:00
Luke Plaster
9d94c73447 protob: prepare for protobufs 2019-09-25 13:10:57 +08:00
Luke Plaster
5433108523 go.mod update/tidy 2019-07-30 16:22:35 +08:00
Luke Plaster
cc65593416 use external primes module 2019-07-03 13:28:44 +08:00
Luke Plaster
26e75ce264 update deps 2019-06-03 11:54:40 +08:00
Cong Zhao
53f0a6a6cf logging 2019-05-28 17:01:07 +08:00
Luke Plaster
79e7afe200 go.mod tidy 2019-05-23 16:47:24 +08:00
Luke Plaster
bcc0e46568 Add initial crypto and tests 2019-05-17 18:33:25 +08:00