├── .cargo └── config.toml ├── .github └── workflows │ ├── format.yml │ └── merge.yml ├── .gitignore ├── .gitmodules ├── CONTRIBUTING.md ├── Cargo.lock ├── Cargo.toml ├── LICENSE ├── Makefile ├── README-vtpm.md ├── README.md ├── libtpm.h ├── scripts ├── attacks │ └── replace_attestation_report.sh ├── benchmarks │ ├── README.md │ ├── swtpm_scripts │ │ ├── run_swtpm_socket.sh │ │ └── swtpm │ │ │ ├── ecc │ │ │ └── make_rootca.sh │ │ │ ├── swtpm-localca.conf.in │ │ │ ├── swtpm-localca.options │ │ │ └── swtpm_setup.conf.in │ └── tpm_benchmarks.sh ├── build.sh ├── common.sh ├── install.sh ├── launch-qemu.sh └── stable-commits ├── src ├── bindings.rs ├── bios.rs ├── cpu │ ├── cpuid.rs │ ├── idt.rs │ ├── mod.rs │ ├── percpu.rs │ ├── smp.rs │ ├── sys.rs │ ├── tss.rs │ ├── vc.rs │ └── vmsa.rs ├── globals.rs ├── lib.rs ├── mem │ ├── alloc.rs │ ├── ca.rs │ ├── fwcfg.rs │ ├── ghcb.rs │ ├── mod.rs │ └── pgtable.rs ├── psp │ ├── guest_request.rs │ └── mod.rs ├── start │ ├── start.S │ ├── svsm.h │ └── svsm.lds.S ├── svsm_request.rs ├── util │ ├── locking.rs │ ├── mod.rs │ ├── serial.rs │ └── util.rs ├── vtpm │ ├── init.rs │ ├── manufacture.rs │ ├── mod.rs │ └── report.rs └── wrapper.rs └── x86_64-unknown-none.json /.cargo/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/.cargo/config.toml -------------------------------------------------------------------------------- /.github/workflows/format.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/.github/workflows/format.yml -------------------------------------------------------------------------------- /.github/workflows/merge.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/.github/workflows/merge.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/.gitmodules -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/Makefile -------------------------------------------------------------------------------- /README-vtpm.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/README-vtpm.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/README.md -------------------------------------------------------------------------------- /libtpm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/libtpm.h -------------------------------------------------------------------------------- /scripts/attacks/replace_attestation_report.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/scripts/attacks/replace_attestation_report.sh -------------------------------------------------------------------------------- /scripts/benchmarks/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/scripts/benchmarks/README.md -------------------------------------------------------------------------------- /scripts/benchmarks/swtpm_scripts/run_swtpm_socket.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/scripts/benchmarks/swtpm_scripts/run_swtpm_socket.sh -------------------------------------------------------------------------------- /scripts/benchmarks/swtpm_scripts/swtpm/ecc/make_rootca.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/scripts/benchmarks/swtpm_scripts/swtpm/ecc/make_rootca.sh -------------------------------------------------------------------------------- /scripts/benchmarks/swtpm_scripts/swtpm/swtpm-localca.conf.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/scripts/benchmarks/swtpm_scripts/swtpm/swtpm-localca.conf.in -------------------------------------------------------------------------------- /scripts/benchmarks/swtpm_scripts/swtpm/swtpm-localca.options: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/scripts/benchmarks/swtpm_scripts/swtpm/swtpm-localca.options -------------------------------------------------------------------------------- /scripts/benchmarks/swtpm_scripts/swtpm/swtpm_setup.conf.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/scripts/benchmarks/swtpm_scripts/swtpm/swtpm_setup.conf.in -------------------------------------------------------------------------------- /scripts/benchmarks/tpm_benchmarks.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/scripts/benchmarks/tpm_benchmarks.sh -------------------------------------------------------------------------------- /scripts/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/scripts/build.sh -------------------------------------------------------------------------------- /scripts/common.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/scripts/common.sh -------------------------------------------------------------------------------- /scripts/install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/scripts/install.sh -------------------------------------------------------------------------------- /scripts/launch-qemu.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/scripts/launch-qemu.sh -------------------------------------------------------------------------------- /scripts/stable-commits: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/scripts/stable-commits -------------------------------------------------------------------------------- /src/bindings.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/src/bindings.rs -------------------------------------------------------------------------------- /src/bios.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/src/bios.rs -------------------------------------------------------------------------------- /src/cpu/cpuid.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/src/cpu/cpuid.rs -------------------------------------------------------------------------------- /src/cpu/idt.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/src/cpu/idt.rs -------------------------------------------------------------------------------- /src/cpu/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/src/cpu/mod.rs -------------------------------------------------------------------------------- /src/cpu/percpu.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/src/cpu/percpu.rs -------------------------------------------------------------------------------- /src/cpu/smp.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/src/cpu/smp.rs -------------------------------------------------------------------------------- /src/cpu/sys.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/src/cpu/sys.rs -------------------------------------------------------------------------------- /src/cpu/tss.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/src/cpu/tss.rs -------------------------------------------------------------------------------- /src/cpu/vc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/src/cpu/vc.rs -------------------------------------------------------------------------------- /src/cpu/vmsa.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/src/cpu/vmsa.rs -------------------------------------------------------------------------------- /src/globals.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/src/globals.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/mem/alloc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/src/mem/alloc.rs -------------------------------------------------------------------------------- /src/mem/ca.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/src/mem/ca.rs -------------------------------------------------------------------------------- /src/mem/fwcfg.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/src/mem/fwcfg.rs -------------------------------------------------------------------------------- /src/mem/ghcb.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/src/mem/ghcb.rs -------------------------------------------------------------------------------- /src/mem/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/src/mem/mod.rs -------------------------------------------------------------------------------- /src/mem/pgtable.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/src/mem/pgtable.rs -------------------------------------------------------------------------------- /src/psp/guest_request.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/src/psp/guest_request.rs -------------------------------------------------------------------------------- /src/psp/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/src/psp/mod.rs -------------------------------------------------------------------------------- /src/start/start.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/src/start/start.S -------------------------------------------------------------------------------- /src/start/svsm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/src/start/svsm.h -------------------------------------------------------------------------------- /src/start/svsm.lds.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/src/start/svsm.lds.S -------------------------------------------------------------------------------- /src/svsm_request.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/src/svsm_request.rs -------------------------------------------------------------------------------- /src/util/locking.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/src/util/locking.rs -------------------------------------------------------------------------------- /src/util/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/src/util/mod.rs -------------------------------------------------------------------------------- /src/util/serial.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/src/util/serial.rs -------------------------------------------------------------------------------- /src/util/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/src/util/util.rs -------------------------------------------------------------------------------- /src/vtpm/init.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/src/vtpm/init.rs -------------------------------------------------------------------------------- /src/vtpm/manufacture.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/src/vtpm/manufacture.rs -------------------------------------------------------------------------------- /src/vtpm/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/src/vtpm/mod.rs -------------------------------------------------------------------------------- /src/vtpm/report.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/src/vtpm/report.rs -------------------------------------------------------------------------------- /src/wrapper.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/src/wrapper.rs -------------------------------------------------------------------------------- /x86_64-unknown-none.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/svsm-vtpm/linux-svsm/HEAD/x86_64-unknown-none.json --------------------------------------------------------------------------------