multi-party-ecdsa icon indicating copy to clipboard operation
multi-party-ecdsa copied to clipboard

Support several elliptic curves

Open survived opened this issue 5 years ago • 3 comments

multi-party-ecdsa used to work with several curves by specifying certain features. Currently, curve is fixed: we use secp256k1.

Choice of curve may be added by introducing generic parameters to algorithms (generic over ECPoint/ECScalar traits from curv crate), or by introducing features and adding conditional compilation.

survived avatar Feb 22 '21 07:02 survived

@survived Hi, I have some question something theoretical.

Can TSS support any kind of ECDSA curve no matter what curve is and also no matter size of key??

Actually What I'm looking for is about p256 or secp384r1.

dlhex avatar Aug 02 '21 05:08 dlhex

Hi @dlhex, yes, tss scheme implemented in multi-party-ecdsa can be generic over choice of curve, particularly it used to support p256. It just requires to make algorithms, defined in this crate, generic over E: Curve, see examples here

survived avatar Aug 02 '21 06:08 survived

I see! Thank you for your quick answer

dlhex avatar Aug 02 '21 06:08 dlhex