]> git.baikalelectronics.ru Git - uboot.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)
commit2ae42ca56da366fa59c3f81fc819d574a6fc2076
tree4c9216af31059d317ddfdece1970a7ad57a92063
parentc51cb31175ff72514e7c414b42634f2c8d661bb2
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