unboundsecurity / blockchain-crypto-mpc

Protecting cryptographic signing keys and seed secrets with Multi-Party Computation.
GNU General Public License v3.0
454 stars 167 forks source link

MPCCrypto_verifyEcdsa curve type hardcoded to k256. #5

Closed Kevin-Jiang78 closed 5 years ago

Kevin-Jiang78 commented 5 years ago

crypto::ecurve_t curve = crypto::curve_k256; //line 324 blockchain-crypto-mpc/src/mpc_crypto_ecdsa.cpp

peer-guy commented 5 years ago

Indeed, at this time we have hard coded this specific curve for API simplicity. The protocols and implementation are curve agnostic, though. What other curves would you find interesting in the context of blockchain ?

Kevin-Jiang78 commented 5 years ago

Got it. Just got trouble to validate P256 certificate. Thanks a lot.