Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can data on peripherals be obtained in enclave? #414

Open
feichuanshuo opened this issue Jan 19, 2024 · 4 comments
Open

Can data on peripherals be obtained in enclave? #414

feichuanshuo opened this issue Jan 19, 2024 · 4 comments

Comments

@feichuanshuo
Copy link

I hope to obtain sensor data in enclave to ensure data security!

@grg-haas
Copy link
Collaborator

Hi @feichuanshuo! While this is not supported yet, this feature is actually in progress. Stay tuned!

@feichuanshuo
Copy link
Author

Can you provide a simple idea?

@acaldaya
Copy link
Contributor

I'm also interested in this.

@feichuanshuo the straightforward method would be that the SM access the device on behalf of the Enclave. So you would need to provide API thought the stack to get access to that.
You can use existing Keystone SBIs as an example about how to do that:

unsigned long sbi_sm_get_sealing_key(uintptr_t sealing_key, uintptr_t key_ident,

@grg-haas could you share the ideas that you are cooking?
like for instance, have you identified a third-party framework for managing the synchronization?

@grg-haas
Copy link
Collaborator

@feichuanshuo @acaldaya I've opened a proof-of-concept PR for this at #418!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants