I want to be able to generate DH keys from a non-SGX application, and commnuicate with an SGX enclave that it using the sgx_tcrypto library.
Is there a way to include the sgx_tcrypto library in a non-SGX application?
What is the curve used for sgx_tcrypto's ECC keys? Then I can use, for example, OpenSSL to generate keys on one end.
I may have simply missed something in the documentation, apologies if so.
The sgx_tcrypto library is intended only for enclave development. The sgx_tcrypto library leverages the IPP Crypto library. The IPP Crypto library is available on developer zone and this version should be used for non-enclave code development.