mbox series

[0/3] fix TCG2 error handling

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

Message

Masahisa Kojima Dec. 3, 2021, 3:58 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 tcg2_measure_pe_image() error

 include/efi_loader.h              |  2 +
 lib/efi_loader/Kconfig            |  2 +
 lib/efi_loader/efi_image_loader.c | 11 +++-
 lib/efi_loader/efi_setup.c        |  2 +
 lib/efi_loader/efi_tcg2.c         | 85 ++++++++++++++++++++++++-------
 5 files changed, 81 insertions(+), 21 deletions(-)