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.
This commit is contained in:
Lennart Poettering
2023-08-24 13:40:37 +02:00
parent 46c5a1383a
commit e0e1f4f7a2
11 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
#include "macro-fundamental.h"
#include "measure.h"
#include "proto/tcg.h"
#include "tpm-pcr.h"
#include "tpm2-pcr.h"
#include "util.h"
static EFI_STATUS tpm1_measure_to_pcr_and_event_log(
+1 -1
View File
@@ -13,7 +13,7 @@
#include "secure-boot.h"
#include "shim.h"
#include "splash.h"
#include "tpm-pcr.h"
#include "tpm2-pcr.h"
#include "uki.h"
#include "util.h"
#include "version.h"
+1 -1
View File
@@ -18,7 +18,7 @@
#include "pretty-print.h"
#include "sha256.h"
#include "terminal-util.h"
#include "tpm-pcr.h"
#include "tpm2-pcr.h"
#include "tpm2-util.h"
#include "uki.h"
#include "verbs.h"
+1 -1
View File
@@ -18,7 +18,7 @@
#include "openssl-util.h"
#include "parse-argument.h"
#include "pretty-print.h"
#include "tpm-pcr.h"
#include "tpm2-pcr.h"
#include "tpm2-util.h"
static bool arg_graceful = false;