blob: fb59885a72221a191cc77b7ea00eba3ed5008206 [file] [log] [blame]
Vadim Bendebury7b722a02015-05-29 22:40:54 -07001/*
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_CERTIFYCREATION_FP_H
8#define __TPM2_CERTIFYCREATION_FP_H
9
10typedef struct {
11 TPM2B_DIGEST creationHash;
12 TPMT_TK_CREATION creationTicket;
13 TPMT_SIG_SCHEME inScheme;
14 TPMI_DH_OBJECT objectHandle;
15 TPM2B_DATA qualifyingData;
16 TPMI_DH_OBJECT signHandle;
17} CertifyCreation_In;
18
19typedef struct {
20 TPM2B_ATTEST certifyInfo;
21 TPMT_SIGNATURE signature;
22} CertifyCreation_Out;
23
24TPM_RC TPM2_CertifyCreation(
25 CertifyCreation_In *in, // IN: input parameter list
26 CertifyCreation_Out *out // OUT: output parameter list
27);
28
29#endif // __TPM2_CERTIFYCREATION_FP_H