summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/AmdSev/AmdSevX64.dsc
diff options
context:
space:
mode:
authorDov Murik <dovmurik@linux.ibm.com>2021-07-01 13:19:46 +0000
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-07-29 09:49:50 +0000
commit385b9d80a0100490b833f6483e5593fa1abc21b4 (patch)
treefea8ba121765f21565a41b8375b7412191278ce4 /OvmfPkg/AmdSev/AmdSevX64.dsc
parent0deeab36d179e79de7b93bb930b4d6eb24185416 (diff)
downloadedk2-385b9d80a0100490b833f6483e5593fa1abc21b4.tar.gz
edk2-385b9d80a0100490b833f6483e5593fa1abc21b4.tar.bz2
edk2-385b9d80a0100490b833f6483e5593fa1abc21b4.zip
OvmfPkg/AmdSev: add BlobVerifierLibSevHashes
Add an implementation for BlobVerifierLib that locates the SEV hashes table and verifies that the calculated hashes of the kernel, initrd, and cmdline blobs indeed match the expected hashes stated in the hashes table. If there's a missing hash or a hash mismatch then EFI_ACCESS_DENIED is returned which will cause a failure to load a kernel image. Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Ashish Kalra <ashish.kalra@amd.com> Cc: Brijesh Singh <brijesh.singh@amd.com> Cc: Erdem Aktas <erdemaktas@google.com> Cc: James Bottomley <jejb@linux.ibm.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Min Xu <min.m.xu@intel.com> Cc: Tom Lendacky <thomas.lendacky@amd.com> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3457 Co-developed-by: James Bottomley <jejb@linux.ibm.com> Signed-off-by: James Bottomley <jejb@linux.ibm.com> Signed-off-by: Dov Murik <dovmurik@linux.ibm.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> [ardb: add CryptoPkg to accepted dependencies list for CI]
Diffstat (limited to 'OvmfPkg/AmdSev/AmdSevX64.dsc')
0 files changed, 0 insertions, 0 deletions