audk/SecurityPkg/Library/Tpm2DeviceLibDTpm
Gerd Hoffmann 832fbc6e32 SecurityPkg: add TIS sanity check (tpm2)
The code blindly assumes a TIS interface is present in case both CRB and
FIFO checks fail.  Check the InterfaceType for TIS instead and only
return Tpm2PtpInterfaceTis in case it matches, Tpm2PtpInterfaceMax
otherwise.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
2023-05-02 15:43:32 +00:00
..
Tpm2DeviceLibDTpm.c SecurityPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Tpm2DeviceLibDTpm.h SecurityPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Tpm2DeviceLibDTpm.inf SecurityPkg: Tpm2DeviceLibDTpm: Introduce StandaloneMm instance 2021-02-01 10:03:35 -08:00
Tpm2DeviceLibDTpm.uni
Tpm2DeviceLibDTpmBase.c SecurityPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Tpm2DeviceLibDTpmStandaloneMm.c SecurityPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Tpm2DeviceLibDTpmStandaloneMm.inf SecurityPkg: Tpm2DeviceLibDTpm: Introduce StandaloneMm instance 2021-02-01 10:03:35 -08:00
Tpm2InstanceLibDTpm.c SecurityPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Tpm2InstanceLibDTpm.inf SecurityPkg: Tpm2DeviceLibDTpm: Introduce StandaloneMm instance 2021-02-01 10:03:35 -08:00
Tpm2InstanceLibDTpm.uni
Tpm2Ptp.c SecurityPkg: add TIS sanity check (tpm2) 2023-05-02 15:43:32 +00:00
Tpm2Tis.c SecurityPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00