]> git.baikalelectronics.ru Git - kernel.git/commit
efi/libstub: add prototype of efi_tcg2_protocol::hash_log_extend_event()
authorArd Biesheuvel <ardb@kernel.org>
Fri, 19 Nov 2021 11:47:42 +0000 (13:47 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Sun, 21 Nov 2021 16:08:10 +0000 (17:08 +0100)
commit7d0485fb4b95af4d36915f9ddb8bef426fbc6aec
tree3ab334395851c4f23ab32ef72842184d6ad91968
parent598412f30e99ce75bc11d8ef192f23a5e55c4f4c
efi/libstub: add prototype of efi_tcg2_protocol::hash_log_extend_event()

Define the right prototype for efi_tcg2_protocol::hash_log_extend_event()
and add the required structs so we can start using it to measure the initrd
into the TPM if it was loaded by the EFI stub itself.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Link: https://lore.kernel.org/r/20211119114745.1560453-2-ilias.apalodimas@linaro.org
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
arch/x86/include/asm/efi.h
drivers/firmware/efi/libstub/efistub.h