audk/SecurityPkg/Library/Tpm12DeviceLibDTpm
Gerd Hoffmann d6b42ed7ed SecurityPkg: add TIS sanity check (tpm12)
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 PtpInterfaceTis in case it matches, PtpInterfaceMax 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
..
Tpm12DeviceLibDTpm.inf
Tpm12DeviceLibDTpm.uni
Tpm12Tis.c SecurityPkg: add TIS sanity check (tpm12) 2023-05-02 15:43:32 +00:00