You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
939 B
24 lines
939 B
/* |
|
* Copyright 2015 The Chromium OS Authors. All rights reserved. |
|
* Use of this source code is governed by a BSD-style license that can be |
|
* found in the LICENSE file. |
|
*/ |
|
|
|
#ifndef __TPM2_POLICY_SPT_FP_H_ |
|
#define __TPM2_POLICY_SPT_FP_H_ |
|
|
|
void PolicyContextUpdate( |
|
TPM_CC commandCode, // IN: command code |
|
TPM2B_NAME *name, // IN: name of entity |
|
TPM2B_NONCE *ref, // IN: the reference data |
|
TPM2B_DIGEST *cpHash, // IN: the cpHash (optional) |
|
UINT64 policyTimeout, |
|
SESSION *session // IN/OUT: policy session to be updated |
|
); |
|
TPM_RC PolicyParameterChecks(SESSION *session, UINT64 authTimeout, |
|
TPM2B_DIGEST *cpHashA, TPM2B_NONCE *nonce, |
|
TPM_RC nonceParameterNumber, |
|
TPM_RC cpHashParameterNumber, |
|
TPM_RC expirationParameterNumber); |
|
|
|
#endif // __TPM2_POLICY_SPT_FP_H_
|
|
|