bnb-chain / tss-lib

Threshold Signature Scheme, for ECDSA and EDDSA
MIT License
809 stars 274 forks source link

combine mta.BobMid and mta.BobMidWC #110

Open 0xmountaintop opened 4 years ago

0xmountaintop commented 4 years ago

mta.BobMid and mta.BobMidWC share a couple of lines of codes, I guess we can actually combine them?

i.e. https://github.com/binance-chain/tss-lib/blob/e860e36eaaa63afcaf1e5a0ed79b6f56362e88c8/crypto/mta/share_protocol.go#L36-L54

and https://github.com/binance-chain/tss-lib/blob/e860e36eaaa63afcaf1e5a0ed79b6f56362e88c8/crypto/mta/share_protocol.go#L65-L83

0xmountaintop commented 4 years ago

This is also claimed in the paper.

p8 image