]> git.ipfire.org Git - thirdparty/systemd.git/commit
tpm2: cache the TPM supported commands, add tpm2_supports_command()
authorDan Streetman <ddstreet@ieee.org>
Fri, 17 Feb 2023 17:59:18 +0000 (12:59 -0500)
committerDan Streetman <ddstreet@ieee.org>
Wed, 5 Jul 2023 21:33:55 +0000 (17:33 -0400)
commitadbf0c8cfb5d8635133ce9e2be088f9489b54694
treee5b86469d79757d4536b0558da9337b461147197
parent3f27ba99542385174a1bc40beb737a8622790912
tpm2: cache the TPM supported commands, add tpm2_supports_command()

Cache the TPM's supported commands and provide a function to check if a command
is supported.
src/shared/tpm2-util.c
src/shared/tpm2-util.h
src/test/test-tpm2.c