diff options
author | Stefan Mahnke-Hartmann <stefan.mahnke-hartmann@infineon.com> | 2022-05-13 15:41:53 +0200 |
---|---|---|
committer | Jarkko Sakkinen <jarkko@kernel.org> | 2022-05-23 17:47:50 +0200 |
commit | af402ee3c045b0cbd10b7e66d2431304ac9e69bb (patch) | |
tree | ce57a42d24ae8695f6d94e1596e70cc34fec6235 /security/keys | |
parent | tpm: Fix buffer access in tpm2_get_tpm_pt() (diff) | |
download | linux-af402ee3c045b0cbd10b7e66d2431304ac9e69bb.tar.xz linux-af402ee3c045b0cbd10b7e66d2431304ac9e69bb.zip |
tpm: Add field upgrade mode support for Infineon TPM2 modules
TPM2_GetCapability with a capability that has the property type value
of TPM_PT_TOTAL_COMMANDS returns a zero length list, when an Infineon
TPM2 is in field upgrade mode.
Since an Infineon TPM2.0 in field upgrade mode returns RC_SUCCESS on
TPM2_Startup, the field upgrade mode has to be detected by
TPM2_GetCapability.
Signed-off-by: Stefan Mahnke-Hartmann <stefan.mahnke-hartmann@infineon.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'security/keys')
0 files changed, 0 insertions, 0 deletions