fundamental: rename tpm-pcr.h → tpm2-pcr.h
authorLennart Poettering <lennart@poettering.net>
Thu, 24 Aug 2023 09:24:02 +0000 (11:24 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 24 Aug 2023 11:40:37 +0000 (13:40 +0200)
commite0e1f4f7a2dedade857f232b504f42f20db68d8e
tree0a7b803735a11af5adaad0ba65738688f165a7d3
parent46c5a1383a1b269edc7304bc9fe44e2600b431de
fundamental: rename tpm-pcr.h → tpm2-pcr.h

I always found it confusing that most of our TPM related definitions are
in tpm2-util.h, but the PCR names in tpm-pcr.h, without the "2". Let's
fix that and make this systematic, in particular as the definitions in
the file all start with TPM2_ already.

No code flow changes, just some renaming.
12 files changed:
src/boot/efi/measure.c
src/boot/efi/stub.c
src/boot/measure.c
src/boot/pcrphase.c
src/creds/creds.c
src/cryptenroll/cryptenroll.c
src/cryptsetup/cryptsetup.c
src/fundamental/tpm-pcr.h [deleted file]
src/fundamental/tpm2-pcr.h [new file with mode: 0644]
src/partition/repart.c
src/shared/efi-loader.c
src/shared/tpm2-util.h