]> git.ipfire.org Git - thirdparty/systemd.git/commit
tpm2: add tpm2_sym_alg_*_string() and tpm2_sym_mode_*_string()
authorDan Streetman <ddstreet@ieee.org>
Mon, 6 Nov 2023 18:40:11 +0000 (13:40 -0500)
committerDan Streetman <ddstreet@ieee.org>
Tue, 7 Nov 2023 15:59:44 +0000 (10:59 -0500)
commit2d784782bf700ae26dbeaa24e11ee8faebc29367
treea3e697b9f18d507eee2d86797598f9f8871bd773
parent2eea1b8f2f787ea2ed4e571096b48c5a301f63f4
tpm2: add tpm2_sym_alg_*_string() and tpm2_sym_mode_*_string()

Add functions to convert between alg id and string name for symmetric
algorithms and symmetric encryption modes.
src/shared/tpm2-util.c
src/shared/tpm2-util.h