tpm2: rename tpm2 alg id<->string functions
authorDan Streetman <ddstreet@ieee.org>
Fri, 9 Dec 2022 22:20:24 +0000 (17:20 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 1 Feb 2023 17:13:48 +0000 (18:13 +0100)
commit7bfe0a48d9df6e9488aaec2eeb5bfec051681e40
treee71219935e8cdb0531bede023b2cec0fcb34345c
parent92fc007902073d25bd6c9749d61a82a98db29e4f
tpm2: rename tpm2 alg id<->string functions

The 'pcr_bank' functions operate on hash algs, and are not specific to the PCR
banks, while the 'primary_alg' functions operate on asymmetric algs, and are
not specific to primary keys.
src/boot/measure.c
src/cryptsetup/cryptsetup-tokens/cryptsetup-token-systemd-tpm2.c
src/shared/creds-util.c
src/shared/tpm2-util.c
src/shared/tpm2-util.h