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

Add ecall to request execution using an encrypted execution token and some execution parameters #72

Open
6 tasks
longtomjr opened this issue May 20, 2021 · 0 comments
Labels
M: exec enclave Module: Execution enclave (rtc_exec_enclave)

Comments

@longtomjr
Copy link
Collaborator

longtomjr commented May 20, 2021

  • Decrypt the execution token
  • Validate that the hash of the token corresponds to a valid function
  • Perform local attestation with the data enclave
  • Request data from the data enclave with the execution token over the protected channel (established using local attestation) (OCall) [Allocate a buffer with the size specified in the execution token (with some sensible upper max)]
  • Decrypt data received from data enclave and pass it to the function that matches the function hash in the execution token
  • Return the function result back to the caller
    Note: just ignore the execution parameters for now

Blocked by: #73 and #70

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

No branches or pull requests

1 participant