diff options
author | Yao, Jiewen <jiewen.yao@intel.com> | 2014-12-23 04:03:32 +0000 |
---|---|---|
committer | jyao1 <jyao1@Edk2> | 2014-12-23 04:03:32 +0000 |
commit | a50e58f48b310737a1027effd9f21d9aaf7f6d26 (patch) | |
tree | 082fcdc3b2c7e1042e02bdb7f69ee36fa9816478 /SecurityPkg/Include/Library | |
parent | 9da91aea69569feceb23cf502c81a32a4121d362 (diff) | |
download | edk2-platforms-a50e58f48b310737a1027effd9f21d9aaf7f6d26.tar.xz |
Add TPM2 commands which might be used in provision.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <jiewen.yao@intel.com>
Reviewed-by: "Dong, Guo" <guo.dong@intel.com>
Reviewed-by: "Long, Qin" <qin.long@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16548 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'SecurityPkg/Include/Library')
-rw-r--r-- | SecurityPkg/Include/Library/Tpm2CommandLib.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/SecurityPkg/Include/Library/Tpm2CommandLib.h b/SecurityPkg/Include/Library/Tpm2CommandLib.h index 6e406fd698..c4915496dd 100644 --- a/SecurityPkg/Include/Library/Tpm2CommandLib.h +++ b/SecurityPkg/Include/Library/Tpm2CommandLib.h @@ -873,6 +873,25 @@ Tpm2PolicySecret ( );
/**
+ This command allows options in authorizations without requiring that the TPM evaluate all of the options.
+ If a policy may be satisfied by different sets of conditions, the TPM need only evaluate one set that
+ satisfies the policy. This command will indicate that one of the required sets of conditions has been
+ satisfied.
+
+ @param[in] PolicySession Handle for the policy session being extended.
+ @param[in] HashList the list of hashes to check for a match.
+
+ @retval EFI_SUCCESS Operation completed successfully.
+ @retval EFI_DEVICE_ERROR The command was unsuccessful.
+**/
+EFI_STATUS
+EFIAPI
+Tpm2PolicyOR (
+ IN TPMI_SH_POLICY PolicySession,
+ IN TPML_DIGEST *HashList
+ );
+
+/**
This command indicates that the authorization will be limited to a specific command code.
@param[in] PolicySession Handle for the policy session being extended.
|