]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/shared/tpm2-util.c
tpm2: add/rename functions to manage pcr selections
authorDan Streetman <ddstreet@ieee.org>
Mon, 6 Feb 2023 16:31:59 +0000 (11:31 -0500)
committerDan Streetman <ddstreet@ieee.org>
Thu, 9 Mar 2023 15:46:19 +0000 (10:46 -0500)
commitc69bd0abdbd06ee89068227c67890358f5764c3d
treeee678937f2d5ebd3d06e5fe4bb91ed1dd648678c
parentaa07a4fa353d758562c4bec8c7d3b1d44b55e573
tpm2: add/rename functions to manage pcr selections

This renames some functions to match other to/from_string() naming,
and allows better management of TPML_PCR_SELECTION and TPMS_PCR_SELECTION
structs.
src/boot/measure.c
src/cryptsetup/cryptsetup-tokens/cryptsetup-token-systemd-tpm2.c
src/shared/tpm2-util.c
src/shared/tpm2-util.h
src/test/test-tpm2.c