Skip to content

Instantly share code, notes, and snippets.

@glassonion1
Last active August 13, 2021 00:48
Show Gist options
  • Save glassonion1/a09c0c289cde1ae94947f5d9eeb1a403 to your computer and use it in GitHub Desktop.
Save glassonion1/a09c0c289cde1ae94947f5d9eeb1a403 to your computer and use it in GitHub Desktop.
class App {
main()
ocall_sgx_init_quote()<<OCall>>
ocall_get_quote()<<OCall>>
}
class Enclave {
verify() <<ECall>>
create_attestation_report()
}
class Client {
get_sigrl_from_intel()
post_report_to_intel()
}
() OCall
() ECall
App - OCall
App ..> ECall
ECall - Enclave
OCall <.. Enclave
Enclave -> Client
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment