[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 0/7] Enable Automatic Disk Unlock with TPM2 on ieee1275
From: |
Stefan Berger |
Subject: |
[PATCH v3 0/7] Enable Automatic Disk Unlock with TPM2 on ieee1275 |
Date: |
Tue, 26 Nov 2024 15:39:39 -0500 |
This series of patches enables the 'Automatic Disk Unlock with TPM2'
support for ieee1275 PowerPC platforms. It adds a TCG2 driver for this
platform, which has the same API as the one for EFI. Further, it adjusts
the definition of TPM 2 related bit fields for big endian targets.
Regards,
Stefan
v3:
- Applied Daniel's R-b tags
- Added patches 2 & 3/7 for cleaning up of IEEE1275_IHANDLE_INVALID
- Using bools instead of ints
- Fixed commit messages
v2:
- Applied Gary's R-b tag to 1/5
- Split v1 2/2 into 4 patches
- Refactoring of grub_ieee1275_tpm_init
Stefan Berger (7):
tss2: Adjust bit fields for big endian targets
ieee1275/serial: Cast 0 to proper type
ieee1275: Consolidate repeated definitions of IEEE1275_IHANDLE_INVALID
ieee1275/ibmvpm: Move TPM initializaton functions to own file
ieee1275/tcg2: Refactor grub_ieee1275_tpm_init
ieee1275/tcg2: Add TCG2 driver for ieee1275 PowerPC firmware
tpm2_key_protector: Enable build for powerpc_ieee1275
grub-core/Makefile.core.def | 3 +
grub-core/commands/ieee1275/ibmvtpm.c | 46 +-------
grub-core/lib/ieee1275/tcg2.c | 159 ++++++++++++++++++++++++++
grub-core/lib/tss2/tss2_structs.h | 38 ++++++
grub-core/term/ieee1275/serial.c | 8 +-
include/grub/ieee1275/ieee1275.h | 1 +
include/grub/ieee1275/tpm.h | 30 +++++
7 files changed, 238 insertions(+), 47 deletions(-)
create mode 100644 grub-core/lib/ieee1275/tcg2.c
create mode 100644 include/grub/ieee1275/tpm.h
--
2.25.1
- [PATCH v3 0/7] Enable Automatic Disk Unlock with TPM2 on ieee1275,
Stefan Berger <=
- [PATCH v3 2/7] ieee1275/serial: Cast 0 to proper type, Stefan Berger, 2024/11/26
- [PATCH v3 1/7] tss2: Adjust bit fields for big endian targets, Stefan Berger, 2024/11/26
- [PATCH v3 6/7] ieee1275/tcg2: Add TCG2 driver for ieee1275 PowerPC firmware, Stefan Berger, 2024/11/26
- [PATCH v3 3/7] ieee1275: Consolidate repeated definitions of IEEE1275_IHANDLE_INVALID, Stefan Berger, 2024/11/26
- [PATCH v3 5/7] ieee1275/tcg2: Refactor grub_ieee1275_tpm_init, Stefan Berger, 2024/11/26
- [PATCH v3 4/7] ieee1275/ibmvpm: Move TPM initializaton functions to own file, Stefan Berger, 2024/11/26
- [PATCH v3 7/7] tpm2_key_protector: Enable build for powerpc_ieee1275, Stefan Berger, 2024/11/26
- Re: [PATCH v3 0/7] Enable Automatic Disk Unlock with TPM2 on ieee1275, Daniel Kiper, 2024/11/27
- Re: [PATCH v3 0/7] Enable Automatic Disk Unlock with TPM2 on ieee1275, Gary Lin, 2024/11/29