mbox series

[v2,0/3] fix TCG2 error handling

Message ID 20211207051533.5597-1-masahisa.kojima@linaro.org
Headers show
Series fix TCG2 error handling | expand

Message

Masahisa Kojima Dec. 7, 2021, 5:15 a.m. UTC
This series fix the efi_tcg2.c error handling.

Masahisa Kojima (3):
  efi_loader: efi_tcg2_register returns appropriate error
  efi_loader: check tcg2 protocol installation outside the TCG protocol
  efi_loader: correctly handle no tpm device error

 include/efi_loader.h              |  2 +
 lib/efi_loader/Kconfig            |  2 +
 lib/efi_loader/efi_boottime.c     |  9 ++--
 lib/efi_loader/efi_image_loader.c | 13 +++--
 lib/efi_loader/efi_setup.c        |  4 ++
 lib/efi_loader/efi_tcg2.c         | 87 ++++++++++++++++++++++++-------
 6 files changed, 91 insertions(+), 26 deletions(-)