Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 663 Bytes

README.md

File metadata and controls

33 lines (27 loc) · 663 Bytes

Crypto Library for EigenCC

Universal crypto library for Eigen run both in SGX and Non-SGX.

Requirement

Rust Version: rustup default nightly-2020-10-25

Rust SGX SDK: 1.1.3

Test

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

TODO

  • hash/aes/encoder
  • address and mnemonic
  • ecdsa
  • ecies
  • schnorr and BLS multi-sig
  • bulletproofs
  • HD Wallet(BIP32)