~/talk

Trusted Execution State: An Extension for Lightweight Secure Function Calling

Talkat RISC-V Global Forum 2020 · on Thursday, 2020-09-03· at 13:40· MeetingPlay, Virtual Event· [security]
name:Mark Hill
links:none on file
slides:none on file

Adds a new RISC-V Trusted Execution State that implements a jump-table entry mechanism (tezvec) governed by two CSRs for TES base/top CSRs and a new PMP flag PMP T bit so untrusted code can call small trusted functions without a full syscall. Hardware shadows for shadow SP/GP/TP plus automatic clearing of temporary registers prevent leaks, horizontal call/return transitions revoke trusted permissions when jumping to untrusted addresses, a T red style instruction enforces caller provenance, and a QEMU prototype plus GitHub demo validate the concept.

AI-written summary · about

  1. 0:00Introduction to TES
  2. 1:44Rationale for TES extension
  3. 3:49Performance issues with TEEs
  4. 5:55Scope and use cases
  5. 6:15Trusted Execution State overview
  6. 7:20Memory protection with T bit
  7. 8:45Transitioning to untrusted state
  8. 10:07Returning to trusted state
  9. 11:52TES entry via Tezvec
  10. 13:18Returning from trusted code
  11. 15:02Preventing data leaks
  12. 16:24Hardware-assisted mechanisms
  13. 17:27Register shadowing and clearing
  14. 19:11Simple trusted function example
  15. 21:20Lightweight secure function call
  16. 22:47QEMU implementation demo
  17. 23:30First use case and demo code
  18. 24:12Q&A and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.