LayerXcom / confidential-computing-modules

A Module for Privacy-preserving State Transitions with Verifiability
90 stars 9 forks source link

Consider alternative ECDSA lib #66

Open osuketh opened 4 years ago

osuketh commented 4 years ago

https://github.com/RustCrypto/signatures which is pure rust and compatible with no-std env.

osuketh commented 4 years ago

Related: #19

osuketh commented 4 years ago

From a security perspective, use 🔗https://github.com/rust-bitcoin/rust-secp256k1 rust-secp256k1 🔗 inside enclave intstead of 🔗https://github.com/paritytech/libsecp256k1 libsecp256k1 🔗 which is pure-rust implementation though.

https://github.com/bl4ck5un/rust-secp256k1-sgx https://github.com/provable-things/ethereum-keys-sgx

osuketh commented 4 years ago

Reference implementations of secp256k1 in solidity

https://github.com/witnet/elliptic-curve-solidity https://github.com/androlo/standard-contracts/blob/master/contracts/src/crypto/Secp256k1.sol https://github.com/kabl/solidity-signature-verify/blob/master/contracts/SignatureVerifier.sol

osuketh commented 3 years ago