Files
tss/protob/ecdsa-keygen.proto
d70b26685f Ecdsa proof session byte (#256)
* Add modProof in ECDSA-keygen

* Reduce test param to reduce github workflow load

* Add test fixtures

* Fix EDDSA keygen example

* Restore test fixtures

* Compress modproof

* use warning instead of fatal in logger to prevent panic

* Add more checks in range proof

* Regenerate preparams for older version

* Reset test params and regenerate fixtures

* Update ecdsa-resharing with Paillier key proofs

* Add a switch to optional turn off Pai key proofs

* Update README for caution of preparams updated

* add: ecdsa proof session byte

---------

Co-authored-by: ycen <[email protected]>
Co-authored-by: ZhAnGeek <[email protected]>
2023-08-23 11:12:34 +08:00

46 lines
1.2 KiB
Protocol Buffer

// Copyright © 2019 Binance
//
// This file is part of Binance. The full Binance copyright notice, including
// terms governing use, modification, and redistribution, is contained in the
// file LICENSE at the root of the source code distribution tree.
syntax = "proto3";
package binance.tsslib.ecdsa.keygen;
option go_package = "ecdsa/keygen";
/*
* Represents a BROADCAST message sent during Round 1 of the ECDSA TSS keygen protocol.
*/
message KGRound1Message {
bytes commitment = 1;
bytes paillier_n = 2;
bytes n_tilde = 3;
bytes h1 = 4;
bytes h2 = 5;
repeated bytes dlnproof_1 = 6;
repeated bytes dlnproof_2 = 7;
}
/*
* Represents a P2P message sent to each party during Round 2 of the ECDSA TSS keygen protocol.
*/
message KGRound2Message1 {
bytes share = 1;
repeated bytes facProof = 2;
}
/*
* Represents a BROADCAST message sent to each party during Round 2 of the ECDSA TSS keygen protocol.
*/
message KGRound2Message2 {
repeated bytes de_commitment = 1;
repeated bytes modProof = 2;
}
/*
* Represents a BROADCAST message sent to each party during Round 3 of the ECDSA TSS keygen protocol.
*/
message KGRound3Message {
repeated bytes paillier_proof = 1;
}