]> git.baikalelectronics.ru Git - uboot.git/commit
tpm: Change response length of tpm2_get_capability()
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Thu, 5 Nov 2020 21:58:43 +0000 (23:58 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 9 Nov 2020 16:28:18 +0000 (17:28 +0100)
commitb2ed9e92949281ac3117155c180be976bbae6814
tree5a1da7557ca17a3a7c253d1a6f8fd72bb2b6d44e
parenta114fe8bb8a8c112ab62404570b97dff1a887565
tpm: Change response length of tpm2_get_capability()

For implementing the EFI_TCG2_PROTOCOL we need the count field returned by
the TPM when reading capabilities via tpm2_get_capability().

Adjust the implementation of the 'tpm2 get_capability' command accordingly.

Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
cmd/tpm-v2.c
lib/tpm-v2.c