Proto commits in bnb-chain/tss-lib

These 45 commits are when the Protocol Buffers files have changed:

Commit:1a14f3a
Author:ZhAnGeek
Committer:GitHub

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 <yycen@live.com> Co-authored-by: ZhAnGeek <lecky.z@nodereal.io>

The documentation is generated from this commit.

Commit:1f7785a
Author:ycen

Update ecdsa-resharing with Paillier key proofs

Commit:4a3428b
Author:ycen

Add modProof in ECDSA-keygen

Commit:3d95e54
Author:ycen
Committer:GitHub

ECDSA protocol security updates (#252) * ECDSA protocol security updates * Update proofs.go * Limit y in Mta in range and prove * Add checks in proofFac * Add checks in MtA * Remove unnecessary assignments * Update unbiased reject sample * Make compatible for old parties with no facProof * Revert "Make compatible for old parties with no facProof" This reverts commit 4c9fa888180256f77380b4b49eebaa403dd783df. * Revised compatible for old parties with no facProof * Update facProof condition test * Allow empty proofFac, roll back rejectSample for compatibility --------- Co-authored-by: Wan Ziyi <40668033+Derrick-Wan@users.noreply.github.com>

Commit:7308ecd
Author:ycen

Revert "Make compatible for old parties with no facProof" This reverts commit 4c9fa888180256f77380b4b49eebaa403dd783df.

Commit:4c9fa88
Author:ycen

Make compatible for old parties with no facProof

Commit:b19124e
Author:ycen
Committer:ycen

ECDSA protocol security updates

Commit:b1c4838
Author:ycen

Add chaincode negoation in ecdsa-keygen

Commit:76a51ee
Author:ycen

Add dlnp proof into internal-mobile-wrapper

Commit:dc233a9
Author:Plamen Hristov

Fixed bad signature.proto

Commit:05b0624
Author:Plamen Hristov

Updated Google protobuf dependency and fixed type clash

Commit:1aa0a75
Author:Fitz
Committer:FitzLu

cherry pick > 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

Commit:856d77b
Author:Fitz
Committer:GitHub

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

Commit:78830ed
Author:FitzLu

regen proto with full package name

Commit:ed6f648
Author:froyobin
Committer:GitHub

remove unused paillier sk and avoid sender choosing h_1,h_2,Ntilde (#129) * remove unused paillier sk and fix the error in choosing h_1,h_2,Ntilde * remove the witness in keysign as the verifier only trust its own Ntilde,h1,h2 Co-authored-by: Ford Betelgeuse <ford.betelgeusedent@gmail.com>

Commit:aa7164a
Author:ackratos
Committer:ackratos

fix things for binance tss product

Commit:f896de9
Author:Ford Betelgeuse
Committer:Ford Betelgeuse

thorchain gg20

Commit:9d8889d
Author:cong
Committer:GitHub

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>

Commit:6b19c75
Author:yutianwu
Committer:ackratos

[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

Commit:b2335ba
Author:Luke Plaster
Committer:Luke Plaster

ecdsa/signing: implement 'type 5' identified abort (blame)

Commit:3e35a67
Author:Luke Plaster

protob/eddsa-resharing: minor fix for eddsa protobuf name when regenerated

Commit:232b11e
Author:Luke Plaster

ecdsa/signing: simplify, use rSigmaI in FinalizeGetOurSigShare

Commit:90a8736
Author:Luke Plaster

eddsa/signing: add identifable abort for phase 7

Commit:f380443
Author:Luke Plaster

ecdsa/signing: add the one-round signing API

Commit:e03efd4
Author:Luke Plaster
Committer:Luke Plaster

ecdsa/signing: populate and save the one-round state struct

Commit:4d92512
Author:Luke Plaster

ecdsa/signing: implement round 5 ZKP of consistency between Rdash_i and E_i(k_i) ported from the kzen impl: https://git.io/Jf69a

Commit:b88bfac
Author:Luke Plaster

ecdsa/signing: implement the remaining rounds for gg20

Commit:51932c3
Author:Luke Plaster

ecdsa/signing: implement gg20 round 3

Commit:7ddac3f
Author:Luke Plaster

protob: update message defs for gg20

Commit:aad9998
Author:Luke Plaster

ecdsa/signing: rename 'theta' to 'delta' for correctness

Commit:da6040f
Author:Luke Plaster
Committer:Luke Plaster

protob: fix go package of signature protobuf source

Commit:abd66f8
Author:yutianwu
Committer:GitHub

[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

Commit:769ccf7
Author:Luke Plaster
Committer:Luke Plaster

[security] ecdsa: add proof of discrete log to prove that the two elements h_1, h_2 generate the same group mod N

Commit:1e5e2dd
Author:Luke Plaster
Committer:GitHub

[security] resharing: wait for final acks from the new committee before ending (#75) This is the fix for a vulnerability reported by Omer Shlomovits of KZen Networks (ZenGo). It adds a final ack round to the re-sharing protocol where the new committee sends acks to members of both the old and new committees before they save any data to disk. Other Changes: * readme: mention the UpdateFromBytes bool arg changes, misc edits * resharing: edit a comment in round 4 * remove the confusing to committee bools * resharing: remove a redundant line in round 5

Commit:570cd35
Author:Luke Plaster
Committer:Luke Plaster

protob: add copyright headers

Commit:641f146
Author:Luke Plaster
Committer:Luke Plaster

add SignatureData protobuf message to replace LocalSignData and use it in the mobile interface

Commit:69b9de0
Author:Luke Plaster
Committer:Luke Plaster

docs: add comments about PartyIDs

Commit:c6f5674
Author:Luke Plaster
Committer:Luke Plaster

protobuf: refactored message structure to include routing data in a wrapper message for mobile apps

Commit:e761090
Author:Luke Plaster
Committer:GitHub

resharing: remove unused big-X_j data/commitments (#66) * ecdsa/resharing: remove unused big-X_j data/commitments fixes #60

Commit:2629d2e
Author:Luke Plaster
Committer:Luke Plaster

ecdsa/regroup: rename to resharing

Commit:bfd8c29
Author:Luke Plaster
Committer:Luke Plaster

protob: improve messaging interfaces to abstract away protobufs

Commit:752ea52
Author:Luke Plaster
Committer:Luke Plaster

protob: WIP protobuf conversion

Commit:bcd330f
Author:Luke Plaster
Committer:Luke Plaster

protob: add initial protobuf defs

Commit:d4d8eb1
Author:Luke Plaster
Committer:Luke Plaster

protob: WIP protobuf conversion - working signing and regroup

Commit:6ece436
Author:Luke Plaster
Committer:Luke Plaster

protob: WIP wire message format