API and demo programs for COFFER TEE.
.
├── bin # Linux programs
│ ├── create_enclave.c
│ ├── enter_enclave.c
│ ├── Makefile
│ └── test.c
├── include # COFFER API
│ ├── manager
│ │ └── manager.h
│ └── payload
│ └── payload.h
├── lib # Static library source files
│ ├── Makefile
│ ├── manager.c
│ └── payload.c
├── Makefile
├── payloads # Enclave payload ELFs
│ ├── Makefile
│ ├── testpayload.c
│ └── write.c
└── README.md
bin
: Linux programs that managers the enclaves.include
: Header files for linux programs and enclave payloads, in which COFFER APIs are defined.lib
: Static library for linux programs and enclave payloads.payloads
: ELFs to be loaded into enclaves.
-
Write your programs in
bin
andpayloads
for Linux programs and enclave payloads respectively. -
Build:
Make sure you have RISC-V GNU Toolchain installed, then
make
-
Copy the directory to your RISC-V device.
-
Run the programs.
(To be finished...)