]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: add EFI_TCG2_PROTOCOL.SubmitCommand
authorMasahisa Kojima <masahisa.kojima@linaro.org>
Thu, 4 Nov 2021 13:59:16 +0000 (22:59 +0900)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 7 Nov 2021 17:36:55 +0000 (18:36 +0100)
commit7fc93cae4903c5332b8ae94e1517f7c79f250a4d
tree4c9216af31059d317ddfdece1970a7ad57a92063
parent14cbb330fe8e2723871926a3806954393da83cce
efi_loader: add EFI_TCG2_PROTOCOL.SubmitCommand

This commit adds the EFI_TCG2_PROTOCOL.SubmitCommand
required in the TCG PC Client PFP spec.
SubmitCommand enables to send the raw command to the TPM device.

To implement this api, tpm2_submit_command() is added
into tpm-v2.c.

Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
include/tpm-v2.h
lib/efi_loader/efi_tcg2.c
lib/tpm-v2.c