- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
How to create multiple enclaves in a single application?
Sample code(or link to it ) would be better. Need it for my academic project.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hi Sushant.
The only thing you really need to do to load multiple enclaves is to make sure they are named differently. The LocalAttestation sample actually loads up 3 different enclaves (simply named Enclave1, Enclave2, and Enclave3).
https://github.com/intel/linux-sgx/tree/master/SampleCode/LocalAttestation
Hope this helps.
Scott
Link copiado
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hi Sushant.
The only thing you really need to do to load multiple enclaves is to make sure they are named differently. The LocalAttestation sample actually loads up 3 different enclaves (simply named Enclave1, Enclave2, and Enclave3).
https://github.com/intel/linux-sgx/tree/master/SampleCode/LocalAttestation
Hope this helps.
Scott
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Thanks. And how do you generate "Enclave1_private.pem" file for each enclave?
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
You can use OpenSSL to generate the keys you need. See the "Enclave Signing Tool" section of the latest SGX Dev Ref for Linux for examples of how to do so:
But, just as an FYI, unless you want/plan to whitelist each enclave signing key separately, you probably want to use the same signing key for all your enclaves.
Regards.
Scott

- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora