@edisonljh I guess you missed `ecc_handle.open()` after opening it. Please see 
my patch below:

```diff
+    let mut ecc_handle = SgxEccHandle::new();
+    let _ = ecc_handle.open(); // <-- here
+    println!("attempting to create keypair");
+    let mut private = sgx_ec256_private_t::default();
+    let mut public = sgx_ec256_public_t::default();
```

-- 
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/218#issuecomment-609947956

Reply via email to