Re: [PATCH v1] efi/libstub: Add Confidential Computing (CC) measurement support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2024-02-03 at 07:57 +0000, Kuppuswamy Sathyanarayanan wrote:
> 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.
> 
> Currently, the efi-stub only supports the kernel related measurements
> for the platform that supports TCG2 protocol. So, extend it add
> CC measurement protocol (EFI_CC_MEASUREMENT_PROTOCOL) and event
> logging support. Event logging format in the CC environment is the
> same as TCG2.

Why do we have to do this anymore?  Given that you're already pushing
patches that map RTMRs to TPM PCRs:

https://lore.kernel.org/lkml/20240128212532.2754325-4-sameo@xxxxxxxxxxxx/

Can't you just add a stub TCG2 driver to EFI that exposes only the
ability to log and measure using this mapping?  That way all our
existing code will "just work" without the need to understand anything
about confidential computing or add new code to do the measurement?

James





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux