tpm2-util: split out helpers which format a PCR mask as a JSON array
authorLennart Poettering <lennart@poettering.net>
Fri, 19 Aug 2022 14:09:51 +0000 (16:09 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 19 Aug 2022 14:29:38 +0000 (16:29 +0200)
commit4436081e9d2fbc9cde7045472a22689b1c9dbb74
treed8807985a8e332ae40690e38cab644f57bd5f5b1
parent2ab1fb77e2e09baf7b34bf91604b995bb32ea5bf
tpm2-util: split out helpers which format a PCR mask as a JSON array

This makes the code easier to read, and is something we can reuse later
on.
src/shared/tpm2-util.c
src/shared/tpm2-util.h