1 /* 2 * Copyright 2015 The Chromium OS Authors. All rights reserved. 3 * Use of this source code is governed by a BSD-style license that can be 4 * found in the LICENSE file. 5 */ 6 7 #ifndef __TPM2_POLICY_SPT_FP_H_ 8 #define __TPM2_POLICY_SPT_FP_H_ 9 10 void PolicyContextUpdate( 11 TPM_CC commandCode, // IN: command code 12 TPM2B_NAME *name, // IN: name of entity 13 TPM2B_NONCE *ref, // IN: the reference data 14 TPM2B_DIGEST *cpHash, // IN: the cpHash (optional) 15 UINT64 policyTimeout, 16 SESSION *session // IN/OUT: policy session to be updated 17 ); 18 TPM_RC PolicyParameterChecks(SESSION *session, UINT64 authTimeout, 19 TPM2B_DIGEST *cpHashA, TPM2B_NONCE *nonce, 20 TPM_RC nonceParameterNumber, 21 TPM_RC cpHashParameterNumber, 22 TPM_RC expirationParameterNumber); 23 24 #endif // __TPM2_POLICY_SPT_FP_H_ 25