Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

Add ecall for requesting data using an execution token sent over a protected channel. #73

Open
5 tasks
longtomjr opened this issue May 20, 2021 · 0 comments
Labels
M: data enclave Module: Data enclave (rtc_data_enclave)

Comments

@longtomjr
Copy link
Collaborator

longtomjr commented May 20, 2021

  • OCall to the auth_enclave to validate and "use" the execution token (use protected channel)
  • Return error if the token is invalid
  • If token is valid, open and unseal the requested data and re-seal it to be sent back to the execution enclave.
  • Check that the sealed data size is the same size as the buffer allocated by the caller.
  • If the size match, return the sealed buffer

Blocked by: #74

Blocks: #72

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
M: data enclave Module: Data enclave (rtc_data_enclave)
Projects
None yet
Development

No branches or pull requests

1 participant