Skip to content

0xEigenLabs/eigen-crypto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)