├── .github ├── ISSUE_TEMPLATE │ └── bug_report.md └── workflows │ ├── build-runtime.yml │ ├── main.yml │ └── test-system.yml ├── .gitignore ├── .gitmodules ├── .readthedocs.yaml ├── CMakeLists.txt ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── KEYSTONE-FPGA.md ├── LICENSE ├── Makefile ├── README.md ├── bootrom ├── Makefile ├── bootloader.S ├── bootloader.c ├── bootloader.lds ├── ed25519 │ ├── LICENSE │ ├── ed25519.h │ ├── fe.c │ ├── fe.h │ ├── fixedint.h │ ├── ge.c │ ├── ge.h │ ├── keypair.c │ ├── precomp_data.h │ ├── sc.c │ ├── sc.h │ ├── sign.c │ └── verify.c ├── sanctum_params.lds ├── sha3 │ ├── sha3.c │ └── sha3.h ├── string.h ├── test_dev_key.h └── use_test_keys.h ├── docker ├── Dockerfile ├── Dockerfile.32.nobuild ├── Dockerfile.nobuild └── README.md ├── docs ├── .gitignore ├── Makefile ├── README.md ├── make.bat ├── requirements.txt └── source │ ├── Building-Components │ └── Eyrie.rst │ ├── Continuous-Integration │ └── Custom-Runner.rst │ ├── Contributing-to-Keystone │ ├── Future-Objectives.rst │ └── How-to-Contribute.rst │ ├── Getting-Started │ ├── FAQ.rst │ ├── How-Keystone-Works │ │ ├── Keystone-Basics.rst │ │ ├── RISC-V-Background.rst │ │ └── index.rst │ ├── How-to-Debug.rst │ ├── QEMU-Compile-Sources.rst │ ├── QEMU-Install-Dependencies.rst │ ├── QEMU-Run-Tests.rst │ ├── QEMU-Setup-Repository.rst │ ├── Running-Keystone-on-CVA6.rst │ ├── Running-Keystone-on-Hardware.rst │ ├── Running-Keystone-on-RV32.rst │ ├── Running-Keystone-on-Unleashed.rst │ ├── Running-Keystone-with-FireSim.rst │ ├── Running-Keystone-with-QEMU.rst │ ├── Tutorials │ │ ├── Build-Enclave-App-Benchmark.rst │ │ ├── Build-Enclave-App-Hello-World-Native.rst │ │ ├── Build-Enclave-App-Hello-World.rst │ │ ├── Build-Enclave-App-seL4.rst │ │ ├── Remote-Attestation.rst │ │ └── index.rst │ └── index.rst │ ├── Keystone-Applications │ ├── Attestation.rst │ ├── Compiling-Applications.rst │ ├── Data-Sealing.rst │ ├── Edge-Calls.rst │ └── SDK-Basics.rst │ ├── Runtimes │ ├── Eyrie.rst │ └── seL4.rst │ ├── Security-Monitor │ ├── FU540.rst │ ├── enclave_lifecycle.dot │ └── index.rst │ ├── _static │ ├── .PLACEHOLDER │ └── images │ │ ├── enclave_lifecycle.png │ │ ├── keystone_key_hierarchy.png │ │ ├── keystone_overview.png │ │ ├── keystone_workflow.png │ │ └── sealing_key_deriv.png │ ├── conf.py │ └── index.rst ├── examples ├── CMakeLists.txt ├── attestation │ ├── CMakeLists.txt │ ├── eapp │ │ └── attestor.c │ └── host │ │ ├── attestor-runner.cpp │ │ ├── host.cpp │ │ ├── host.h │ │ ├── verifier.cpp │ │ └── verifier.h ├── hello-native │ ├── CMakeLists.txt │ ├── eapp │ │ └── eapp_native.c │ └── host │ │ └── host_native.cpp ├── hello │ ├── CMakeLists.txt │ ├── eapp │ │ └── hello.c │ └── host │ │ └── host.cpp └── tests │ ├── .gitignore │ ├── CMakeLists.txt │ ├── app.lds │ ├── attestation │ ├── attestation.c │ ├── edge_wrapper.c │ ├── edge_wrapper.h │ └── retval │ ├── data-sealing │ ├── data-sealing.c │ ├── data-sealing.h │ ├── data-sealing_with_output.c │ └── retval │ ├── edge_wrapper.cpp │ ├── edge_wrapper.h │ ├── fib-bench │ └── fib-bench.c │ ├── fibonacci │ ├── fibonacci.c │ └── retval │ ├── long-nop │ ├── func_base.s │ ├── func_long.s │ ├── generate_func.sh │ ├── long-nop.S │ ├── nop.h │ ├── nop.s │ └── retval │ ├── loop │ ├── loop.s │ └── retval │ ├── malloc │ ├── malloc.c │ └── retval │ ├── stack │ ├── retval │ └── stack.S │ ├── test-runner.cpp │ └── untrusted │ ├── edge_wrapper.c │ ├── edge_wrapper.h │ ├── retval │ └── untrusted.c ├── fast-setup.sh ├── linux-keystone-driver ├── LICENSE ├── Makefile ├── README.md ├── keystone-enclave.c ├── keystone-ioctl.c ├── keystone-page.c ├── keystone-sbi.c ├── keystone-sbi.h ├── keystone.c ├── keystone.h └── riscv64.h ├── mkutils ├── args.mk ├── log.mk ├── pkg-keystone.mk └── plat │ ├── cva6 │ └── run.mk │ ├── generic │ └── run.mk │ ├── hifive_unmatched │ └── run.mk │ └── mpfs │ └── run.mk ├── overlays └── keystone │ ├── Config.in │ ├── board │ ├── cva6 │ │ ├── configs │ │ │ ├── busybox32-cva6.config │ │ │ ├── linux32-cva6-defconfig │ │ │ ├── linux64-cva6-defconfig │ │ │ └── uboot-cva6.config │ │ ├── patches │ │ │ ├── linux │ │ │ │ ├── 0001-Incorporate-lowrisc-drivers-for-latest-kernel-releas.patch │ │ │ │ ├── 0002-Hack-around-buggy-support-for-SR_FS-and-or-SR_SD.patch │ │ │ │ ├── 0003-Add-Xilinx-emaclite.patch │ │ │ │ ├── 0004-Update-for-linux.patch │ │ │ │ ├── 0005-Fix-LowRisc-K-Config-error.patch │ │ │ │ └── 0006-fix-netif_napi_add-to-many-argument.patch │ │ │ └── opensbi │ │ │ │ ├── 0001-Fix-CVA6-32-bit-floating-point-operation-with-soft-f.patch │ │ │ │ ├── 0002-workaround-to-fix-CVA6-32-bit-ABi-is-incompatible-is.patch │ │ │ │ └── 0003-remove-PLATFORM_RISCV_XLEN-in-ariane-config.patch │ │ ├── post-build.sh │ │ └── post-image.sh │ ├── mpfs │ │ ├── hss-config.yaml │ │ ├── patches │ │ │ ├── dt-overlay-mchp │ │ │ │ └── 0001-move-devtree.patch │ │ │ ├── linux │ │ │ │ └── 0001-make-more-cma.patch │ │ │ └── uboot │ │ │ │ ├── 0001-change-base-addr.patch │ │ │ │ └── 0002-use-hss-devicetree.patch │ │ ├── post-build.sh │ │ └── uboot-fragment-rootfs.config │ └── sifive │ │ └── hifive-unmatched │ │ ├── extlinux.conf │ │ ├── genimage_sdcard.cfg │ │ ├── linux-sifive-unmatched-defconfig │ │ ├── patches │ │ ├── linux │ │ │ ├── 0001-perf-cpumap-Make-counter-as-unsigned-ints.patch │ │ │ ├── 0001-riscv-sifive-fu740-cpu-1-2-3-4-set-compatible-to-sif.patch │ │ │ ├── 0002-riscv-sifive-unmatched-define-PWM-LEDs.patch │ │ │ └── 0003-Revert-riscv-dts-sifive-unmatched-Link-the-tmp451-wi.patch │ │ └── uboot │ │ │ ├── 0001-board-sifive-spl-Initialized-the-PWM-setting-in-the-.patch │ │ │ ├── 0002-board-sifive-Set-LED-s-color-to-purple-in-the-U-boot.patch │ │ │ ├── 0003-board-sifive-Set-LED-s-color-to-blue-before-jumping-.patch │ │ │ ├── 0004-board-sifive-spl-Set-remote-thermal-of-TMP451-to-85-.patch │ │ │ ├── 0005-riscv-dts-Add-few-PMU-events.patch │ │ │ ├── 0006-implement-keystone-secure-boot.patch │ │ │ └── 0007-keystone-prefer-mmc-boot-for-unmatched.patch │ │ ├── post-build.sh │ │ ├── src │ │ └── uboot │ │ │ ├── keystone.h │ │ │ ├── keystone │ │ │ ├── Makefile │ │ │ ├── ed25519 │ │ │ │ ├── LICENSE │ │ │ │ ├── Makefile │ │ │ │ ├── ed25519.h │ │ │ │ ├── fe.c │ │ │ │ ├── fe.h │ │ │ │ ├── fixedint.h │ │ │ │ ├── ge.c │ │ │ │ ├── ge.h │ │ │ │ ├── keypair.c │ │ │ │ ├── precomp_data.h │ │ │ │ ├── sc.c │ │ │ │ ├── sc.h │ │ │ │ ├── sign.c │ │ │ │ └── verify.c │ │ │ ├── keystone.c │ │ │ ├── keystone_test_dev_key.h │ │ │ ├── keystone_use_test_keys.h │ │ │ └── sha3 │ │ │ │ ├── Makefile │ │ │ │ ├── sha3.c │ │ │ │ └── sha3.h │ │ │ └── u-boot-spl-sanctum.lds │ │ └── uboot_sifive_unmatched_keystone_defconfig │ ├── boot │ ├── hss │ │ ├── 0001-integrate-sm.patch │ │ ├── 0002-use-hss-crypto.patch │ │ ├── 0003-handle-ancillary-data.patch │ │ ├── Config.in │ │ └── hss.mk │ ├── keystone-bootrom │ │ ├── Config.in │ │ └── keystone-bootrom.mk │ └── keystone-sm │ │ ├── Config.in │ │ └── keystone-sm.mk │ ├── configs │ ├── initramfs.txt │ ├── linux32-defconfig │ ├── linux64-defconfig │ ├── linux64-mpfs-defconfig │ ├── linux64-sifive-defconfig │ ├── riscv32_cva6_defconfig │ ├── riscv32_generic_defconfig │ ├── riscv64_cva6_defconfig │ ├── riscv64_firesim_defconfig │ ├── riscv64_generic_defconfig │ ├── riscv64_hifive_unmatched_defconfig │ ├── riscv64_mpfs_defconfig │ ├── riscv64_sifive_defconfig │ └── sifive_logo.txt │ ├── external.desc │ ├── external.mk │ ├── package │ ├── keystone-driver │ │ ├── Config.in │ │ └── keystone-driver.mk │ ├── keystone-examples │ │ ├── Config.in │ │ └── keystone-examples.mk │ ├── keystone-runtime │ │ ├── Config.in │ │ └── keystone-runtime.mk │ └── keystone-sdk │ │ ├── Config.in.host │ │ └── keystone-sdk.mk │ └── patches │ ├── linux │ └── 0001-scripts-gdb-fix-SB_-constants-parsing.patch │ ├── opensbi │ ├── opensbi-change-basename.patch │ └── opensbi-firmware-secure-boot.patch │ └── qemu │ └── qemu-rom.patch ├── runtime ├── .clang-format ├── .fast-setup.sh ├── .gitignore ├── CMakeLists.txt ├── LICENSE ├── README.md ├── call │ ├── CMakeLists.txt │ ├── io_wrap.c │ ├── linux_wrap.c │ ├── net_wrap.c │ ├── sbi.c │ └── syscall.c ├── crypto │ ├── CMakeLists.txt │ ├── aes.c │ ├── merkle.c │ └── sha256.c ├── include │ ├── call │ │ ├── io_wrap.h │ │ ├── linux_wrap.h │ │ ├── net_wrap.h │ │ ├── sbi.h │ │ ├── syscall.h │ │ └── syscall_nums.h │ ├── crypto │ │ ├── aes.h │ │ ├── merkle.h │ │ └── sha256.h │ ├── loader │ │ ├── elf.h │ │ ├── elf32.h │ │ ├── elf64.h │ │ └── loader.h │ ├── mm │ │ ├── common.h │ │ ├── freemem.h │ │ ├── mm.h │ │ ├── page_swap.h │ │ ├── paging.h │ │ ├── vm.h │ │ └── vm_defs.h │ ├── sys │ │ ├── auxvec.h │ │ ├── env.h │ │ ├── interrupt.h │ │ └── timex.h │ └── util │ │ ├── asm_helpers.h │ │ ├── elf.h │ │ ├── printf.h │ │ ├── regs.h │ │ ├── rt_elf.h │ │ ├── rt_util.h │ │ └── string.h ├── loader-binary │ ├── CMakeLists.txt │ ├── loader-binary.c │ ├── loader.S │ └── loader.lds ├── loader │ ├── CMakeLists.txt │ ├── elf.c │ ├── elf32.c │ ├── elf64.c │ └── loader.c ├── mm │ ├── CMakeLists.txt │ ├── freemem.c │ ├── freemem_ld.c │ ├── mm.c │ ├── page_swap.c │ ├── paging.c │ └── vm.c ├── runtime.ld.S ├── sys │ ├── CMakeLists.txt │ ├── boot.c │ ├── entry.S │ ├── env.c │ └── interrupt.c ├── test │ ├── CMakeLists.txt │ ├── merkle.c │ ├── mock.h │ ├── page_swap.c │ └── string.c ├── tmplib │ ├── CMakeLists.txt │ ├── README │ ├── asm │ │ ├── asm.h │ │ ├── csr.h │ │ └── linkage.h │ ├── linux │ │ ├── const.h │ │ └── linkage.h │ ├── partial_linkage.h │ ├── uaccess.S │ ├── uaccess.h │ └── uio.h └── util │ ├── CMakeLists.txt │ ├── empty.c │ ├── printf.c │ ├── rt_util.c │ └── string.c ├── scripts ├── ci │ ├── build-keystone.sh │ ├── build-runtime.sh │ ├── configs │ │ ├── global.sh │ │ └── track.sh │ ├── plat │ │ ├── cva6 │ │ │ ├── expected.log │ │ │ ├── flash-firmware.sh │ │ │ ├── flash-os.sh │ │ │ └── test.sh │ │ ├── generic │ │ │ ├── expected.log │ │ │ └── test.sh │ │ ├── hifive_unmatched │ │ │ ├── expected.log │ │ │ ├── flash-os.sh │ │ │ └── test.sh │ │ └── mpfs │ │ │ ├── expected.log │ │ │ ├── flash-firmware.sh │ │ │ ├── flash-os.sh │ │ │ └── test.sh │ ├── test-setup.sh │ └── utils │ │ ├── find_tty.sh │ │ ├── relay_power.py │ │ └── wait_for.py ├── gdb │ ├── generic.cfg │ ├── mpfs.cfg │ └── pmp.py └── grep.patterns ├── sdk ├── .circleci │ └── config.yml ├── .clang-format ├── .fast-setup.sh ├── .gitignore ├── .post-install │ └── CMakeLists.txt ├── .prebuilt_tools_shasums ├── CMakeLists.txt ├── LICENSE ├── README.md ├── include │ ├── app │ │ ├── eapp_utils.h │ │ ├── malloc.h │ │ ├── sealing.h │ │ ├── string.h │ │ └── syscall.h │ ├── common │ │ └── sha3.h │ ├── edge │ │ ├── edge_call.h │ │ ├── edge_common.h │ │ ├── edge_syscall.h │ │ └── syscall_nums.h │ ├── host │ │ ├── ElfFile.hpp │ │ ├── Elfloader.hpp │ │ ├── Enclave.hpp │ │ ├── Error.hpp │ │ ├── KeystoneDevice.hpp │ │ ├── Log.hpp │ │ ├── Memory.hpp │ │ ├── Params.hpp │ │ ├── common.h │ │ ├── elf.h │ │ ├── elf32.h │ │ ├── elf64.h │ │ ├── hash_util.hpp │ │ ├── keystone.h │ │ └── keystone_user.h │ ├── shared │ │ ├── eyrie_call.h │ │ ├── keystone_user.h │ │ ├── sm_call.h │ │ └── sm_err.h │ └── verifier │ │ ├── Keys.hpp │ │ ├── Report.hpp │ │ ├── ed25519 │ │ ├── ed25519.h │ │ ├── fe.h │ │ ├── fixedint.h │ │ ├── ge.h │ │ ├── precomp_data.h │ │ └── sc.h │ │ ├── json11.h │ │ ├── report.h │ │ └── test_dev_key.h ├── macros.cmake ├── src │ ├── CMakeLists.txt │ ├── app │ │ ├── CMakeLists.txt │ │ ├── encret.s │ │ ├── string.c │ │ ├── syscall.c │ │ └── tiny-malloc.c │ ├── common │ │ └── sha3.c │ ├── edge │ │ ├── CMakeLists.txt │ │ ├── edge_call.c │ │ ├── edge_dispatch.c │ │ └── edge_syscall.c │ ├── host │ │ ├── CMakeLists.txt │ │ ├── ElfFile.cpp │ │ ├── Enclave.cpp │ │ ├── KeystoneDevice.cpp │ │ ├── Log.cpp │ │ ├── Memory.cpp │ │ ├── PhysicalEnclaveMemory.cpp │ │ ├── SimulatedEnclaveMemory.cpp │ │ ├── elf.c │ │ ├── elf32.c │ │ ├── elf64.c │ │ └── hash_util.cpp │ └── verifier │ │ ├── CMakeLists.txt │ │ ├── Report.cpp │ │ ├── ed25519 │ │ ├── fe.c │ │ ├── ge.c │ │ ├── keypair.c │ │ ├── sc.c │ │ ├── sign.c │ │ └── verify.c │ │ ├── json11.cpp │ │ └── keys.cpp └── tests │ ├── CMakeLists.txt │ ├── dl_tests.cpp │ ├── keystone_test.cpp │ ├── scripts │ ├── setup_binary.sh │ └── setup_test.sh │ └── test_binary │ └── tests │ ├── .gitignore │ ├── Makefile │ ├── app.lds │ ├── app.mk │ └── stack │ ├── Makefile │ └── stack.s ├── sm ├── .circleci │ └── config.yml ├── .gitignore ├── LICENSE ├── README.md ├── plat │ ├── fpga │ │ └── ariane │ │ │ ├── config.mk │ │ │ ├── objects.mk │ │ │ └── platform.c │ ├── generic │ │ ├── config.mk │ │ ├── generic.c │ │ └── objects.mk │ ├── hifive │ │ └── unmatched │ │ │ ├── objects.mk │ │ │ └── unmatched.c │ ├── mpfs │ │ ├── crypto.h │ │ ├── crypto_interpose.c │ │ └── objects.mk │ └── sifive │ │ └── fu540 │ │ ├── config.mk │ │ ├── objects.mk │ │ └── platform.c ├── spec │ └── v1.0.md ├── src │ ├── attest.c │ ├── cpu.c │ ├── cpu.h │ ├── crypto.c │ ├── crypto.h │ ├── ed25519 │ │ ├── ed25519.h │ │ ├── fe.c │ │ ├── fe.h │ │ ├── fixedint.h │ │ ├── ge.c │ │ ├── ge.h │ │ ├── keypair.c │ │ ├── precomp_data.h │ │ ├── sc.c │ │ ├── sc.h │ │ └── sign.c │ ├── enclave.c │ ├── enclave.h │ ├── hkdf_sha3_512 │ │ ├── hkdf_sha3_512.c │ │ └── hkdf_sha3_512.h │ ├── hmac_sha3 │ │ ├── hmac_sha3.c │ │ └── hmac_sha3.h │ ├── ipi.c │ ├── ipi.h │ ├── mprv.S │ ├── mprv.h │ ├── objects.mk │ ├── page.h │ ├── platform-hook.h │ ├── platform │ │ ├── fpga │ │ │ └── ariane │ │ │ │ ├── platform.c │ │ │ │ └── platform.h │ │ ├── generic │ │ │ ├── platform.c │ │ │ └── platform.h │ │ ├── hifive │ │ │ ├── platform.c │ │ │ └── platform.h │ │ ├── mpfs │ │ │ ├── platform.c │ │ │ └── platform.h │ │ └── sifive │ │ │ └── fu540 │ │ │ ├── fu540_internal.c │ │ │ ├── platform.c │ │ │ ├── platform.h │ │ │ ├── waymasks.c │ │ │ └── waymasks.h │ ├── plugins │ │ ├── multimem.c │ │ ├── multimem.h │ │ ├── plugins.c │ │ └── plugins.h │ ├── pmp.c │ ├── pmp.h │ ├── safe_math_util.h │ ├── sbi_trap_hack.c │ ├── sha3 │ │ ├── sha3.c │ │ └── sha3.h │ ├── sm-sbi-opensbi.c │ ├── sm-sbi-opensbi.h │ ├── sm-sbi.c │ ├── sm-sbi.h │ ├── sm.c │ ├── sm.h │ ├── sm_assert.h │ ├── thread.c │ ├── thread.h │ └── trap.S ├── tests │ ├── CMakeLists.txt │ ├── cmocka │ │ ├── cmocka.h │ │ ├── cmocka_pbc.h │ │ ├── cmocka_private.h │ │ ├── libcmocka-static-32.a │ │ └── libcmocka-static.a │ ├── mock │ │ ├── ipi.c │ │ ├── mprv.c │ │ ├── opensbi.c │ │ └── secure_boot.c │ ├── test_enclave.c │ └── test_pmp.c └── tools │ ├── Makefile │ └── hash_generator.c └── tests └── test-qemu.expected.log /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/workflows/build-runtime.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/.github/workflows/build-runtime.yml -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.github/workflows/test-system.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/.github/workflows/test-system.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/.gitmodules -------------------------------------------------------------------------------- /.readthedocs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/.readthedocs.yaml -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /KEYSTONE-FPGA.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/KEYSTONE-FPGA.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/README.md -------------------------------------------------------------------------------- /bootrom/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/bootrom/Makefile -------------------------------------------------------------------------------- /bootrom/bootloader.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/bootrom/bootloader.S -------------------------------------------------------------------------------- /bootrom/bootloader.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/bootrom/bootloader.c -------------------------------------------------------------------------------- /bootrom/bootloader.lds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/bootrom/bootloader.lds -------------------------------------------------------------------------------- /bootrom/ed25519/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/bootrom/ed25519/LICENSE -------------------------------------------------------------------------------- /bootrom/ed25519/ed25519.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/bootrom/ed25519/ed25519.h -------------------------------------------------------------------------------- /bootrom/ed25519/fe.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/bootrom/ed25519/fe.c -------------------------------------------------------------------------------- /bootrom/ed25519/fe.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/bootrom/ed25519/fe.h -------------------------------------------------------------------------------- /bootrom/ed25519/fixedint.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/bootrom/ed25519/fixedint.h -------------------------------------------------------------------------------- /bootrom/ed25519/ge.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/bootrom/ed25519/ge.c -------------------------------------------------------------------------------- /bootrom/ed25519/ge.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/bootrom/ed25519/ge.h -------------------------------------------------------------------------------- /bootrom/ed25519/keypair.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/bootrom/ed25519/keypair.c -------------------------------------------------------------------------------- /bootrom/ed25519/precomp_data.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/bootrom/ed25519/precomp_data.h -------------------------------------------------------------------------------- /bootrom/ed25519/sc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/bootrom/ed25519/sc.c -------------------------------------------------------------------------------- /bootrom/ed25519/sc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/bootrom/ed25519/sc.h -------------------------------------------------------------------------------- /bootrom/ed25519/sign.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/bootrom/ed25519/sign.c -------------------------------------------------------------------------------- /bootrom/ed25519/verify.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/bootrom/ed25519/verify.c -------------------------------------------------------------------------------- /bootrom/sanctum_params.lds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/bootrom/sanctum_params.lds -------------------------------------------------------------------------------- /bootrom/sha3/sha3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/bootrom/sha3/sha3.c -------------------------------------------------------------------------------- /bootrom/sha3/sha3.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/bootrom/sha3/sha3.h -------------------------------------------------------------------------------- /bootrom/string.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/bootrom/string.h -------------------------------------------------------------------------------- /bootrom/test_dev_key.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/bootrom/test_dev_key.h -------------------------------------------------------------------------------- /bootrom/use_test_keys.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/bootrom/use_test_keys.h -------------------------------------------------------------------------------- /docker/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docker/Dockerfile -------------------------------------------------------------------------------- /docker/Dockerfile.32.nobuild: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docker/Dockerfile.32.nobuild -------------------------------------------------------------------------------- /docker/Dockerfile.nobuild: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docker/Dockerfile.nobuild -------------------------------------------------------------------------------- /docker/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docker/README.md -------------------------------------------------------------------------------- /docs/.gitignore: -------------------------------------------------------------------------------- 1 | .*.swp 2 | build/ 3 | !.PLACEHOLDER 4 | -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/make.bat -------------------------------------------------------------------------------- /docs/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/requirements.txt -------------------------------------------------------------------------------- /docs/source/Building-Components/Eyrie.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/Building-Components/Eyrie.rst -------------------------------------------------------------------------------- /docs/source/Continuous-Integration/Custom-Runner.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/Continuous-Integration/Custom-Runner.rst -------------------------------------------------------------------------------- /docs/source/Contributing-to-Keystone/Future-Objectives.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/Contributing-to-Keystone/Future-Objectives.rst -------------------------------------------------------------------------------- /docs/source/Contributing-to-Keystone/How-to-Contribute.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/Contributing-to-Keystone/How-to-Contribute.rst -------------------------------------------------------------------------------- /docs/source/Getting-Started/FAQ.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/Getting-Started/FAQ.rst -------------------------------------------------------------------------------- /docs/source/Getting-Started/How-Keystone-Works/Keystone-Basics.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/Getting-Started/How-Keystone-Works/Keystone-Basics.rst -------------------------------------------------------------------------------- /docs/source/Getting-Started/How-Keystone-Works/RISC-V-Background.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/Getting-Started/How-Keystone-Works/RISC-V-Background.rst -------------------------------------------------------------------------------- /docs/source/Getting-Started/How-Keystone-Works/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/Getting-Started/How-Keystone-Works/index.rst -------------------------------------------------------------------------------- /docs/source/Getting-Started/How-to-Debug.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/Getting-Started/How-to-Debug.rst -------------------------------------------------------------------------------- /docs/source/Getting-Started/QEMU-Compile-Sources.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/Getting-Started/QEMU-Compile-Sources.rst -------------------------------------------------------------------------------- /docs/source/Getting-Started/QEMU-Install-Dependencies.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/Getting-Started/QEMU-Install-Dependencies.rst -------------------------------------------------------------------------------- /docs/source/Getting-Started/QEMU-Run-Tests.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/Getting-Started/QEMU-Run-Tests.rst -------------------------------------------------------------------------------- /docs/source/Getting-Started/QEMU-Setup-Repository.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/Getting-Started/QEMU-Setup-Repository.rst -------------------------------------------------------------------------------- /docs/source/Getting-Started/Running-Keystone-on-CVA6.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/Getting-Started/Running-Keystone-on-CVA6.rst -------------------------------------------------------------------------------- /docs/source/Getting-Started/Running-Keystone-on-Hardware.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/Getting-Started/Running-Keystone-on-Hardware.rst -------------------------------------------------------------------------------- /docs/source/Getting-Started/Running-Keystone-on-RV32.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/Getting-Started/Running-Keystone-on-RV32.rst -------------------------------------------------------------------------------- /docs/source/Getting-Started/Running-Keystone-on-Unleashed.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/Getting-Started/Running-Keystone-on-Unleashed.rst -------------------------------------------------------------------------------- /docs/source/Getting-Started/Running-Keystone-with-FireSim.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/Getting-Started/Running-Keystone-with-FireSim.rst -------------------------------------------------------------------------------- /docs/source/Getting-Started/Running-Keystone-with-QEMU.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/Getting-Started/Running-Keystone-with-QEMU.rst -------------------------------------------------------------------------------- /docs/source/Getting-Started/Tutorials/Build-Enclave-App-Benchmark.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/Getting-Started/Tutorials/Build-Enclave-App-Benchmark.rst -------------------------------------------------------------------------------- /docs/source/Getting-Started/Tutorials/Build-Enclave-App-Hello-World-Native.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/Getting-Started/Tutorials/Build-Enclave-App-Hello-World-Native.rst -------------------------------------------------------------------------------- /docs/source/Getting-Started/Tutorials/Build-Enclave-App-Hello-World.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/Getting-Started/Tutorials/Build-Enclave-App-Hello-World.rst -------------------------------------------------------------------------------- /docs/source/Getting-Started/Tutorials/Build-Enclave-App-seL4.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/Getting-Started/Tutorials/Build-Enclave-App-seL4.rst -------------------------------------------------------------------------------- /docs/source/Getting-Started/Tutorials/Remote-Attestation.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/Getting-Started/Tutorials/Remote-Attestation.rst -------------------------------------------------------------------------------- /docs/source/Getting-Started/Tutorials/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/Getting-Started/Tutorials/index.rst -------------------------------------------------------------------------------- /docs/source/Getting-Started/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/Getting-Started/index.rst -------------------------------------------------------------------------------- /docs/source/Keystone-Applications/Attestation.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/Keystone-Applications/Attestation.rst -------------------------------------------------------------------------------- /docs/source/Keystone-Applications/Compiling-Applications.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/Keystone-Applications/Compiling-Applications.rst -------------------------------------------------------------------------------- /docs/source/Keystone-Applications/Data-Sealing.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/Keystone-Applications/Data-Sealing.rst -------------------------------------------------------------------------------- /docs/source/Keystone-Applications/Edge-Calls.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/Keystone-Applications/Edge-Calls.rst -------------------------------------------------------------------------------- /docs/source/Keystone-Applications/SDK-Basics.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/Keystone-Applications/SDK-Basics.rst -------------------------------------------------------------------------------- /docs/source/Runtimes/Eyrie.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/Runtimes/Eyrie.rst -------------------------------------------------------------------------------- /docs/source/Runtimes/seL4.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/Runtimes/seL4.rst -------------------------------------------------------------------------------- /docs/source/Security-Monitor/FU540.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/Security-Monitor/FU540.rst -------------------------------------------------------------------------------- /docs/source/Security-Monitor/enclave_lifecycle.dot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/Security-Monitor/enclave_lifecycle.dot -------------------------------------------------------------------------------- /docs/source/Security-Monitor/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/Security-Monitor/index.rst -------------------------------------------------------------------------------- /docs/source/_static/.PLACEHOLDER: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/source/_static/images/enclave_lifecycle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/_static/images/enclave_lifecycle.png -------------------------------------------------------------------------------- /docs/source/_static/images/keystone_key_hierarchy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/_static/images/keystone_key_hierarchy.png -------------------------------------------------------------------------------- /docs/source/_static/images/keystone_overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/_static/images/keystone_overview.png -------------------------------------------------------------------------------- /docs/source/_static/images/keystone_workflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/_static/images/keystone_workflow.png -------------------------------------------------------------------------------- /docs/source/_static/images/sealing_key_deriv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/_static/images/sealing_key_deriv.png -------------------------------------------------------------------------------- /docs/source/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/conf.py -------------------------------------------------------------------------------- /docs/source/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/docs/source/index.rst -------------------------------------------------------------------------------- /examples/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/CMakeLists.txt -------------------------------------------------------------------------------- /examples/attestation/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/attestation/CMakeLists.txt -------------------------------------------------------------------------------- /examples/attestation/eapp/attestor.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/attestation/eapp/attestor.c -------------------------------------------------------------------------------- /examples/attestation/host/attestor-runner.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/attestation/host/attestor-runner.cpp -------------------------------------------------------------------------------- /examples/attestation/host/host.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/attestation/host/host.cpp -------------------------------------------------------------------------------- /examples/attestation/host/host.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/attestation/host/host.h -------------------------------------------------------------------------------- /examples/attestation/host/verifier.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/attestation/host/verifier.cpp -------------------------------------------------------------------------------- /examples/attestation/host/verifier.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/attestation/host/verifier.h -------------------------------------------------------------------------------- /examples/hello-native/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/hello-native/CMakeLists.txt -------------------------------------------------------------------------------- /examples/hello-native/eapp/eapp_native.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/hello-native/eapp/eapp_native.c -------------------------------------------------------------------------------- /examples/hello-native/host/host_native.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/hello-native/host/host_native.cpp -------------------------------------------------------------------------------- /examples/hello/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/hello/CMakeLists.txt -------------------------------------------------------------------------------- /examples/hello/eapp/hello.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/hello/eapp/hello.c -------------------------------------------------------------------------------- /examples/hello/host/host.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/hello/host/host.cpp -------------------------------------------------------------------------------- /examples/tests/.gitignore: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /examples/tests/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/tests/CMakeLists.txt -------------------------------------------------------------------------------- /examples/tests/app.lds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/tests/app.lds -------------------------------------------------------------------------------- /examples/tests/attestation/attestation.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/tests/attestation/attestation.c -------------------------------------------------------------------------------- /examples/tests/attestation/edge_wrapper.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/tests/attestation/edge_wrapper.c -------------------------------------------------------------------------------- /examples/tests/attestation/edge_wrapper.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/tests/attestation/edge_wrapper.h -------------------------------------------------------------------------------- /examples/tests/attestation/retval: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /examples/tests/data-sealing/data-sealing.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/tests/data-sealing/data-sealing.c -------------------------------------------------------------------------------- /examples/tests/data-sealing/data-sealing.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/tests/data-sealing/data-sealing.h -------------------------------------------------------------------------------- /examples/tests/data-sealing/data-sealing_with_output.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/tests/data-sealing/data-sealing_with_output.c -------------------------------------------------------------------------------- /examples/tests/data-sealing/retval: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /examples/tests/edge_wrapper.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/tests/edge_wrapper.cpp -------------------------------------------------------------------------------- /examples/tests/edge_wrapper.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/tests/edge_wrapper.h -------------------------------------------------------------------------------- /examples/tests/fib-bench/fib-bench.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/tests/fib-bench/fib-bench.c -------------------------------------------------------------------------------- /examples/tests/fibonacci/fibonacci.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/tests/fibonacci/fibonacci.c -------------------------------------------------------------------------------- /examples/tests/fibonacci/retval: -------------------------------------------------------------------------------- 1 | 14930352 2 | -------------------------------------------------------------------------------- /examples/tests/long-nop/func_base.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/tests/long-nop/func_base.s -------------------------------------------------------------------------------- /examples/tests/long-nop/func_long.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/tests/long-nop/func_long.s -------------------------------------------------------------------------------- /examples/tests/long-nop/generate_func.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/tests/long-nop/generate_func.sh -------------------------------------------------------------------------------- /examples/tests/long-nop/long-nop.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/tests/long-nop/long-nop.S -------------------------------------------------------------------------------- /examples/tests/long-nop/nop.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/tests/long-nop/nop.h -------------------------------------------------------------------------------- /examples/tests/long-nop/nop.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/tests/long-nop/nop.s -------------------------------------------------------------------------------- /examples/tests/long-nop/retval: -------------------------------------------------------------------------------- 1 | 12345 2 | -------------------------------------------------------------------------------- /examples/tests/loop/loop.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/tests/loop/loop.s -------------------------------------------------------------------------------- /examples/tests/loop/retval: -------------------------------------------------------------------------------- 1 | 54321 2 | -------------------------------------------------------------------------------- /examples/tests/malloc/malloc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/tests/malloc/malloc.c -------------------------------------------------------------------------------- /examples/tests/malloc/retval: -------------------------------------------------------------------------------- 1 | 11411 2 | -------------------------------------------------------------------------------- /examples/tests/stack/retval: -------------------------------------------------------------------------------- 1 | 12345 2 | -------------------------------------------------------------------------------- /examples/tests/stack/stack.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/tests/stack/stack.S -------------------------------------------------------------------------------- /examples/tests/test-runner.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/tests/test-runner.cpp -------------------------------------------------------------------------------- /examples/tests/untrusted/edge_wrapper.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/tests/untrusted/edge_wrapper.c -------------------------------------------------------------------------------- /examples/tests/untrusted/edge_wrapper.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/tests/untrusted/edge_wrapper.h -------------------------------------------------------------------------------- /examples/tests/untrusted/retval: -------------------------------------------------------------------------------- 1 | 13 2 | -------------------------------------------------------------------------------- /examples/tests/untrusted/untrusted.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/examples/tests/untrusted/untrusted.c -------------------------------------------------------------------------------- /fast-setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/fast-setup.sh -------------------------------------------------------------------------------- /linux-keystone-driver/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/linux-keystone-driver/LICENSE -------------------------------------------------------------------------------- /linux-keystone-driver/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/linux-keystone-driver/Makefile -------------------------------------------------------------------------------- /linux-keystone-driver/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/linux-keystone-driver/README.md -------------------------------------------------------------------------------- /linux-keystone-driver/keystone-enclave.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/linux-keystone-driver/keystone-enclave.c -------------------------------------------------------------------------------- /linux-keystone-driver/keystone-ioctl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/linux-keystone-driver/keystone-ioctl.c -------------------------------------------------------------------------------- /linux-keystone-driver/keystone-page.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/linux-keystone-driver/keystone-page.c -------------------------------------------------------------------------------- /linux-keystone-driver/keystone-sbi.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/linux-keystone-driver/keystone-sbi.c -------------------------------------------------------------------------------- /linux-keystone-driver/keystone-sbi.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/linux-keystone-driver/keystone-sbi.h -------------------------------------------------------------------------------- /linux-keystone-driver/keystone.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/linux-keystone-driver/keystone.c -------------------------------------------------------------------------------- /linux-keystone-driver/keystone.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/linux-keystone-driver/keystone.h -------------------------------------------------------------------------------- /linux-keystone-driver/riscv64.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/linux-keystone-driver/riscv64.h -------------------------------------------------------------------------------- /mkutils/args.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/mkutils/args.mk -------------------------------------------------------------------------------- /mkutils/log.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/mkutils/log.mk -------------------------------------------------------------------------------- /mkutils/pkg-keystone.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/mkutils/pkg-keystone.mk -------------------------------------------------------------------------------- /mkutils/plat/cva6/run.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/mkutils/plat/cva6/run.mk -------------------------------------------------------------------------------- /mkutils/plat/generic/run.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/mkutils/plat/generic/run.mk -------------------------------------------------------------------------------- /mkutils/plat/hifive_unmatched/run.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/mkutils/plat/hifive_unmatched/run.mk -------------------------------------------------------------------------------- /mkutils/plat/mpfs/run.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/mkutils/plat/mpfs/run.mk -------------------------------------------------------------------------------- /overlays/keystone/Config.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/Config.in -------------------------------------------------------------------------------- /overlays/keystone/board/cva6/configs/busybox32-cva6.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/cva6/configs/busybox32-cva6.config -------------------------------------------------------------------------------- /overlays/keystone/board/cva6/configs/linux32-cva6-defconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/cva6/configs/linux32-cva6-defconfig -------------------------------------------------------------------------------- /overlays/keystone/board/cva6/configs/linux64-cva6-defconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/cva6/configs/linux64-cva6-defconfig -------------------------------------------------------------------------------- /overlays/keystone/board/cva6/configs/uboot-cva6.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/cva6/configs/uboot-cva6.config -------------------------------------------------------------------------------- /overlays/keystone/board/cva6/patches/linux/0001-Incorporate-lowrisc-drivers-for-latest-kernel-releas.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/cva6/patches/linux/0001-Incorporate-lowrisc-drivers-for-latest-kernel-releas.patch -------------------------------------------------------------------------------- /overlays/keystone/board/cva6/patches/linux/0002-Hack-around-buggy-support-for-SR_FS-and-or-SR_SD.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/cva6/patches/linux/0002-Hack-around-buggy-support-for-SR_FS-and-or-SR_SD.patch -------------------------------------------------------------------------------- /overlays/keystone/board/cva6/patches/linux/0003-Add-Xilinx-emaclite.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/cva6/patches/linux/0003-Add-Xilinx-emaclite.patch -------------------------------------------------------------------------------- /overlays/keystone/board/cva6/patches/linux/0004-Update-for-linux.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/cva6/patches/linux/0004-Update-for-linux.patch -------------------------------------------------------------------------------- /overlays/keystone/board/cva6/patches/linux/0005-Fix-LowRisc-K-Config-error.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/cva6/patches/linux/0005-Fix-LowRisc-K-Config-error.patch -------------------------------------------------------------------------------- /overlays/keystone/board/cva6/patches/linux/0006-fix-netif_napi_add-to-many-argument.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/cva6/patches/linux/0006-fix-netif_napi_add-to-many-argument.patch -------------------------------------------------------------------------------- /overlays/keystone/board/cva6/patches/opensbi/0001-Fix-CVA6-32-bit-floating-point-operation-with-soft-f.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/cva6/patches/opensbi/0001-Fix-CVA6-32-bit-floating-point-operation-with-soft-f.patch -------------------------------------------------------------------------------- /overlays/keystone/board/cva6/patches/opensbi/0002-workaround-to-fix-CVA6-32-bit-ABi-is-incompatible-is.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/cva6/patches/opensbi/0002-workaround-to-fix-CVA6-32-bit-ABi-is-incompatible-is.patch -------------------------------------------------------------------------------- /overlays/keystone/board/cva6/patches/opensbi/0003-remove-PLATFORM_RISCV_XLEN-in-ariane-config.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/cva6/patches/opensbi/0003-remove-PLATFORM_RISCV_XLEN-in-ariane-config.patch -------------------------------------------------------------------------------- /overlays/keystone/board/cva6/post-build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/cva6/post-build.sh -------------------------------------------------------------------------------- /overlays/keystone/board/cva6/post-image.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/cva6/post-image.sh -------------------------------------------------------------------------------- /overlays/keystone/board/mpfs/hss-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/mpfs/hss-config.yaml -------------------------------------------------------------------------------- /overlays/keystone/board/mpfs/patches/dt-overlay-mchp/0001-move-devtree.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/mpfs/patches/dt-overlay-mchp/0001-move-devtree.patch -------------------------------------------------------------------------------- /overlays/keystone/board/mpfs/patches/linux/0001-make-more-cma.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/mpfs/patches/linux/0001-make-more-cma.patch -------------------------------------------------------------------------------- /overlays/keystone/board/mpfs/patches/uboot/0001-change-base-addr.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/mpfs/patches/uboot/0001-change-base-addr.patch -------------------------------------------------------------------------------- /overlays/keystone/board/mpfs/patches/uboot/0002-use-hss-devicetree.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/mpfs/patches/uboot/0002-use-hss-devicetree.patch -------------------------------------------------------------------------------- /overlays/keystone/board/mpfs/post-build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/mpfs/post-build.sh -------------------------------------------------------------------------------- /overlays/keystone/board/mpfs/uboot-fragment-rootfs.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/mpfs/uboot-fragment-rootfs.config -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/extlinux.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/sifive/hifive-unmatched/extlinux.conf -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/genimage_sdcard.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/sifive/hifive-unmatched/genimage_sdcard.cfg -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/linux-sifive-unmatched-defconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/sifive/hifive-unmatched/linux-sifive-unmatched-defconfig -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/patches/linux/0001-perf-cpumap-Make-counter-as-unsigned-ints.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/sifive/hifive-unmatched/patches/linux/0001-perf-cpumap-Make-counter-as-unsigned-ints.patch -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/patches/linux/0001-riscv-sifive-fu740-cpu-1-2-3-4-set-compatible-to-sif.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/sifive/hifive-unmatched/patches/linux/0001-riscv-sifive-fu740-cpu-1-2-3-4-set-compatible-to-sif.patch -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/patches/linux/0002-riscv-sifive-unmatched-define-PWM-LEDs.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/sifive/hifive-unmatched/patches/linux/0002-riscv-sifive-unmatched-define-PWM-LEDs.patch -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/patches/linux/0003-Revert-riscv-dts-sifive-unmatched-Link-the-tmp451-wi.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/sifive/hifive-unmatched/patches/linux/0003-Revert-riscv-dts-sifive-unmatched-Link-the-tmp451-wi.patch -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/patches/uboot/0001-board-sifive-spl-Initialized-the-PWM-setting-in-the-.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/sifive/hifive-unmatched/patches/uboot/0001-board-sifive-spl-Initialized-the-PWM-setting-in-the-.patch -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/patches/uboot/0002-board-sifive-Set-LED-s-color-to-purple-in-the-U-boot.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/sifive/hifive-unmatched/patches/uboot/0002-board-sifive-Set-LED-s-color-to-purple-in-the-U-boot.patch -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/patches/uboot/0003-board-sifive-Set-LED-s-color-to-blue-before-jumping-.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/sifive/hifive-unmatched/patches/uboot/0003-board-sifive-Set-LED-s-color-to-blue-before-jumping-.patch -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/patches/uboot/0004-board-sifive-spl-Set-remote-thermal-of-TMP451-to-85-.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/sifive/hifive-unmatched/patches/uboot/0004-board-sifive-spl-Set-remote-thermal-of-TMP451-to-85-.patch -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/patches/uboot/0005-riscv-dts-Add-few-PMU-events.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/sifive/hifive-unmatched/patches/uboot/0005-riscv-dts-Add-few-PMU-events.patch -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/patches/uboot/0006-implement-keystone-secure-boot.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/sifive/hifive-unmatched/patches/uboot/0006-implement-keystone-secure-boot.patch -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/patches/uboot/0007-keystone-prefer-mmc-boot-for-unmatched.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/sifive/hifive-unmatched/patches/uboot/0007-keystone-prefer-mmc-boot-for-unmatched.patch -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/post-build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/sifive/hifive-unmatched/post-build.sh -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone.h -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/Makefile -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/ed25519/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/ed25519/LICENSE -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/ed25519/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/ed25519/Makefile -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/ed25519/ed25519.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/ed25519/ed25519.h -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/ed25519/fe.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/ed25519/fe.c -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/ed25519/fe.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/ed25519/fe.h -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/ed25519/fixedint.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/ed25519/fixedint.h -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/ed25519/ge.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/ed25519/ge.c -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/ed25519/ge.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/ed25519/ge.h -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/ed25519/keypair.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/ed25519/keypair.c -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/ed25519/precomp_data.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/ed25519/precomp_data.h -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/ed25519/sc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/ed25519/sc.c -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/ed25519/sc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/ed25519/sc.h -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/ed25519/sign.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/ed25519/sign.c -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/ed25519/verify.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/ed25519/verify.c -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/keystone.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/keystone.c -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/keystone_test_dev_key.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/keystone_test_dev_key.h -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/keystone_use_test_keys.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/keystone_use_test_keys.h -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/sha3/Makefile: -------------------------------------------------------------------------------- 1 | obj-y += sha3.o -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/sha3/sha3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/sha3/sha3.c -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/sha3/sha3.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/sifive/hifive-unmatched/src/uboot/keystone/sha3/sha3.h -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/src/uboot/u-boot-spl-sanctum.lds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/sifive/hifive-unmatched/src/uboot/u-boot-spl-sanctum.lds -------------------------------------------------------------------------------- /overlays/keystone/board/sifive/hifive-unmatched/uboot_sifive_unmatched_keystone_defconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/board/sifive/hifive-unmatched/uboot_sifive_unmatched_keystone_defconfig -------------------------------------------------------------------------------- /overlays/keystone/boot/hss/0001-integrate-sm.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/boot/hss/0001-integrate-sm.patch -------------------------------------------------------------------------------- /overlays/keystone/boot/hss/0002-use-hss-crypto.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/boot/hss/0002-use-hss-crypto.patch -------------------------------------------------------------------------------- /overlays/keystone/boot/hss/0003-handle-ancillary-data.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/boot/hss/0003-handle-ancillary-data.patch -------------------------------------------------------------------------------- /overlays/keystone/boot/hss/Config.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/boot/hss/Config.in -------------------------------------------------------------------------------- /overlays/keystone/boot/hss/hss.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/boot/hss/hss.mk -------------------------------------------------------------------------------- /overlays/keystone/boot/keystone-bootrom/Config.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/boot/keystone-bootrom/Config.in -------------------------------------------------------------------------------- /overlays/keystone/boot/keystone-bootrom/keystone-bootrom.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/boot/keystone-bootrom/keystone-bootrom.mk -------------------------------------------------------------------------------- /overlays/keystone/boot/keystone-sm/Config.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/boot/keystone-sm/Config.in -------------------------------------------------------------------------------- /overlays/keystone/boot/keystone-sm/keystone-sm.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/boot/keystone-sm/keystone-sm.mk -------------------------------------------------------------------------------- /overlays/keystone/configs/initramfs.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/configs/initramfs.txt -------------------------------------------------------------------------------- /overlays/keystone/configs/linux32-defconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/configs/linux32-defconfig -------------------------------------------------------------------------------- /overlays/keystone/configs/linux64-defconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/configs/linux64-defconfig -------------------------------------------------------------------------------- /overlays/keystone/configs/linux64-mpfs-defconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/configs/linux64-mpfs-defconfig -------------------------------------------------------------------------------- /overlays/keystone/configs/linux64-sifive-defconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/configs/linux64-sifive-defconfig -------------------------------------------------------------------------------- /overlays/keystone/configs/riscv32_cva6_defconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/configs/riscv32_cva6_defconfig -------------------------------------------------------------------------------- /overlays/keystone/configs/riscv32_generic_defconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/configs/riscv32_generic_defconfig -------------------------------------------------------------------------------- /overlays/keystone/configs/riscv64_cva6_defconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/configs/riscv64_cva6_defconfig -------------------------------------------------------------------------------- /overlays/keystone/configs/riscv64_firesim_defconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/configs/riscv64_firesim_defconfig -------------------------------------------------------------------------------- /overlays/keystone/configs/riscv64_generic_defconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/configs/riscv64_generic_defconfig -------------------------------------------------------------------------------- /overlays/keystone/configs/riscv64_hifive_unmatched_defconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/configs/riscv64_hifive_unmatched_defconfig -------------------------------------------------------------------------------- /overlays/keystone/configs/riscv64_mpfs_defconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/configs/riscv64_mpfs_defconfig -------------------------------------------------------------------------------- /overlays/keystone/configs/riscv64_sifive_defconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/configs/riscv64_sifive_defconfig -------------------------------------------------------------------------------- /overlays/keystone/configs/sifive_logo.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/configs/sifive_logo.txt -------------------------------------------------------------------------------- /overlays/keystone/external.desc: -------------------------------------------------------------------------------- 1 | name: KEYSTONE 2 | desc: Keystone Enclave 3 | -------------------------------------------------------------------------------- /overlays/keystone/external.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/external.mk -------------------------------------------------------------------------------- /overlays/keystone/package/keystone-driver/Config.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/package/keystone-driver/Config.in -------------------------------------------------------------------------------- /overlays/keystone/package/keystone-driver/keystone-driver.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/package/keystone-driver/keystone-driver.mk -------------------------------------------------------------------------------- /overlays/keystone/package/keystone-examples/Config.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/package/keystone-examples/Config.in -------------------------------------------------------------------------------- /overlays/keystone/package/keystone-examples/keystone-examples.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/package/keystone-examples/keystone-examples.mk -------------------------------------------------------------------------------- /overlays/keystone/package/keystone-runtime/Config.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/package/keystone-runtime/Config.in -------------------------------------------------------------------------------- /overlays/keystone/package/keystone-runtime/keystone-runtime.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/package/keystone-runtime/keystone-runtime.mk -------------------------------------------------------------------------------- /overlays/keystone/package/keystone-sdk/Config.in.host: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/package/keystone-sdk/Config.in.host -------------------------------------------------------------------------------- /overlays/keystone/package/keystone-sdk/keystone-sdk.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/package/keystone-sdk/keystone-sdk.mk -------------------------------------------------------------------------------- /overlays/keystone/patches/linux/0001-scripts-gdb-fix-SB_-constants-parsing.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/patches/linux/0001-scripts-gdb-fix-SB_-constants-parsing.patch -------------------------------------------------------------------------------- /overlays/keystone/patches/opensbi/opensbi-change-basename.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/patches/opensbi/opensbi-change-basename.patch -------------------------------------------------------------------------------- /overlays/keystone/patches/opensbi/opensbi-firmware-secure-boot.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/patches/opensbi/opensbi-firmware-secure-boot.patch -------------------------------------------------------------------------------- /overlays/keystone/patches/qemu/qemu-rom.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/overlays/keystone/patches/qemu/qemu-rom.patch -------------------------------------------------------------------------------- /runtime/.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/.clang-format -------------------------------------------------------------------------------- /runtime/.fast-setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/.fast-setup.sh -------------------------------------------------------------------------------- /runtime/.gitignore: -------------------------------------------------------------------------------- 1 | eyrie-rt 2 | .options_log 3 | *.o 4 | obj/ 5 | .exists 6 | .format-diff 7 | -------------------------------------------------------------------------------- /runtime/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/CMakeLists.txt -------------------------------------------------------------------------------- /runtime/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/LICENSE -------------------------------------------------------------------------------- /runtime/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/README.md -------------------------------------------------------------------------------- /runtime/call/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/call/CMakeLists.txt -------------------------------------------------------------------------------- /runtime/call/io_wrap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/call/io_wrap.c -------------------------------------------------------------------------------- /runtime/call/linux_wrap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/call/linux_wrap.c -------------------------------------------------------------------------------- /runtime/call/net_wrap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/call/net_wrap.c -------------------------------------------------------------------------------- /runtime/call/sbi.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/call/sbi.c -------------------------------------------------------------------------------- /runtime/call/syscall.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/call/syscall.c -------------------------------------------------------------------------------- /runtime/crypto/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/crypto/CMakeLists.txt -------------------------------------------------------------------------------- /runtime/crypto/aes.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/crypto/aes.c -------------------------------------------------------------------------------- /runtime/crypto/merkle.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/crypto/merkle.c -------------------------------------------------------------------------------- /runtime/crypto/sha256.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/crypto/sha256.c -------------------------------------------------------------------------------- /runtime/include/call/io_wrap.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/include/call/io_wrap.h -------------------------------------------------------------------------------- /runtime/include/call/linux_wrap.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/include/call/linux_wrap.h -------------------------------------------------------------------------------- /runtime/include/call/net_wrap.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/include/call/net_wrap.h -------------------------------------------------------------------------------- /runtime/include/call/sbi.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/include/call/sbi.h -------------------------------------------------------------------------------- /runtime/include/call/syscall.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/include/call/syscall.h -------------------------------------------------------------------------------- /runtime/include/call/syscall_nums.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/include/call/syscall_nums.h -------------------------------------------------------------------------------- /runtime/include/crypto/aes.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/include/crypto/aes.h -------------------------------------------------------------------------------- /runtime/include/crypto/merkle.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/include/crypto/merkle.h -------------------------------------------------------------------------------- /runtime/include/crypto/sha256.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/include/crypto/sha256.h -------------------------------------------------------------------------------- /runtime/include/loader/elf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/include/loader/elf.h -------------------------------------------------------------------------------- /runtime/include/loader/elf32.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/include/loader/elf32.h -------------------------------------------------------------------------------- /runtime/include/loader/elf64.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/include/loader/elf64.h -------------------------------------------------------------------------------- /runtime/include/loader/loader.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/include/loader/loader.h -------------------------------------------------------------------------------- /runtime/include/mm/common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/include/mm/common.h -------------------------------------------------------------------------------- /runtime/include/mm/freemem.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/include/mm/freemem.h -------------------------------------------------------------------------------- /runtime/include/mm/mm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/include/mm/mm.h -------------------------------------------------------------------------------- /runtime/include/mm/page_swap.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/include/mm/page_swap.h -------------------------------------------------------------------------------- /runtime/include/mm/paging.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/include/mm/paging.h -------------------------------------------------------------------------------- /runtime/include/mm/vm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/include/mm/vm.h -------------------------------------------------------------------------------- /runtime/include/mm/vm_defs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/include/mm/vm_defs.h -------------------------------------------------------------------------------- /runtime/include/sys/auxvec.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/include/sys/auxvec.h -------------------------------------------------------------------------------- /runtime/include/sys/env.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/include/sys/env.h -------------------------------------------------------------------------------- /runtime/include/sys/interrupt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/include/sys/interrupt.h -------------------------------------------------------------------------------- /runtime/include/sys/timex.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/include/sys/timex.h -------------------------------------------------------------------------------- /runtime/include/util/asm_helpers.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/include/util/asm_helpers.h -------------------------------------------------------------------------------- /runtime/include/util/elf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/include/util/elf.h -------------------------------------------------------------------------------- /runtime/include/util/printf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/include/util/printf.h -------------------------------------------------------------------------------- /runtime/include/util/regs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/include/util/regs.h -------------------------------------------------------------------------------- /runtime/include/util/rt_elf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/include/util/rt_elf.h -------------------------------------------------------------------------------- /runtime/include/util/rt_util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/include/util/rt_util.h -------------------------------------------------------------------------------- /runtime/include/util/string.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/include/util/string.h -------------------------------------------------------------------------------- /runtime/loader-binary/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/loader-binary/CMakeLists.txt -------------------------------------------------------------------------------- /runtime/loader-binary/loader-binary.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/loader-binary/loader-binary.c -------------------------------------------------------------------------------- /runtime/loader-binary/loader.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/loader-binary/loader.S -------------------------------------------------------------------------------- /runtime/loader-binary/loader.lds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/loader-binary/loader.lds -------------------------------------------------------------------------------- /runtime/loader/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/loader/CMakeLists.txt -------------------------------------------------------------------------------- /runtime/loader/elf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/loader/elf.c -------------------------------------------------------------------------------- /runtime/loader/elf32.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/loader/elf32.c -------------------------------------------------------------------------------- /runtime/loader/elf64.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/loader/elf64.c -------------------------------------------------------------------------------- /runtime/loader/loader.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/loader/loader.c -------------------------------------------------------------------------------- /runtime/mm/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/mm/CMakeLists.txt -------------------------------------------------------------------------------- /runtime/mm/freemem.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/mm/freemem.c -------------------------------------------------------------------------------- /runtime/mm/freemem_ld.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/mm/freemem_ld.c -------------------------------------------------------------------------------- /runtime/mm/mm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/mm/mm.c -------------------------------------------------------------------------------- /runtime/mm/page_swap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/mm/page_swap.c -------------------------------------------------------------------------------- /runtime/mm/paging.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/mm/paging.c -------------------------------------------------------------------------------- /runtime/mm/vm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/mm/vm.c -------------------------------------------------------------------------------- /runtime/runtime.ld.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/runtime.ld.S -------------------------------------------------------------------------------- /runtime/sys/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/sys/CMakeLists.txt -------------------------------------------------------------------------------- /runtime/sys/boot.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/sys/boot.c -------------------------------------------------------------------------------- /runtime/sys/entry.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/sys/entry.S -------------------------------------------------------------------------------- /runtime/sys/env.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/sys/env.c -------------------------------------------------------------------------------- /runtime/sys/interrupt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/sys/interrupt.c -------------------------------------------------------------------------------- /runtime/test/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/test/CMakeLists.txt -------------------------------------------------------------------------------- /runtime/test/merkle.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/test/merkle.c -------------------------------------------------------------------------------- /runtime/test/mock.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/test/mock.h -------------------------------------------------------------------------------- /runtime/test/page_swap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/test/page_swap.c -------------------------------------------------------------------------------- /runtime/test/string.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/test/string.c -------------------------------------------------------------------------------- /runtime/tmplib/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/tmplib/CMakeLists.txt -------------------------------------------------------------------------------- /runtime/tmplib/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/tmplib/README -------------------------------------------------------------------------------- /runtime/tmplib/asm/asm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/tmplib/asm/asm.h -------------------------------------------------------------------------------- /runtime/tmplib/asm/csr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/tmplib/asm/csr.h -------------------------------------------------------------------------------- /runtime/tmplib/asm/linkage.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/tmplib/asm/linkage.h -------------------------------------------------------------------------------- /runtime/tmplib/linux/const.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/tmplib/linux/const.h -------------------------------------------------------------------------------- /runtime/tmplib/linux/linkage.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/tmplib/linux/linkage.h -------------------------------------------------------------------------------- /runtime/tmplib/partial_linkage.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/tmplib/partial_linkage.h -------------------------------------------------------------------------------- /runtime/tmplib/uaccess.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/tmplib/uaccess.S -------------------------------------------------------------------------------- /runtime/tmplib/uaccess.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/tmplib/uaccess.h -------------------------------------------------------------------------------- /runtime/tmplib/uio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/tmplib/uio.h -------------------------------------------------------------------------------- /runtime/util/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/util/CMakeLists.txt -------------------------------------------------------------------------------- /runtime/util/empty.c: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /runtime/util/printf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/util/printf.c -------------------------------------------------------------------------------- /runtime/util/rt_util.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/util/rt_util.c -------------------------------------------------------------------------------- /runtime/util/string.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/runtime/util/string.c -------------------------------------------------------------------------------- /scripts/ci/build-keystone.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/scripts/ci/build-keystone.sh -------------------------------------------------------------------------------- /scripts/ci/build-runtime.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/scripts/ci/build-runtime.sh -------------------------------------------------------------------------------- /scripts/ci/configs/global.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/scripts/ci/configs/global.sh -------------------------------------------------------------------------------- /scripts/ci/configs/track.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/scripts/ci/configs/track.sh -------------------------------------------------------------------------------- /scripts/ci/plat/cva6/expected.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/scripts/ci/plat/cva6/expected.log -------------------------------------------------------------------------------- /scripts/ci/plat/cva6/flash-firmware.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/scripts/ci/plat/cva6/flash-firmware.sh -------------------------------------------------------------------------------- /scripts/ci/plat/cva6/flash-os.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/scripts/ci/plat/cva6/flash-os.sh -------------------------------------------------------------------------------- /scripts/ci/plat/cva6/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/scripts/ci/plat/cva6/test.sh -------------------------------------------------------------------------------- /scripts/ci/plat/generic/expected.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/scripts/ci/plat/generic/expected.log -------------------------------------------------------------------------------- /scripts/ci/plat/generic/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/scripts/ci/plat/generic/test.sh -------------------------------------------------------------------------------- /scripts/ci/plat/hifive_unmatched/expected.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/scripts/ci/plat/hifive_unmatched/expected.log -------------------------------------------------------------------------------- /scripts/ci/plat/hifive_unmatched/flash-os.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/scripts/ci/plat/hifive_unmatched/flash-os.sh -------------------------------------------------------------------------------- /scripts/ci/plat/hifive_unmatched/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/scripts/ci/plat/hifive_unmatched/test.sh -------------------------------------------------------------------------------- /scripts/ci/plat/mpfs/expected.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/scripts/ci/plat/mpfs/expected.log -------------------------------------------------------------------------------- /scripts/ci/plat/mpfs/flash-firmware.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/scripts/ci/plat/mpfs/flash-firmware.sh -------------------------------------------------------------------------------- /scripts/ci/plat/mpfs/flash-os.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/scripts/ci/plat/mpfs/flash-os.sh -------------------------------------------------------------------------------- /scripts/ci/plat/mpfs/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/scripts/ci/plat/mpfs/test.sh -------------------------------------------------------------------------------- /scripts/ci/test-setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/scripts/ci/test-setup.sh -------------------------------------------------------------------------------- /scripts/ci/utils/find_tty.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/scripts/ci/utils/find_tty.sh -------------------------------------------------------------------------------- /scripts/ci/utils/relay_power.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/scripts/ci/utils/relay_power.py -------------------------------------------------------------------------------- /scripts/ci/utils/wait_for.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/scripts/ci/utils/wait_for.py -------------------------------------------------------------------------------- /scripts/gdb/generic.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/scripts/gdb/generic.cfg -------------------------------------------------------------------------------- /scripts/gdb/mpfs.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/scripts/gdb/mpfs.cfg -------------------------------------------------------------------------------- /scripts/gdb/pmp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/scripts/gdb/pmp.py -------------------------------------------------------------------------------- /scripts/grep.patterns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/scripts/grep.patterns -------------------------------------------------------------------------------- /sdk/.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/.circleci/config.yml -------------------------------------------------------------------------------- /sdk/.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/.clang-format -------------------------------------------------------------------------------- /sdk/.fast-setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/.fast-setup.sh -------------------------------------------------------------------------------- /sdk/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/.gitignore -------------------------------------------------------------------------------- /sdk/.post-install/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/.post-install/CMakeLists.txt -------------------------------------------------------------------------------- /sdk/.prebuilt_tools_shasums: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/.prebuilt_tools_shasums -------------------------------------------------------------------------------- /sdk/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/CMakeLists.txt -------------------------------------------------------------------------------- /sdk/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/LICENSE -------------------------------------------------------------------------------- /sdk/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/README.md -------------------------------------------------------------------------------- /sdk/include/app/eapp_utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/include/app/eapp_utils.h -------------------------------------------------------------------------------- /sdk/include/app/malloc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/include/app/malloc.h -------------------------------------------------------------------------------- /sdk/include/app/sealing.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/include/app/sealing.h -------------------------------------------------------------------------------- /sdk/include/app/string.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/include/app/string.h -------------------------------------------------------------------------------- /sdk/include/app/syscall.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/include/app/syscall.h -------------------------------------------------------------------------------- /sdk/include/common/sha3.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/include/common/sha3.h -------------------------------------------------------------------------------- /sdk/include/edge/edge_call.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/include/edge/edge_call.h -------------------------------------------------------------------------------- /sdk/include/edge/edge_common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/include/edge/edge_common.h -------------------------------------------------------------------------------- /sdk/include/edge/edge_syscall.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/include/edge/edge_syscall.h -------------------------------------------------------------------------------- /sdk/include/edge/syscall_nums.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/include/edge/syscall_nums.h -------------------------------------------------------------------------------- /sdk/include/host/ElfFile.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/include/host/ElfFile.hpp -------------------------------------------------------------------------------- /sdk/include/host/Elfloader.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/include/host/Elfloader.hpp -------------------------------------------------------------------------------- /sdk/include/host/Enclave.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/include/host/Enclave.hpp -------------------------------------------------------------------------------- /sdk/include/host/Error.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/include/host/Error.hpp -------------------------------------------------------------------------------- /sdk/include/host/KeystoneDevice.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/include/host/KeystoneDevice.hpp -------------------------------------------------------------------------------- /sdk/include/host/Log.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/include/host/Log.hpp -------------------------------------------------------------------------------- /sdk/include/host/Memory.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/include/host/Memory.hpp -------------------------------------------------------------------------------- /sdk/include/host/Params.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/include/host/Params.hpp -------------------------------------------------------------------------------- /sdk/include/host/common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/include/host/common.h -------------------------------------------------------------------------------- /sdk/include/host/elf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/include/host/elf.h -------------------------------------------------------------------------------- /sdk/include/host/elf32.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/include/host/elf32.h -------------------------------------------------------------------------------- /sdk/include/host/elf64.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/include/host/elf64.h -------------------------------------------------------------------------------- /sdk/include/host/hash_util.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/include/host/hash_util.hpp -------------------------------------------------------------------------------- /sdk/include/host/keystone.h: -------------------------------------------------------------------------------- 1 | #include "Enclave.hpp" 2 | -------------------------------------------------------------------------------- /sdk/include/host/keystone_user.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/include/host/keystone_user.h -------------------------------------------------------------------------------- /sdk/include/shared/eyrie_call.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/include/shared/eyrie_call.h -------------------------------------------------------------------------------- /sdk/include/shared/keystone_user.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/include/shared/keystone_user.h -------------------------------------------------------------------------------- /sdk/include/shared/sm_call.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/include/shared/sm_call.h -------------------------------------------------------------------------------- /sdk/include/shared/sm_err.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/include/shared/sm_err.h -------------------------------------------------------------------------------- /sdk/include/verifier/Keys.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/include/verifier/Keys.hpp -------------------------------------------------------------------------------- /sdk/include/verifier/Report.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/include/verifier/Report.hpp -------------------------------------------------------------------------------- /sdk/include/verifier/ed25519/ed25519.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/include/verifier/ed25519/ed25519.h -------------------------------------------------------------------------------- /sdk/include/verifier/ed25519/fe.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/include/verifier/ed25519/fe.h -------------------------------------------------------------------------------- /sdk/include/verifier/ed25519/fixedint.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/include/verifier/ed25519/fixedint.h -------------------------------------------------------------------------------- /sdk/include/verifier/ed25519/ge.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/include/verifier/ed25519/ge.h -------------------------------------------------------------------------------- /sdk/include/verifier/ed25519/precomp_data.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/include/verifier/ed25519/precomp_data.h -------------------------------------------------------------------------------- /sdk/include/verifier/ed25519/sc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/include/verifier/ed25519/sc.h -------------------------------------------------------------------------------- /sdk/include/verifier/json11.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/include/verifier/json11.h -------------------------------------------------------------------------------- /sdk/include/verifier/report.h: -------------------------------------------------------------------------------- 1 | #include "Report.hpp" 2 | -------------------------------------------------------------------------------- /sdk/include/verifier/test_dev_key.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/include/verifier/test_dev_key.h -------------------------------------------------------------------------------- /sdk/macros.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/macros.cmake -------------------------------------------------------------------------------- /sdk/src/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/src/CMakeLists.txt -------------------------------------------------------------------------------- /sdk/src/app/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/src/app/CMakeLists.txt -------------------------------------------------------------------------------- /sdk/src/app/encret.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/src/app/encret.s -------------------------------------------------------------------------------- /sdk/src/app/string.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/src/app/string.c -------------------------------------------------------------------------------- /sdk/src/app/syscall.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/src/app/syscall.c -------------------------------------------------------------------------------- /sdk/src/app/tiny-malloc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/src/app/tiny-malloc.c -------------------------------------------------------------------------------- /sdk/src/common/sha3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/src/common/sha3.c -------------------------------------------------------------------------------- /sdk/src/edge/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/src/edge/CMakeLists.txt -------------------------------------------------------------------------------- /sdk/src/edge/edge_call.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/src/edge/edge_call.c -------------------------------------------------------------------------------- /sdk/src/edge/edge_dispatch.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/src/edge/edge_dispatch.c -------------------------------------------------------------------------------- /sdk/src/edge/edge_syscall.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/src/edge/edge_syscall.c -------------------------------------------------------------------------------- /sdk/src/host/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/src/host/CMakeLists.txt -------------------------------------------------------------------------------- /sdk/src/host/ElfFile.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/src/host/ElfFile.cpp -------------------------------------------------------------------------------- /sdk/src/host/Enclave.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/src/host/Enclave.cpp -------------------------------------------------------------------------------- /sdk/src/host/KeystoneDevice.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/src/host/KeystoneDevice.cpp -------------------------------------------------------------------------------- /sdk/src/host/Log.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/src/host/Log.cpp -------------------------------------------------------------------------------- /sdk/src/host/Memory.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/src/host/Memory.cpp -------------------------------------------------------------------------------- /sdk/src/host/PhysicalEnclaveMemory.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/src/host/PhysicalEnclaveMemory.cpp -------------------------------------------------------------------------------- /sdk/src/host/SimulatedEnclaveMemory.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/src/host/SimulatedEnclaveMemory.cpp -------------------------------------------------------------------------------- /sdk/src/host/elf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/src/host/elf.c -------------------------------------------------------------------------------- /sdk/src/host/elf32.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/src/host/elf32.c -------------------------------------------------------------------------------- /sdk/src/host/elf64.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/src/host/elf64.c -------------------------------------------------------------------------------- /sdk/src/host/hash_util.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/src/host/hash_util.cpp -------------------------------------------------------------------------------- /sdk/src/verifier/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/src/verifier/CMakeLists.txt -------------------------------------------------------------------------------- /sdk/src/verifier/Report.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/src/verifier/Report.cpp -------------------------------------------------------------------------------- /sdk/src/verifier/ed25519/fe.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/src/verifier/ed25519/fe.c -------------------------------------------------------------------------------- /sdk/src/verifier/ed25519/ge.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/src/verifier/ed25519/ge.c -------------------------------------------------------------------------------- /sdk/src/verifier/ed25519/keypair.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/src/verifier/ed25519/keypair.c -------------------------------------------------------------------------------- /sdk/src/verifier/ed25519/sc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/src/verifier/ed25519/sc.c -------------------------------------------------------------------------------- /sdk/src/verifier/ed25519/sign.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/src/verifier/ed25519/sign.c -------------------------------------------------------------------------------- /sdk/src/verifier/ed25519/verify.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/src/verifier/ed25519/verify.c -------------------------------------------------------------------------------- /sdk/src/verifier/json11.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/src/verifier/json11.cpp -------------------------------------------------------------------------------- /sdk/src/verifier/keys.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/src/verifier/keys.cpp -------------------------------------------------------------------------------- /sdk/tests/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/tests/CMakeLists.txt -------------------------------------------------------------------------------- /sdk/tests/dl_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/tests/dl_tests.cpp -------------------------------------------------------------------------------- /sdk/tests/keystone_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/tests/keystone_test.cpp -------------------------------------------------------------------------------- /sdk/tests/scripts/setup_binary.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/tests/scripts/setup_binary.sh -------------------------------------------------------------------------------- /sdk/tests/scripts/setup_test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/tests/scripts/setup_test.sh -------------------------------------------------------------------------------- /sdk/tests/test_binary/tests/.gitignore: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /sdk/tests/test_binary/tests/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/tests/test_binary/tests/Makefile -------------------------------------------------------------------------------- /sdk/tests/test_binary/tests/app.lds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/tests/test_binary/tests/app.lds -------------------------------------------------------------------------------- /sdk/tests/test_binary/tests/app.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/tests/test_binary/tests/app.mk -------------------------------------------------------------------------------- /sdk/tests/test_binary/tests/stack/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/tests/test_binary/tests/stack/Makefile -------------------------------------------------------------------------------- /sdk/tests/test_binary/tests/stack/stack.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sdk/tests/test_binary/tests/stack/stack.s -------------------------------------------------------------------------------- /sm/.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/.circleci/config.yml -------------------------------------------------------------------------------- /sm/.gitignore: -------------------------------------------------------------------------------- 1 | build/ 2 | *.o 3 | *.d 4 | -------------------------------------------------------------------------------- /sm/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/LICENSE -------------------------------------------------------------------------------- /sm/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/README.md -------------------------------------------------------------------------------- /sm/plat/fpga/ariane/config.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/plat/fpga/ariane/config.mk -------------------------------------------------------------------------------- /sm/plat/fpga/ariane/objects.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/plat/fpga/ariane/objects.mk -------------------------------------------------------------------------------- /sm/plat/fpga/ariane/platform.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/plat/fpga/ariane/platform.c -------------------------------------------------------------------------------- /sm/plat/generic/config.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/plat/generic/config.mk -------------------------------------------------------------------------------- /sm/plat/generic/generic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/plat/generic/generic.c -------------------------------------------------------------------------------- /sm/plat/generic/objects.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/plat/generic/objects.mk -------------------------------------------------------------------------------- /sm/plat/hifive/unmatched/objects.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/plat/hifive/unmatched/objects.mk -------------------------------------------------------------------------------- /sm/plat/hifive/unmatched/unmatched.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/plat/hifive/unmatched/unmatched.c -------------------------------------------------------------------------------- /sm/plat/mpfs/crypto.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/plat/mpfs/crypto.h -------------------------------------------------------------------------------- /sm/plat/mpfs/crypto_interpose.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/plat/mpfs/crypto_interpose.c -------------------------------------------------------------------------------- /sm/plat/mpfs/objects.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/plat/mpfs/objects.mk -------------------------------------------------------------------------------- /sm/plat/sifive/fu540/config.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/plat/sifive/fu540/config.mk -------------------------------------------------------------------------------- /sm/plat/sifive/fu540/objects.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/plat/sifive/fu540/objects.mk -------------------------------------------------------------------------------- /sm/plat/sifive/fu540/platform.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/plat/sifive/fu540/platform.c -------------------------------------------------------------------------------- /sm/spec/v1.0.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/spec/v1.0.md -------------------------------------------------------------------------------- /sm/src/attest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/attest.c -------------------------------------------------------------------------------- /sm/src/cpu.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/cpu.c -------------------------------------------------------------------------------- /sm/src/cpu.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/cpu.h -------------------------------------------------------------------------------- /sm/src/crypto.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/crypto.c -------------------------------------------------------------------------------- /sm/src/crypto.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/crypto.h -------------------------------------------------------------------------------- /sm/src/ed25519/ed25519.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/ed25519/ed25519.h -------------------------------------------------------------------------------- /sm/src/ed25519/fe.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/ed25519/fe.c -------------------------------------------------------------------------------- /sm/src/ed25519/fe.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/ed25519/fe.h -------------------------------------------------------------------------------- /sm/src/ed25519/fixedint.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/ed25519/fixedint.h -------------------------------------------------------------------------------- /sm/src/ed25519/ge.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/ed25519/ge.c -------------------------------------------------------------------------------- /sm/src/ed25519/ge.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/ed25519/ge.h -------------------------------------------------------------------------------- /sm/src/ed25519/keypair.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/ed25519/keypair.c -------------------------------------------------------------------------------- /sm/src/ed25519/precomp_data.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/ed25519/precomp_data.h -------------------------------------------------------------------------------- /sm/src/ed25519/sc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/ed25519/sc.c -------------------------------------------------------------------------------- /sm/src/ed25519/sc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/ed25519/sc.h -------------------------------------------------------------------------------- /sm/src/ed25519/sign.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/ed25519/sign.c -------------------------------------------------------------------------------- /sm/src/enclave.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/enclave.c -------------------------------------------------------------------------------- /sm/src/enclave.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/enclave.h -------------------------------------------------------------------------------- /sm/src/hkdf_sha3_512/hkdf_sha3_512.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/hkdf_sha3_512/hkdf_sha3_512.c -------------------------------------------------------------------------------- /sm/src/hkdf_sha3_512/hkdf_sha3_512.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/hkdf_sha3_512/hkdf_sha3_512.h -------------------------------------------------------------------------------- /sm/src/hmac_sha3/hmac_sha3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/hmac_sha3/hmac_sha3.c -------------------------------------------------------------------------------- /sm/src/hmac_sha3/hmac_sha3.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/hmac_sha3/hmac_sha3.h -------------------------------------------------------------------------------- /sm/src/ipi.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/ipi.c -------------------------------------------------------------------------------- /sm/src/ipi.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/ipi.h -------------------------------------------------------------------------------- /sm/src/mprv.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/mprv.S -------------------------------------------------------------------------------- /sm/src/mprv.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/mprv.h -------------------------------------------------------------------------------- /sm/src/objects.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/objects.mk -------------------------------------------------------------------------------- /sm/src/page.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/page.h -------------------------------------------------------------------------------- /sm/src/platform-hook.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/platform-hook.h -------------------------------------------------------------------------------- /sm/src/platform/fpga/ariane/platform.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/platform/fpga/ariane/platform.c -------------------------------------------------------------------------------- /sm/src/platform/fpga/ariane/platform.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/platform/fpga/ariane/platform.h -------------------------------------------------------------------------------- /sm/src/platform/generic/platform.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/platform/generic/platform.c -------------------------------------------------------------------------------- /sm/src/platform/generic/platform.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/platform/generic/platform.h -------------------------------------------------------------------------------- /sm/src/platform/hifive/platform.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/platform/hifive/platform.c -------------------------------------------------------------------------------- /sm/src/platform/hifive/platform.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/platform/hifive/platform.h -------------------------------------------------------------------------------- /sm/src/platform/mpfs/platform.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/platform/mpfs/platform.c -------------------------------------------------------------------------------- /sm/src/platform/mpfs/platform.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/platform/mpfs/platform.h -------------------------------------------------------------------------------- /sm/src/platform/sifive/fu540/fu540_internal.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/platform/sifive/fu540/fu540_internal.c -------------------------------------------------------------------------------- /sm/src/platform/sifive/fu540/platform.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/platform/sifive/fu540/platform.c -------------------------------------------------------------------------------- /sm/src/platform/sifive/fu540/platform.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/platform/sifive/fu540/platform.h -------------------------------------------------------------------------------- /sm/src/platform/sifive/fu540/waymasks.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/platform/sifive/fu540/waymasks.c -------------------------------------------------------------------------------- /sm/src/platform/sifive/fu540/waymasks.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/platform/sifive/fu540/waymasks.h -------------------------------------------------------------------------------- /sm/src/plugins/multimem.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/plugins/multimem.c -------------------------------------------------------------------------------- /sm/src/plugins/multimem.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/plugins/multimem.h -------------------------------------------------------------------------------- /sm/src/plugins/plugins.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/plugins/plugins.c -------------------------------------------------------------------------------- /sm/src/plugins/plugins.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/plugins/plugins.h -------------------------------------------------------------------------------- /sm/src/pmp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/pmp.c -------------------------------------------------------------------------------- /sm/src/pmp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/pmp.h -------------------------------------------------------------------------------- /sm/src/safe_math_util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/safe_math_util.h -------------------------------------------------------------------------------- /sm/src/sbi_trap_hack.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/sbi_trap_hack.c -------------------------------------------------------------------------------- /sm/src/sha3/sha3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/sha3/sha3.c -------------------------------------------------------------------------------- /sm/src/sha3/sha3.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/sha3/sha3.h -------------------------------------------------------------------------------- /sm/src/sm-sbi-opensbi.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/sm-sbi-opensbi.c -------------------------------------------------------------------------------- /sm/src/sm-sbi-opensbi.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/sm-sbi-opensbi.h -------------------------------------------------------------------------------- /sm/src/sm-sbi.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/sm-sbi.c -------------------------------------------------------------------------------- /sm/src/sm-sbi.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/sm-sbi.h -------------------------------------------------------------------------------- /sm/src/sm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/sm.c -------------------------------------------------------------------------------- /sm/src/sm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/sm.h -------------------------------------------------------------------------------- /sm/src/sm_assert.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/sm_assert.h -------------------------------------------------------------------------------- /sm/src/thread.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/thread.c -------------------------------------------------------------------------------- /sm/src/thread.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/thread.h -------------------------------------------------------------------------------- /sm/src/trap.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/src/trap.S -------------------------------------------------------------------------------- /sm/tests/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/tests/CMakeLists.txt -------------------------------------------------------------------------------- /sm/tests/cmocka/cmocka.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/tests/cmocka/cmocka.h -------------------------------------------------------------------------------- /sm/tests/cmocka/cmocka_pbc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/tests/cmocka/cmocka_pbc.h -------------------------------------------------------------------------------- /sm/tests/cmocka/cmocka_private.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/tests/cmocka/cmocka_private.h -------------------------------------------------------------------------------- /sm/tests/cmocka/libcmocka-static-32.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/tests/cmocka/libcmocka-static-32.a -------------------------------------------------------------------------------- /sm/tests/cmocka/libcmocka-static.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/tests/cmocka/libcmocka-static.a -------------------------------------------------------------------------------- /sm/tests/mock/ipi.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/tests/mock/ipi.c -------------------------------------------------------------------------------- /sm/tests/mock/mprv.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/tests/mock/mprv.c -------------------------------------------------------------------------------- /sm/tests/mock/opensbi.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/tests/mock/opensbi.c -------------------------------------------------------------------------------- /sm/tests/mock/secure_boot.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/tests/mock/secure_boot.c -------------------------------------------------------------------------------- /sm/tests/test_enclave.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/tests/test_enclave.c -------------------------------------------------------------------------------- /sm/tests/test_pmp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/tests/test_pmp.c -------------------------------------------------------------------------------- /sm/tools/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/tools/Makefile -------------------------------------------------------------------------------- /sm/tools/hash_generator.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/sm/tools/hash_generator.c -------------------------------------------------------------------------------- /tests/test-qemu.expected.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keystone-enclave/keystone/HEAD/tests/test-qemu.expected.log --------------------------------------------------------------------------------