- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'd like to compile a third-party or my own static library on Linux (.a file) into an enclave, as described in SGX developer reference for Linux OS, Library Development for Enclaves. I anticipate one interface call from the untrusted application, so an edl file is needed.
Does anyone have an example of a Makefile showing a third-party static library being linked with an enclave on Linux? I've not seen an example in the Sample Code and I think I'm putting the static library in the wrong place or not using the right options. An example would be great, thanks.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi David.
If you take a look at the Local Attestation SGX sample on GitHub, you'll see that the 3 enclaves built in that project, all link in a common static library (libLocalAttestation_Trusted.a). Hopefully this will help you link your static library in.
https://github.com/intel/linux-sgx/tree/master/SampleCode/LocalAttestation
Regards.
Scott
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page