]> git.ipfire.org Git - thirdparty/systemd.git/commit
tpm2-util: add common parser for the LUKS2 TPM2 JSON structure
authorLennart Poettering <lennart@poettering.net>
Fri, 19 Aug 2022 20:15:12 +0000 (22:15 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 8 Sep 2022 14:34:27 +0000 (16:34 +0200)
commitfdf6c27cbaea5af63b474b6160c1effa5f3a3b46
treeca1f8194933579d19c3b9b409b78b419ff150c1e
parentdc63b2c90940c683a58195f43e59e1c08178629d
tpm2-util: add common parser for the LUKS2 TPM2 JSON structure

This splits out the JSON parser used by the systemd-cryptsetup code.

This is preparation for later work to reuse it in the tpm2 cryptsetup
token module, which currently uses a separate but very similar parser
for the same data.

No change in behaviour.
src/cryptsetup/cryptsetup-tpm2.c
src/cryptsetup/cryptsetup-tpm2.h
src/cryptsetup/cryptsetup.c
src/shared/cryptsetup-util.c
src/shared/cryptsetup-util.h
src/shared/tpm2-util.c
src/shared/tpm2-util.h