efi/libstub: Add Confidential Computing (CC) measurement typedefs
authorKuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Thu, 15 Feb 2024 03:00:01 +0000 (03:00 +0000)
committerArd Biesheuvel <ardb@kernel.org>
Sat, 9 Mar 2024 10:36:56 +0000 (11:36 +0100)
commit0bbe5b0ea97aaaea6387bab89919a8654b07df27
tree9cdce3f3ebf964f272637a714dc67aa353c8a115
parent7a1381e8313f1f01cbecbe3fc2ddaa24fe37033a
efi/libstub: Add Confidential Computing (CC) measurement typedefs

If the virtual firmware implements TPM support, TCG2 protocol will be
used for kernel measurements and event logging support. But in CC
environment, not all platforms support or enable the TPM feature. UEFI
specification [1] exposes protocol and interfaces used for kernel
measurements in CC platforms without TPM support.

More details about the EFI CC measurements and logging can be found
in [1].

Link: https://uefi.org/specs/UEFI/2.10/38_Confidential_Computing.html#efi-cc-measurement-protocol
Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
[ardb: Drop code changes, keep typedefs and #define's only]
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/libstub/efistub.h
include/linux/efi.h