]> git.ipfire.org Git - thirdparty/systemd.git/commit
tpm2-util: rename tpm2_extend_bytes()→tpm2_pcr_extend_bytes() and make it take struct...
authorLennart Poettering <lennart@poettering.net>
Mon, 3 Jun 2024 15:44:15 +0000 (17:44 +0200)
committerLennart Poettering <lennart@poettering.net>
Sun, 2 Nov 2025 20:14:35 +0000 (21:14 +0100)
commitd412b1629c54a6cc40dff225394661e09d20c461
treef9bc5efccba98e4e133dcce06ab5a2936011407e
parentb95912446e82dfa303ac79f7f3f031905b38df7b
tpm2-util: rename tpm2_extend_bytes()→tpm2_pcr_extend_bytes() and make it take struct iovec

We soon want to add the ability to extend into nvindexes in addition to
PCRs, hence rename the function to make clear it is about pcr extension.

While we are at it, switch things over to "struct iovec" as we generally
try to do it now in tpm2-util.[ch] these days.
src/cryptsetup/cryptsetup.c
src/pcrextend/pcrextend.c
src/shared/tpm2-util.c
src/shared/tpm2-util.h