]>
git.proxmox.com Git - mirror_edk2.git/blob - SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/MmTcg2PhysicalPresenceLibCommon.h
2 Handle TPM 2.0 physical presence requests from OS.
4 This library will handle TPM 2.0 physical presence request from OS.
6 Caution: This module requires additional review when modified.
7 This driver will have external input - variable.
8 This external input must be validated carefully to avoid security issue.
10 Tcg2PhysicalPresenceLibSubmitRequestToPreOSFunction() and Tcg2PhysicalPresenceLibGetUserConfirmationStatusFunction()
11 will receive untrusted input and do validation.
13 Copyright (c) 2015 - 2020, Intel Corporation. All rights reserved.<BR>
14 SPDX-License-Identifier: BSD-2-Clause-Patent
18 #ifndef _MM_TCG2_PHYSICAL_PRESENCE_LIB_COMMON_H_
19 #define _MM_TCG2_PHYSICAL_PRESENCE_LIB_COMMON_H_
22 The constructor function locates MmVariable protocol.
24 It will ASSERT() if that operation fails and it will always return EFI_SUCCESS.
26 @retval EFI_SUCCESS The constructor successfully added string package.
27 @retval Other value The constructor can't add string package.
30 Tcg2PhysicalPresenceLibCommonConstructor (