-
construct highly customisable TEEs
-
drawing on ideas from modular kernel concepts
-
built on top of RISC-V's physical memory protection (PMP)
- a primitive which allows the programmable machine mode underneath the OS in RISC-V to specify arbitrary protections on physical memory regions
- programmable machine mode

-
SM runs in Machine mode
- similar to notion of monitor in kernel design
- thin layer of trusted software
-
RT runs in Supervisor Mode
- provides functionality modules for system call interfaces,
standard libc support, in-enclave virtual memory management, self-paging, and more inside the
enclave.
- overlapping functionalities with LibOS
- two implementations available: Eyrie: native to keystone, seL4
-
supported hardware - Keystone is tested on different RISC-V systems, all without modification:
- the HiFive Freedom Unleashed,
- 3 in-order cores and 1 out-of-order core via FPGA,
and a QEMU emulation