I'm trying to use `sgx_ucrypto::SgxEccHandle` to verify a signature

[reproduce with this 
code](https://github.com/scs/substraTEE-node/tree/ra_improvements)

When I do 
```
cargo +nightly-2019-11-25 build
```
I get the following errors:
```
error[E0432]: unresolved imports `libc::size_t`, `libc::c_int`, `libc::c_void`
 --> 
/home/abrenzikofer/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/93c76de/sgx_ucrypto/src/util.rs:1:12
  |
1 | use libc::{size_t, c_int, c_void};
  |            ^^^^^^  ^^^^^  ^^^^^^ no `c_void` in the root
  |            |       |
  |            |       no `c_int` in the root
  |            no `size_t` in the root

error[E0432]: unresolved imports `libc::EINVAL`, `libc::E2BIG`, 
`libc::EOVERFLOW`
 --> 
/home/abrenzikofer/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/93c76de/sgx_ucrypto/src/util.rs:2:12
  |
2 | use libc::{EINVAL, E2BIG, EOVERFLOW};
  |            ^^^^^^  ^^^^^  ^^^^^^^^^ no `EOVERFLOW` in the root
  |            |       |
  |            |       no `E2BIG` in the root
  |            no `EINVAL` in the root

error[E0432]: unresolved import `libc::memset`
 --> 
/home/abrenzikofer/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/93c76de/sgx_ucrypto/src/util.rs:3:5
  |
3 | use libc::memset;
  |     ^^^^^^^^^^^^ no `memset` in the root

error[E0599]: no function or associated item named `new` found for type 
`rdrand::RdRand` in the current scope
  --> 
/home/abrenzikofer/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/93c76de/sgx_ucrypto/src/util.rs:54:35
   |
54 |     let mut rnd = rdrand::RdRand::new().unwrap();
   |                                   ^^^ function or associated item not 
found in `rdrand::RdRand`

error: aborting due to 4 previous errors
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave-sgx-sdk/issues/203

Reply via email to