├── .cargo └── config.toml ├── .github ├── CODEOWNERS ├── dependabot.yml └── workflows │ ├── deny.yml │ ├── devtools.yml │ ├── format.yml │ ├── fuzz.yml │ ├── integration-tdx.yml │ ├── integration.yml │ ├── library.yml │ ├── main.yml │ ├── oss-fuzz.yml │ ├── release.yaml │ └── trivy.yml ├── .gitignore ├── .gitmodules ├── .pre-commit-config.yaml ├── Cargo.lock ├── Cargo.toml ├── LICENSE ├── Makefile ├── README.md ├── cc-measurement ├── Cargo.toml └── src │ ├── lib.rs │ └── log.rs ├── data ├── blobs │ ├── td-payload.efi │ └── td-payload.elf └── sample-keys │ ├── ecdsa-p384-private.pk8 │ ├── ecdsa-p384-public.der │ ├── rsa-3072-private.pk8 │ └── rsa-3072-public.der ├── devtools ├── Makefile ├── dev_container │ ├── Dockerfile │ └── cargo_config ├── rustc-targets │ ├── x86_64-custom.json │ └── x86_64-unknown-none.json ├── td-benchmark │ ├── Cargo.toml │ └── src │ │ ├── heap.rs │ │ ├── lib.rs │ │ └── stack.rs ├── td-layout-config │ ├── Cargo.toml │ ├── README.md │ ├── config_image.json │ ├── config_memory.json │ ├── config_memory_exec.json │ ├── config_memory_linux.json │ └── src │ │ ├── image.rs │ │ ├── layout.rs │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── memory.rs │ │ ├── render.rs │ │ └── template │ │ ├── image.jinja │ │ └── memory.jinja ├── test-runner-client │ ├── Cargo.toml │ ├── README.md │ └── src │ │ ├── lib.rs │ │ └── serial.rs └── test-runner-server │ ├── Cargo.toml │ ├── README.md │ └── src │ └── main.rs ├── doc ├── cargo-deny.md ├── design-for-payload.md ├── design.md ├── fuzz.png ├── fuzzing.md ├── igvm_image.md ├── secure_boot.md ├── secure_boot_guide.md ├── static_analyzer.md ├── td-shim-diagram.png ├── td-shim-introduction.pdf ├── tdshim_spec.md ├── test_code_coverage.md ├── test_heap_stack_usage.md ├── test_in_no_std.md ├── test_with_td_payload.md ├── threat_model.md └── unit_test_coverage.md ├── library └── patches │ ├── 0002-Disable-checks-for-SSE-and-SSE2.patch │ └── ring.diff ├── rust-toolchain ├── sh_script ├── build_final.sh ├── docker.sh ├── fuzzing.sh ├── integration_tdx.sh ├── launch-rust-td.sh ├── preparation.sh ├── rudra.sh ├── switch_root_run_cmd.sh ├── unit_test_coverage.sh └── update_toolchain.sh ├── td-exception ├── Cargo.toml └── src │ ├── asm │ ├── handler.asm │ └── mod.rs │ ├── idt.rs │ ├── interrupt.rs │ └── lib.rs ├── td-layout ├── Cargo.toml └── src │ ├── build_time.rs │ ├── lib.rs │ ├── mailbox.rs │ ├── memslice.rs │ └── runtime │ ├── exec.rs │ ├── linux.rs │ └── mod.rs ├── td-loader ├── Cargo.toml ├── fuzz │ ├── Cargo.toml │ ├── fuzz_targets │ │ ├── afl_elf.rs │ │ ├── afl_pe.rs │ │ ├── elf.rs │ │ ├── fuzzlib.rs │ │ └── pe.rs │ └── seeds │ │ ├── elf │ │ └── rust-td-payload │ │ └── pe │ │ └── td-shim.efi └── src │ ├── elf.rs │ ├── elf64.rs │ ├── lib.rs │ └── pe.rs ├── td-logger ├── Cargo.toml └── src │ ├── lib.rs │ └── logger.rs ├── td-paging ├── Cargo.toml └── src │ ├── consts.rs │ ├── frame.rs │ ├── lib.rs │ └── page_table.rs ├── td-payload ├── Cargo.toml └── src │ ├── acpi.rs │ ├── arch │ ├── mod.rs │ └── x86_64 │ │ ├── apic.rs │ │ ├── cet.rs │ │ ├── gdt.rs │ │ ├── guard_page.rs │ │ ├── idt.rs │ │ ├── init.rs │ │ ├── mod.rs │ │ ├── paging.rs │ │ ├── serial.rs │ │ └── shared.rs │ ├── bin │ └── example │ │ ├── main.rs │ │ ├── mp.rs │ │ └── stack.rs │ ├── console.rs │ ├── event.rs │ ├── hob.rs │ ├── lib.rs │ └── mm │ ├── heap.rs │ ├── layout.rs │ ├── mod.rs │ ├── page_table.rs │ └── shared.rs ├── td-shim-interface ├── Cargo.toml ├── README.md ├── fuzz │ ├── Cargo.toml │ ├── fuzz_targets │ │ ├── afl_cfv_parser.rs │ │ ├── afl_hob_parser.rs │ │ ├── afl_payload_parser.rs │ │ ├── cfv_parser.rs │ │ ├── fuzzlib.rs │ │ ├── hob_parser.rs │ │ └── payload_parser.rs │ └── seeds │ │ ├── cfv_parser │ │ └── cfv │ │ ├── hob_parser │ │ └── hob_buffer │ │ └── payload_parser │ │ └── fv_buffer └── src │ ├── acpi.rs │ ├── lib.rs │ ├── loader.rs │ ├── metadata.rs │ └── td_uefi_pi │ ├── fv.rs │ ├── hob.rs │ ├── mod.rs │ └── pi │ ├── boot_mode.rs │ ├── fv.rs │ ├── guid.rs │ ├── hob.rs │ └── mod.rs ├── td-shim-tools ├── Cargo.toml ├── etc │ └── sample_metadata.json └── src │ ├── bin │ ├── td-payload-reference-calculator │ │ ├── README.md │ │ └── main.rs │ ├── td-shim-checker │ │ ├── README.md │ │ └── main.rs │ ├── td-shim-enroll │ │ ├── README.md │ │ └── main.rs │ ├── td-shim-ld │ │ └── main.rs │ ├── td-shim-sign-payload │ │ ├── README.md │ │ └── main.rs │ ├── td-shim-strip-info │ │ ├── main.rs │ │ └── readme.md │ └── td-shim-tee-info-hash │ │ ├── main.rs │ │ ├── readme.md │ │ └── sample_manifest.json │ ├── enroller.rs │ ├── lib.rs │ ├── linker.rs │ ├── metadata.rs │ ├── public_key.rs │ ├── read_file.rs │ ├── signer.rs │ └── tee_info_hash.rs ├── td-shim ├── Cargo.toml ├── ResetVector │ ├── CommonMacros.inc │ ├── DebugDisabled.asm │ ├── Ia32 │ │ ├── Flat32ToFlat64.asm │ │ ├── ReloadFlat32.asm │ │ ├── ResetVectorVtf0.asm │ │ └── ValidateBfvBase.asm │ ├── Main.asm │ ├── Port80Debug.asm │ ├── PostCodes.inc │ ├── ResetVector.nasm │ ├── SerialDebug.asm │ └── X64 │ │ ├── PageTables.asm │ │ └── TestHob.asm ├── build.rs ├── fuzz │ ├── Cargo.toml │ ├── fuzz_targets │ │ ├── afl_secure_boot_cfv.rs │ │ ├── afl_secure_boot_payload.rs │ │ ├── fuzzlib.rs │ │ ├── secure_boot_cfv.rs │ │ └── secure_boot_payload.rs │ └── seeds │ │ ├── secure_boot_cfv │ │ └── cfv │ │ └── secure_boot_payload │ │ └── td-payload-signed └── src │ ├── bin │ └── td-shim │ │ ├── acpi.rs │ │ ├── asm │ │ ├── ap_loop.asm │ │ ├── ap_loop_notdvmcall.asm │ │ ├── exception.asm │ │ ├── exception_notdvmcall.asm │ │ ├── mod.rs │ │ └── msr64.asm │ │ ├── e820.rs │ │ ├── heap.rs │ │ ├── ipl.rs │ │ ├── linux │ │ ├── boot.rs │ │ ├── kernel_param.rs │ │ └── mod.rs │ │ ├── main.rs │ │ ├── memory.rs │ │ ├── mp.rs │ │ ├── payload_hob.rs │ │ ├── shim_info.rs │ │ └── td │ │ ├── dummy.rs │ │ ├── mod.rs │ │ ├── tdx.rs │ │ └── tdx_mailbox.rs │ ├── e820.rs │ ├── event_log.rs │ ├── fv.rs │ ├── lib.rs │ ├── reset_vector.rs │ └── secure_boot.rs ├── tdx-tdcall ├── CHANGELOG.md ├── Cargo.toml ├── README.md └── src │ ├── asm │ ├── mod.rs │ ├── tdcall.asm │ ├── tdcall_emu.asm │ ├── tdvmcall.asm │ ├── tdvmcall_emu.asm │ └── tdvmcall_ex.asm │ ├── lib.rs │ ├── tdreport.rs │ └── tdx.rs ├── tests ├── test-td-exception │ ├── Cargo.toml │ ├── src │ │ └── lib.rs │ └── x86_64-custom.json ├── test-td-paging │ ├── Cargo.toml │ ├── src │ │ └── lib.rs │ └── x86_64-custom.json └── test-td-payload │ ├── Cargo.toml │ ├── config │ ├── README.md │ ├── test_config_1.json │ ├── test_config_2.json │ ├── test_config_3.json │ ├── test_config_4.json │ └── test_config_5.json │ └── src │ ├── lib.rs │ ├── main.rs │ ├── testacpi.rs │ ├── testcetibt.rs │ ├── testcetshstk.rs │ ├── testiorw32.rs │ ├── testiorw8.rs │ ├── testmemmap.rs │ ├── testmsrrw.rs │ ├── teststackguard.rs │ ├── testtdinfo.rs │ ├── testtdreport.rs │ ├── testtdve.rs │ └── testtrustedboot.rs └── xtask ├── Cargo.toml └── src ├── build.rs └── main.rs /.cargo/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/.cargo/config.toml -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/.github/CODEOWNERS -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/deny.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/.github/workflows/deny.yml -------------------------------------------------------------------------------- /.github/workflows/devtools.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/.github/workflows/devtools.yml -------------------------------------------------------------------------------- /.github/workflows/format.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/.github/workflows/format.yml -------------------------------------------------------------------------------- /.github/workflows/fuzz.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/.github/workflows/fuzz.yml -------------------------------------------------------------------------------- /.github/workflows/integration-tdx.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/.github/workflows/integration-tdx.yml -------------------------------------------------------------------------------- /.github/workflows/integration.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/.github/workflows/integration.yml -------------------------------------------------------------------------------- /.github/workflows/library.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/.github/workflows/library.yml -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.github/workflows/oss-fuzz.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/.github/workflows/oss-fuzz.yml -------------------------------------------------------------------------------- /.github/workflows/release.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/.github/workflows/release.yaml -------------------------------------------------------------------------------- /.github/workflows/trivy.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/.github/workflows/trivy.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/.gitmodules -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/README.md -------------------------------------------------------------------------------- /cc-measurement/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/cc-measurement/Cargo.toml -------------------------------------------------------------------------------- /cc-measurement/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/cc-measurement/src/lib.rs -------------------------------------------------------------------------------- /cc-measurement/src/log.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/cc-measurement/src/log.rs -------------------------------------------------------------------------------- /data/blobs/td-payload.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/data/blobs/td-payload.efi -------------------------------------------------------------------------------- /data/blobs/td-payload.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/data/blobs/td-payload.elf -------------------------------------------------------------------------------- /data/sample-keys/ecdsa-p384-private.pk8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/data/sample-keys/ecdsa-p384-private.pk8 -------------------------------------------------------------------------------- /data/sample-keys/ecdsa-p384-public.der: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/data/sample-keys/ecdsa-p384-public.der -------------------------------------------------------------------------------- /data/sample-keys/rsa-3072-private.pk8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/data/sample-keys/rsa-3072-private.pk8 -------------------------------------------------------------------------------- /data/sample-keys/rsa-3072-public.der: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/data/sample-keys/rsa-3072-public.der -------------------------------------------------------------------------------- /devtools/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/devtools/Makefile -------------------------------------------------------------------------------- /devtools/dev_container/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/devtools/dev_container/Dockerfile -------------------------------------------------------------------------------- /devtools/dev_container/cargo_config: -------------------------------------------------------------------------------- 1 | [net] 2 | git-fetch-with-cli = true 3 | -------------------------------------------------------------------------------- /devtools/rustc-targets/x86_64-custom.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/devtools/rustc-targets/x86_64-custom.json -------------------------------------------------------------------------------- /devtools/rustc-targets/x86_64-unknown-none.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/devtools/rustc-targets/x86_64-unknown-none.json -------------------------------------------------------------------------------- /devtools/td-benchmark/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/devtools/td-benchmark/Cargo.toml -------------------------------------------------------------------------------- /devtools/td-benchmark/src/heap.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/devtools/td-benchmark/src/heap.rs -------------------------------------------------------------------------------- /devtools/td-benchmark/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/devtools/td-benchmark/src/lib.rs -------------------------------------------------------------------------------- /devtools/td-benchmark/src/stack.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/devtools/td-benchmark/src/stack.rs -------------------------------------------------------------------------------- /devtools/td-layout-config/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/devtools/td-layout-config/Cargo.toml -------------------------------------------------------------------------------- /devtools/td-layout-config/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/devtools/td-layout-config/README.md -------------------------------------------------------------------------------- /devtools/td-layout-config/config_image.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/devtools/td-layout-config/config_image.json -------------------------------------------------------------------------------- /devtools/td-layout-config/config_memory.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/devtools/td-layout-config/config_memory.json -------------------------------------------------------------------------------- /devtools/td-layout-config/config_memory_exec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/devtools/td-layout-config/config_memory_exec.json -------------------------------------------------------------------------------- /devtools/td-layout-config/config_memory_linux.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/devtools/td-layout-config/config_memory_linux.json -------------------------------------------------------------------------------- /devtools/td-layout-config/src/image.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/devtools/td-layout-config/src/image.rs -------------------------------------------------------------------------------- /devtools/td-layout-config/src/layout.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/devtools/td-layout-config/src/layout.rs -------------------------------------------------------------------------------- /devtools/td-layout-config/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/devtools/td-layout-config/src/lib.rs -------------------------------------------------------------------------------- /devtools/td-layout-config/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/devtools/td-layout-config/src/main.rs -------------------------------------------------------------------------------- /devtools/td-layout-config/src/memory.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/devtools/td-layout-config/src/memory.rs -------------------------------------------------------------------------------- /devtools/td-layout-config/src/render.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/devtools/td-layout-config/src/render.rs -------------------------------------------------------------------------------- /devtools/td-layout-config/src/template/image.jinja: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/devtools/td-layout-config/src/template/image.jinja -------------------------------------------------------------------------------- /devtools/td-layout-config/src/template/memory.jinja: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/devtools/td-layout-config/src/template/memory.jinja -------------------------------------------------------------------------------- /devtools/test-runner-client/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/devtools/test-runner-client/Cargo.toml -------------------------------------------------------------------------------- /devtools/test-runner-client/README.md: -------------------------------------------------------------------------------- 1 | ../test-runner-server/README.md -------------------------------------------------------------------------------- /devtools/test-runner-client/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/devtools/test-runner-client/src/lib.rs -------------------------------------------------------------------------------- /devtools/test-runner-client/src/serial.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/devtools/test-runner-client/src/serial.rs -------------------------------------------------------------------------------- /devtools/test-runner-server/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/devtools/test-runner-server/Cargo.toml -------------------------------------------------------------------------------- /devtools/test-runner-server/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/devtools/test-runner-server/README.md -------------------------------------------------------------------------------- /devtools/test-runner-server/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/devtools/test-runner-server/src/main.rs -------------------------------------------------------------------------------- /doc/cargo-deny.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/doc/cargo-deny.md -------------------------------------------------------------------------------- /doc/design-for-payload.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/doc/design-for-payload.md -------------------------------------------------------------------------------- /doc/design.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/doc/design.md -------------------------------------------------------------------------------- /doc/fuzz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/doc/fuzz.png -------------------------------------------------------------------------------- /doc/fuzzing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/doc/fuzzing.md -------------------------------------------------------------------------------- /doc/igvm_image.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/doc/igvm_image.md -------------------------------------------------------------------------------- /doc/secure_boot.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/doc/secure_boot.md -------------------------------------------------------------------------------- /doc/secure_boot_guide.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/doc/secure_boot_guide.md -------------------------------------------------------------------------------- /doc/static_analyzer.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/doc/static_analyzer.md -------------------------------------------------------------------------------- /doc/td-shim-diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/doc/td-shim-diagram.png -------------------------------------------------------------------------------- /doc/td-shim-introduction.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/doc/td-shim-introduction.pdf -------------------------------------------------------------------------------- /doc/tdshim_spec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/doc/tdshim_spec.md -------------------------------------------------------------------------------- /doc/test_code_coverage.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/doc/test_code_coverage.md -------------------------------------------------------------------------------- /doc/test_heap_stack_usage.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/doc/test_heap_stack_usage.md -------------------------------------------------------------------------------- /doc/test_in_no_std.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/doc/test_in_no_std.md -------------------------------------------------------------------------------- /doc/test_with_td_payload.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/doc/test_with_td_payload.md -------------------------------------------------------------------------------- /doc/threat_model.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/doc/threat_model.md -------------------------------------------------------------------------------- /doc/unit_test_coverage.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/doc/unit_test_coverage.md -------------------------------------------------------------------------------- /library/patches/0002-Disable-checks-for-SSE-and-SSE2.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/library/patches/0002-Disable-checks-for-SSE-and-SSE2.patch -------------------------------------------------------------------------------- /library/patches/ring.diff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/library/patches/ring.diff -------------------------------------------------------------------------------- /rust-toolchain: -------------------------------------------------------------------------------- 1 | 1.88.0 2 | -------------------------------------------------------------------------------- /sh_script/build_final.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/sh_script/build_final.sh -------------------------------------------------------------------------------- /sh_script/docker.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/sh_script/docker.sh -------------------------------------------------------------------------------- /sh_script/fuzzing.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/sh_script/fuzzing.sh -------------------------------------------------------------------------------- /sh_script/integration_tdx.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/sh_script/integration_tdx.sh -------------------------------------------------------------------------------- /sh_script/launch-rust-td.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/sh_script/launch-rust-td.sh -------------------------------------------------------------------------------- /sh_script/preparation.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/sh_script/preparation.sh -------------------------------------------------------------------------------- /sh_script/rudra.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/sh_script/rudra.sh -------------------------------------------------------------------------------- /sh_script/switch_root_run_cmd.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/sh_script/switch_root_run_cmd.sh -------------------------------------------------------------------------------- /sh_script/unit_test_coverage.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/sh_script/unit_test_coverage.sh -------------------------------------------------------------------------------- /sh_script/update_toolchain.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/sh_script/update_toolchain.sh -------------------------------------------------------------------------------- /td-exception/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-exception/Cargo.toml -------------------------------------------------------------------------------- /td-exception/src/asm/handler.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-exception/src/asm/handler.asm -------------------------------------------------------------------------------- /td-exception/src/asm/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-exception/src/asm/mod.rs -------------------------------------------------------------------------------- /td-exception/src/idt.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-exception/src/idt.rs -------------------------------------------------------------------------------- /td-exception/src/interrupt.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-exception/src/interrupt.rs -------------------------------------------------------------------------------- /td-exception/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-exception/src/lib.rs -------------------------------------------------------------------------------- /td-layout/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-layout/Cargo.toml -------------------------------------------------------------------------------- /td-layout/src/build_time.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-layout/src/build_time.rs -------------------------------------------------------------------------------- /td-layout/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-layout/src/lib.rs -------------------------------------------------------------------------------- /td-layout/src/mailbox.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-layout/src/mailbox.rs -------------------------------------------------------------------------------- /td-layout/src/memslice.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-layout/src/memslice.rs -------------------------------------------------------------------------------- /td-layout/src/runtime/exec.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-layout/src/runtime/exec.rs -------------------------------------------------------------------------------- /td-layout/src/runtime/linux.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-layout/src/runtime/linux.rs -------------------------------------------------------------------------------- /td-layout/src/runtime/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-layout/src/runtime/mod.rs -------------------------------------------------------------------------------- /td-loader/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-loader/Cargo.toml -------------------------------------------------------------------------------- /td-loader/fuzz/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-loader/fuzz/Cargo.toml -------------------------------------------------------------------------------- /td-loader/fuzz/fuzz_targets/afl_elf.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-loader/fuzz/fuzz_targets/afl_elf.rs -------------------------------------------------------------------------------- /td-loader/fuzz/fuzz_targets/afl_pe.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-loader/fuzz/fuzz_targets/afl_pe.rs -------------------------------------------------------------------------------- /td-loader/fuzz/fuzz_targets/elf.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-loader/fuzz/fuzz_targets/elf.rs -------------------------------------------------------------------------------- /td-loader/fuzz/fuzz_targets/fuzzlib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-loader/fuzz/fuzz_targets/fuzzlib.rs -------------------------------------------------------------------------------- /td-loader/fuzz/fuzz_targets/pe.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-loader/fuzz/fuzz_targets/pe.rs -------------------------------------------------------------------------------- /td-loader/fuzz/seeds/elf/rust-td-payload: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-loader/fuzz/seeds/elf/rust-td-payload -------------------------------------------------------------------------------- /td-loader/fuzz/seeds/pe/td-shim.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-loader/fuzz/seeds/pe/td-shim.efi -------------------------------------------------------------------------------- /td-loader/src/elf.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-loader/src/elf.rs -------------------------------------------------------------------------------- /td-loader/src/elf64.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-loader/src/elf64.rs -------------------------------------------------------------------------------- /td-loader/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-loader/src/lib.rs -------------------------------------------------------------------------------- /td-loader/src/pe.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-loader/src/pe.rs -------------------------------------------------------------------------------- /td-logger/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-logger/Cargo.toml -------------------------------------------------------------------------------- /td-logger/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-logger/src/lib.rs -------------------------------------------------------------------------------- /td-logger/src/logger.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-logger/src/logger.rs -------------------------------------------------------------------------------- /td-paging/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-paging/Cargo.toml -------------------------------------------------------------------------------- /td-paging/src/consts.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-paging/src/consts.rs -------------------------------------------------------------------------------- /td-paging/src/frame.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-paging/src/frame.rs -------------------------------------------------------------------------------- /td-paging/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-paging/src/lib.rs -------------------------------------------------------------------------------- /td-paging/src/page_table.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-paging/src/page_table.rs -------------------------------------------------------------------------------- /td-payload/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-payload/Cargo.toml -------------------------------------------------------------------------------- /td-payload/src/acpi.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-payload/src/acpi.rs -------------------------------------------------------------------------------- /td-payload/src/arch/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-payload/src/arch/mod.rs -------------------------------------------------------------------------------- /td-payload/src/arch/x86_64/apic.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-payload/src/arch/x86_64/apic.rs -------------------------------------------------------------------------------- /td-payload/src/arch/x86_64/cet.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-payload/src/arch/x86_64/cet.rs -------------------------------------------------------------------------------- /td-payload/src/arch/x86_64/gdt.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-payload/src/arch/x86_64/gdt.rs -------------------------------------------------------------------------------- /td-payload/src/arch/x86_64/guard_page.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-payload/src/arch/x86_64/guard_page.rs -------------------------------------------------------------------------------- /td-payload/src/arch/x86_64/idt.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-payload/src/arch/x86_64/idt.rs -------------------------------------------------------------------------------- /td-payload/src/arch/x86_64/init.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-payload/src/arch/x86_64/init.rs -------------------------------------------------------------------------------- /td-payload/src/arch/x86_64/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-payload/src/arch/x86_64/mod.rs -------------------------------------------------------------------------------- /td-payload/src/arch/x86_64/paging.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-payload/src/arch/x86_64/paging.rs -------------------------------------------------------------------------------- /td-payload/src/arch/x86_64/serial.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-payload/src/arch/x86_64/serial.rs -------------------------------------------------------------------------------- /td-payload/src/arch/x86_64/shared.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-payload/src/arch/x86_64/shared.rs -------------------------------------------------------------------------------- /td-payload/src/bin/example/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-payload/src/bin/example/main.rs -------------------------------------------------------------------------------- /td-payload/src/bin/example/mp.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-payload/src/bin/example/mp.rs -------------------------------------------------------------------------------- /td-payload/src/bin/example/stack.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-payload/src/bin/example/stack.rs -------------------------------------------------------------------------------- /td-payload/src/console.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-payload/src/console.rs -------------------------------------------------------------------------------- /td-payload/src/event.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-payload/src/event.rs -------------------------------------------------------------------------------- /td-payload/src/hob.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-payload/src/hob.rs -------------------------------------------------------------------------------- /td-payload/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-payload/src/lib.rs -------------------------------------------------------------------------------- /td-payload/src/mm/heap.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-payload/src/mm/heap.rs -------------------------------------------------------------------------------- /td-payload/src/mm/layout.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-payload/src/mm/layout.rs -------------------------------------------------------------------------------- /td-payload/src/mm/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-payload/src/mm/mod.rs -------------------------------------------------------------------------------- /td-payload/src/mm/page_table.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-payload/src/mm/page_table.rs -------------------------------------------------------------------------------- /td-payload/src/mm/shared.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-payload/src/mm/shared.rs -------------------------------------------------------------------------------- /td-shim-interface/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-interface/Cargo.toml -------------------------------------------------------------------------------- /td-shim-interface/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-interface/README.md -------------------------------------------------------------------------------- /td-shim-interface/fuzz/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-interface/fuzz/Cargo.toml -------------------------------------------------------------------------------- /td-shim-interface/fuzz/fuzz_targets/afl_cfv_parser.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-interface/fuzz/fuzz_targets/afl_cfv_parser.rs -------------------------------------------------------------------------------- /td-shim-interface/fuzz/fuzz_targets/afl_hob_parser.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-interface/fuzz/fuzz_targets/afl_hob_parser.rs -------------------------------------------------------------------------------- /td-shim-interface/fuzz/fuzz_targets/afl_payload_parser.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-interface/fuzz/fuzz_targets/afl_payload_parser.rs -------------------------------------------------------------------------------- /td-shim-interface/fuzz/fuzz_targets/cfv_parser.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-interface/fuzz/fuzz_targets/cfv_parser.rs -------------------------------------------------------------------------------- /td-shim-interface/fuzz/fuzz_targets/fuzzlib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-interface/fuzz/fuzz_targets/fuzzlib.rs -------------------------------------------------------------------------------- /td-shim-interface/fuzz/fuzz_targets/hob_parser.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-interface/fuzz/fuzz_targets/hob_parser.rs -------------------------------------------------------------------------------- /td-shim-interface/fuzz/fuzz_targets/payload_parser.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-interface/fuzz/fuzz_targets/payload_parser.rs -------------------------------------------------------------------------------- /td-shim-interface/fuzz/seeds/cfv_parser/cfv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-interface/fuzz/seeds/cfv_parser/cfv -------------------------------------------------------------------------------- /td-shim-interface/fuzz/seeds/hob_parser/hob_buffer: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-interface/fuzz/seeds/hob_parser/hob_buffer -------------------------------------------------------------------------------- /td-shim-interface/fuzz/seeds/payload_parser/fv_buffer: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-interface/fuzz/seeds/payload_parser/fv_buffer -------------------------------------------------------------------------------- /td-shim-interface/src/acpi.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-interface/src/acpi.rs -------------------------------------------------------------------------------- /td-shim-interface/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-interface/src/lib.rs -------------------------------------------------------------------------------- /td-shim-interface/src/loader.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-interface/src/loader.rs -------------------------------------------------------------------------------- /td-shim-interface/src/metadata.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-interface/src/metadata.rs -------------------------------------------------------------------------------- /td-shim-interface/src/td_uefi_pi/fv.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-interface/src/td_uefi_pi/fv.rs -------------------------------------------------------------------------------- /td-shim-interface/src/td_uefi_pi/hob.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-interface/src/td_uefi_pi/hob.rs -------------------------------------------------------------------------------- /td-shim-interface/src/td_uefi_pi/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-interface/src/td_uefi_pi/mod.rs -------------------------------------------------------------------------------- /td-shim-interface/src/td_uefi_pi/pi/boot_mode.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-interface/src/td_uefi_pi/pi/boot_mode.rs -------------------------------------------------------------------------------- /td-shim-interface/src/td_uefi_pi/pi/fv.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-interface/src/td_uefi_pi/pi/fv.rs -------------------------------------------------------------------------------- /td-shim-interface/src/td_uefi_pi/pi/guid.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-interface/src/td_uefi_pi/pi/guid.rs -------------------------------------------------------------------------------- /td-shim-interface/src/td_uefi_pi/pi/hob.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-interface/src/td_uefi_pi/pi/hob.rs -------------------------------------------------------------------------------- /td-shim-interface/src/td_uefi_pi/pi/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-interface/src/td_uefi_pi/pi/mod.rs -------------------------------------------------------------------------------- /td-shim-tools/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-tools/Cargo.toml -------------------------------------------------------------------------------- /td-shim-tools/etc/sample_metadata.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-tools/etc/sample_metadata.json -------------------------------------------------------------------------------- /td-shim-tools/src/bin/td-payload-reference-calculator/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-tools/src/bin/td-payload-reference-calculator/README.md -------------------------------------------------------------------------------- /td-shim-tools/src/bin/td-payload-reference-calculator/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-tools/src/bin/td-payload-reference-calculator/main.rs -------------------------------------------------------------------------------- /td-shim-tools/src/bin/td-shim-checker/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-tools/src/bin/td-shim-checker/README.md -------------------------------------------------------------------------------- /td-shim-tools/src/bin/td-shim-checker/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-tools/src/bin/td-shim-checker/main.rs -------------------------------------------------------------------------------- /td-shim-tools/src/bin/td-shim-enroll/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-tools/src/bin/td-shim-enroll/README.md -------------------------------------------------------------------------------- /td-shim-tools/src/bin/td-shim-enroll/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-tools/src/bin/td-shim-enroll/main.rs -------------------------------------------------------------------------------- /td-shim-tools/src/bin/td-shim-ld/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-tools/src/bin/td-shim-ld/main.rs -------------------------------------------------------------------------------- /td-shim-tools/src/bin/td-shim-sign-payload/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-tools/src/bin/td-shim-sign-payload/README.md -------------------------------------------------------------------------------- /td-shim-tools/src/bin/td-shim-sign-payload/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-tools/src/bin/td-shim-sign-payload/main.rs -------------------------------------------------------------------------------- /td-shim-tools/src/bin/td-shim-strip-info/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-tools/src/bin/td-shim-strip-info/main.rs -------------------------------------------------------------------------------- /td-shim-tools/src/bin/td-shim-strip-info/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-tools/src/bin/td-shim-strip-info/readme.md -------------------------------------------------------------------------------- /td-shim-tools/src/bin/td-shim-tee-info-hash/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-tools/src/bin/td-shim-tee-info-hash/main.rs -------------------------------------------------------------------------------- /td-shim-tools/src/bin/td-shim-tee-info-hash/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-tools/src/bin/td-shim-tee-info-hash/readme.md -------------------------------------------------------------------------------- /td-shim-tools/src/bin/td-shim-tee-info-hash/sample_manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-tools/src/bin/td-shim-tee-info-hash/sample_manifest.json -------------------------------------------------------------------------------- /td-shim-tools/src/enroller.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-tools/src/enroller.rs -------------------------------------------------------------------------------- /td-shim-tools/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-tools/src/lib.rs -------------------------------------------------------------------------------- /td-shim-tools/src/linker.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-tools/src/linker.rs -------------------------------------------------------------------------------- /td-shim-tools/src/metadata.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-tools/src/metadata.rs -------------------------------------------------------------------------------- /td-shim-tools/src/public_key.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-tools/src/public_key.rs -------------------------------------------------------------------------------- /td-shim-tools/src/read_file.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-tools/src/read_file.rs -------------------------------------------------------------------------------- /td-shim-tools/src/signer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-tools/src/signer.rs -------------------------------------------------------------------------------- /td-shim-tools/src/tee_info_hash.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim-tools/src/tee_info_hash.rs -------------------------------------------------------------------------------- /td-shim/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/Cargo.toml -------------------------------------------------------------------------------- /td-shim/ResetVector/CommonMacros.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/ResetVector/CommonMacros.inc -------------------------------------------------------------------------------- /td-shim/ResetVector/DebugDisabled.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/ResetVector/DebugDisabled.asm -------------------------------------------------------------------------------- /td-shim/ResetVector/Ia32/Flat32ToFlat64.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/ResetVector/Ia32/Flat32ToFlat64.asm -------------------------------------------------------------------------------- /td-shim/ResetVector/Ia32/ReloadFlat32.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/ResetVector/Ia32/ReloadFlat32.asm -------------------------------------------------------------------------------- /td-shim/ResetVector/Ia32/ResetVectorVtf0.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/ResetVector/Ia32/ResetVectorVtf0.asm -------------------------------------------------------------------------------- /td-shim/ResetVector/Ia32/ValidateBfvBase.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/ResetVector/Ia32/ValidateBfvBase.asm -------------------------------------------------------------------------------- /td-shim/ResetVector/Main.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/ResetVector/Main.asm -------------------------------------------------------------------------------- /td-shim/ResetVector/Port80Debug.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/ResetVector/Port80Debug.asm -------------------------------------------------------------------------------- /td-shim/ResetVector/PostCodes.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/ResetVector/PostCodes.inc -------------------------------------------------------------------------------- /td-shim/ResetVector/ResetVector.nasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/ResetVector/ResetVector.nasm -------------------------------------------------------------------------------- /td-shim/ResetVector/SerialDebug.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/ResetVector/SerialDebug.asm -------------------------------------------------------------------------------- /td-shim/ResetVector/X64/PageTables.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/ResetVector/X64/PageTables.asm -------------------------------------------------------------------------------- /td-shim/ResetVector/X64/TestHob.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/ResetVector/X64/TestHob.asm -------------------------------------------------------------------------------- /td-shim/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/build.rs -------------------------------------------------------------------------------- /td-shim/fuzz/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/fuzz/Cargo.toml -------------------------------------------------------------------------------- /td-shim/fuzz/fuzz_targets/afl_secure_boot_cfv.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/fuzz/fuzz_targets/afl_secure_boot_cfv.rs -------------------------------------------------------------------------------- /td-shim/fuzz/fuzz_targets/afl_secure_boot_payload.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/fuzz/fuzz_targets/afl_secure_boot_payload.rs -------------------------------------------------------------------------------- /td-shim/fuzz/fuzz_targets/fuzzlib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/fuzz/fuzz_targets/fuzzlib.rs -------------------------------------------------------------------------------- /td-shim/fuzz/fuzz_targets/secure_boot_cfv.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/fuzz/fuzz_targets/secure_boot_cfv.rs -------------------------------------------------------------------------------- /td-shim/fuzz/fuzz_targets/secure_boot_payload.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/fuzz/fuzz_targets/secure_boot_payload.rs -------------------------------------------------------------------------------- /td-shim/fuzz/seeds/secure_boot_cfv/cfv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/fuzz/seeds/secure_boot_cfv/cfv -------------------------------------------------------------------------------- /td-shim/fuzz/seeds/secure_boot_payload/td-payload-signed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/fuzz/seeds/secure_boot_payload/td-payload-signed -------------------------------------------------------------------------------- /td-shim/src/bin/td-shim/acpi.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/src/bin/td-shim/acpi.rs -------------------------------------------------------------------------------- /td-shim/src/bin/td-shim/asm/ap_loop.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/src/bin/td-shim/asm/ap_loop.asm -------------------------------------------------------------------------------- /td-shim/src/bin/td-shim/asm/ap_loop_notdvmcall.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/src/bin/td-shim/asm/ap_loop_notdvmcall.asm -------------------------------------------------------------------------------- /td-shim/src/bin/td-shim/asm/exception.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/src/bin/td-shim/asm/exception.asm -------------------------------------------------------------------------------- /td-shim/src/bin/td-shim/asm/exception_notdvmcall.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/src/bin/td-shim/asm/exception_notdvmcall.asm -------------------------------------------------------------------------------- /td-shim/src/bin/td-shim/asm/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/src/bin/td-shim/asm/mod.rs -------------------------------------------------------------------------------- /td-shim/src/bin/td-shim/asm/msr64.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/src/bin/td-shim/asm/msr64.asm -------------------------------------------------------------------------------- /td-shim/src/bin/td-shim/e820.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/src/bin/td-shim/e820.rs -------------------------------------------------------------------------------- /td-shim/src/bin/td-shim/heap.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/src/bin/td-shim/heap.rs -------------------------------------------------------------------------------- /td-shim/src/bin/td-shim/ipl.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/src/bin/td-shim/ipl.rs -------------------------------------------------------------------------------- /td-shim/src/bin/td-shim/linux/boot.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/src/bin/td-shim/linux/boot.rs -------------------------------------------------------------------------------- /td-shim/src/bin/td-shim/linux/kernel_param.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/src/bin/td-shim/linux/kernel_param.rs -------------------------------------------------------------------------------- /td-shim/src/bin/td-shim/linux/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/src/bin/td-shim/linux/mod.rs -------------------------------------------------------------------------------- /td-shim/src/bin/td-shim/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/src/bin/td-shim/main.rs -------------------------------------------------------------------------------- /td-shim/src/bin/td-shim/memory.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/src/bin/td-shim/memory.rs -------------------------------------------------------------------------------- /td-shim/src/bin/td-shim/mp.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/src/bin/td-shim/mp.rs -------------------------------------------------------------------------------- /td-shim/src/bin/td-shim/payload_hob.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/src/bin/td-shim/payload_hob.rs -------------------------------------------------------------------------------- /td-shim/src/bin/td-shim/shim_info.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/src/bin/td-shim/shim_info.rs -------------------------------------------------------------------------------- /td-shim/src/bin/td-shim/td/dummy.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/src/bin/td-shim/td/dummy.rs -------------------------------------------------------------------------------- /td-shim/src/bin/td-shim/td/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/src/bin/td-shim/td/mod.rs -------------------------------------------------------------------------------- /td-shim/src/bin/td-shim/td/tdx.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/src/bin/td-shim/td/tdx.rs -------------------------------------------------------------------------------- /td-shim/src/bin/td-shim/td/tdx_mailbox.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/src/bin/td-shim/td/tdx_mailbox.rs -------------------------------------------------------------------------------- /td-shim/src/e820.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/src/e820.rs -------------------------------------------------------------------------------- /td-shim/src/event_log.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/src/event_log.rs -------------------------------------------------------------------------------- /td-shim/src/fv.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/src/fv.rs -------------------------------------------------------------------------------- /td-shim/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/src/lib.rs -------------------------------------------------------------------------------- /td-shim/src/reset_vector.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/src/reset_vector.rs -------------------------------------------------------------------------------- /td-shim/src/secure_boot.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/td-shim/src/secure_boot.rs -------------------------------------------------------------------------------- /tdx-tdcall/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/tdx-tdcall/CHANGELOG.md -------------------------------------------------------------------------------- /tdx-tdcall/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/tdx-tdcall/Cargo.toml -------------------------------------------------------------------------------- /tdx-tdcall/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/tdx-tdcall/README.md -------------------------------------------------------------------------------- /tdx-tdcall/src/asm/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/tdx-tdcall/src/asm/mod.rs -------------------------------------------------------------------------------- /tdx-tdcall/src/asm/tdcall.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/tdx-tdcall/src/asm/tdcall.asm -------------------------------------------------------------------------------- /tdx-tdcall/src/asm/tdcall_emu.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/tdx-tdcall/src/asm/tdcall_emu.asm -------------------------------------------------------------------------------- /tdx-tdcall/src/asm/tdvmcall.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/tdx-tdcall/src/asm/tdvmcall.asm -------------------------------------------------------------------------------- /tdx-tdcall/src/asm/tdvmcall_emu.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/tdx-tdcall/src/asm/tdvmcall_emu.asm -------------------------------------------------------------------------------- /tdx-tdcall/src/asm/tdvmcall_ex.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/tdx-tdcall/src/asm/tdvmcall_ex.asm -------------------------------------------------------------------------------- /tdx-tdcall/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/tdx-tdcall/src/lib.rs -------------------------------------------------------------------------------- /tdx-tdcall/src/tdreport.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/tdx-tdcall/src/tdreport.rs -------------------------------------------------------------------------------- /tdx-tdcall/src/tdx.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/tdx-tdcall/src/tdx.rs -------------------------------------------------------------------------------- /tests/test-td-exception/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/tests/test-td-exception/Cargo.toml -------------------------------------------------------------------------------- /tests/test-td-exception/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/tests/test-td-exception/src/lib.rs -------------------------------------------------------------------------------- /tests/test-td-exception/x86_64-custom.json: -------------------------------------------------------------------------------- 1 | ../../devtools/rustc-targets/x86_64-custom.json -------------------------------------------------------------------------------- /tests/test-td-paging/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/tests/test-td-paging/Cargo.toml -------------------------------------------------------------------------------- /tests/test-td-paging/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/tests/test-td-paging/src/lib.rs -------------------------------------------------------------------------------- /tests/test-td-paging/x86_64-custom.json: -------------------------------------------------------------------------------- 1 | ../../devtools/rustc-targets/x86_64-custom.json -------------------------------------------------------------------------------- /tests/test-td-payload/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/tests/test-td-payload/Cargo.toml -------------------------------------------------------------------------------- /tests/test-td-payload/config/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/tests/test-td-payload/config/README.md -------------------------------------------------------------------------------- /tests/test-td-payload/config/test_config_1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/tests/test-td-payload/config/test_config_1.json -------------------------------------------------------------------------------- /tests/test-td-payload/config/test_config_2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/tests/test-td-payload/config/test_config_2.json -------------------------------------------------------------------------------- /tests/test-td-payload/config/test_config_3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/tests/test-td-payload/config/test_config_3.json -------------------------------------------------------------------------------- /tests/test-td-payload/config/test_config_4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/tests/test-td-payload/config/test_config_4.json -------------------------------------------------------------------------------- /tests/test-td-payload/config/test_config_5.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/tests/test-td-payload/config/test_config_5.json -------------------------------------------------------------------------------- /tests/test-td-payload/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/tests/test-td-payload/src/lib.rs -------------------------------------------------------------------------------- /tests/test-td-payload/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/tests/test-td-payload/src/main.rs -------------------------------------------------------------------------------- /tests/test-td-payload/src/testacpi.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/tests/test-td-payload/src/testacpi.rs -------------------------------------------------------------------------------- /tests/test-td-payload/src/testcetibt.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/tests/test-td-payload/src/testcetibt.rs -------------------------------------------------------------------------------- /tests/test-td-payload/src/testcetshstk.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/tests/test-td-payload/src/testcetshstk.rs -------------------------------------------------------------------------------- /tests/test-td-payload/src/testiorw32.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/tests/test-td-payload/src/testiorw32.rs -------------------------------------------------------------------------------- /tests/test-td-payload/src/testiorw8.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/tests/test-td-payload/src/testiorw8.rs -------------------------------------------------------------------------------- /tests/test-td-payload/src/testmemmap.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/tests/test-td-payload/src/testmemmap.rs -------------------------------------------------------------------------------- /tests/test-td-payload/src/testmsrrw.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/tests/test-td-payload/src/testmsrrw.rs -------------------------------------------------------------------------------- /tests/test-td-payload/src/teststackguard.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/tests/test-td-payload/src/teststackguard.rs -------------------------------------------------------------------------------- /tests/test-td-payload/src/testtdinfo.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/tests/test-td-payload/src/testtdinfo.rs -------------------------------------------------------------------------------- /tests/test-td-payload/src/testtdreport.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/tests/test-td-payload/src/testtdreport.rs -------------------------------------------------------------------------------- /tests/test-td-payload/src/testtdve.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/tests/test-td-payload/src/testtdve.rs -------------------------------------------------------------------------------- /tests/test-td-payload/src/testtrustedboot.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/tests/test-td-payload/src/testtrustedboot.rs -------------------------------------------------------------------------------- /xtask/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/xtask/Cargo.toml -------------------------------------------------------------------------------- /xtask/src/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/xtask/src/build.rs -------------------------------------------------------------------------------- /xtask/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/confidential-containers/td-shim/HEAD/xtask/src/main.rs --------------------------------------------------------------------------------