Universal crypto library for Eigen run both in SGX and Non-SGX.
Rust Version: rustup default nightly-2020-10-25
Rust SGX SDK: 1.1.3
NOTE: This needs some tricks right now. you have to un-comment the deps and features in Cargo.toml.
git clone https://github.com/ieigen/eigen-crypto
cd eigen-crypto
# Non-SGX
git checkout non_sgx
cargo test -- --test-threads 1
# SGX
git checkout merge
cargo build --features=mesalock_sgx
cd sgx-test
make run
- hash/aes/encoder
- address and mnemonic
- ecdsa
- ecies
- schnorr and BLS multi-sig
- bulletproofs
- HD Wallet(BIP32)