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_ATTEST_SPT_FP_H
8 #define __TPM2_ATTEST_SPT_FP_H
9 TPM_RC FillInAttestInfo(
10     TPMI_DH_OBJECT signHandle,  //   IN: handle of signing object
11     TPMT_SIG_SCHEME *scheme,    //   IN/OUT: scheme to be used for signing
12     TPM2B_DATA *data,           //   IN: qualifying data
13     TPMS_ATTEST *attest         //   OUT: attest structure
14     );
15 TPM_RC SignAttestInfo(
16     TPMI_DH_OBJECT signHandle,   //   IN: handle of sign object
17     TPMT_SIG_SCHEME *scheme,     //   IN: sign scheme
18     TPMS_ATTEST *certifyInfo,    //   IN: the data to be signed
19     TPM2B_DATA *qualifyingData,  //   IN: extra data for the signing proce
20     TPM2B_ATTEST *attest,        //   OUT: marshaled attest blob to be signed
21     TPMT_SIGNATURE *signature    //   OUT: signature
22     );
23 #endif  // __TPM2_ATTEST_SPT_FP_H
24