]> git.ipfire.org Git - thirdparty/systemd.git/commit
measure: make tpm_log_tagged_event() measure CC as well
authorVitaly Kuznetsov <vkuznets@redhat.com>
Fri, 13 Mar 2026 12:02:51 +0000 (13:02 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 18 Mar 2026 12:35:21 +0000 (12:35 +0000)
commita06992dd1660336782a2b0ddd95ac7f733225875
treea423c530addeb65dfb257586b76a5af23c00c10e
parentcd1f2f2ff91dbbbe0ee9049b627f58b56a4c6a4f
measure: make tpm_log_tagged_event() measure CC as well

tpm_log_tagged_event() only measures the event to the TPM while
tpm_log_ipl_event() measures the event both to the TPM and CC. Fix the
inconsistency.

Note, this is a potentially breaking change for TDX guests as systemd will
now measure more stuff to the MRTD/RTMRs, reference values for attestation may
need to be adjusted.

Found by Claude Code Review.
NEWS
src/boot/measure.c