Parallel Computing of Enclave

39 views
Skip to first unread message

Kavish Nayeem

unread,
Nov 22, 2023, 1:11:46 PM11/22/23
to Keystone Enclave Forum
Hi Everyone,
I am currently studying about multiple TEEs on RISCV  and I came across your paper . I really liked keystone technology as it aligns with my goal .
I tried to initialize 2 enclaves in host.cpp . I was successful in initialize but I have seen that it has only one runtime environment so I cant use 2 Enclaves at the same time.What  I saw was  I need to compute in one Enclave and move to another . But I want it to run parallelly.
Is my approach of creating multiple enclaves wrong? If not How can I parallelly run multiple Enclaves.
Any help would be appreciated. 
Thank you.

Alejandro Cabrera Aldaya

unread,
Nov 22, 2023, 1:25:57 PM11/22/23
to Kavish Nayeem, Keystone Enclave Forum
Hi Kavish,

IIRC, you can create two Enclave objects and run them on different threads on your host application.
That should create two enclaves that run concurrently.

Hope it helps,
Alejandro



--
You received this message because you are subscribed to the Google Groups "Keystone Enclave Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keystone-enclave-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/keystone-enclave-forum/ce646217-ff0f-4ad0-84b7-50484ba50582n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages