]> git.ipfire.org Git - thirdparty/systemd.git/commit
measure: strip tpm 1.x remnants
authorLennart Poettering <lennart@poettering.net>
Tue, 23 Sep 2025 11:18:56 +0000 (13:18 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 24 Sep 2025 06:49:23 +0000 (08:49 +0200)
commit496489c2a70b1675af679c1d33cee035fe7c9aff
treecccdeec48a5c95069bacd4293529b750059bd9b6
parent696b1263dc78858f96345a366933c66d53ae4899
measure: strip tpm 1.x remnants

Let's never bother with old TPM 1.x structures, they are not mentioned
in the TCG for TPM2 spec at all. However, the spec does say we should
check the Size field of the relevant structs, before accessing them,
hence do that.
src/boot/measure.c
src/boot/proto/tcg.h