blob: 2243bfb1c870590c0449f9df3c0f60696f73744a [file] [log] [blame]
Vadim Bendeburybde479a2015-05-29 22:48:02 -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_CREATE_FP_H
8#define __TPM2_CREATE_FP_H
9
10typedef struct {
11 TPM2B_PUBLIC inPublic;
12 TPMI_DH_OBJECT parentHandle;
13 TPML_PCR_SELECTION creationPCR;
14 TPM2B_DATA outsideInfo;
15 TPM2B_SENSITIVE_CREATE inSensitive;
16} Create_In;
17
18typedef struct {
19 TPM2B_PUBLIC outPublic;
20 TPM2B_CREATION_DATA creationData;
21 TPM2B_DIGEST creationHash;
22 TPMT_TK_CREATION creationTicket;
23 TPM2B_PRIVATE outPrivate;
24} Create_Out;
25
26TPM_RC TPM2_Create(
27 Create_In *in, // IN: input parameter list
28 Create_Out *out // OUT: output parameter list
29 );
30
31#endif // __TPM2_CREATE_FP_H