blob: d198396e2283d2c4387ca566b4d84d5fa8fad015 [file] [log] [blame]
Vadim Bendeburyfffe7e72015-05-29 23:05:11 -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_IMPORT_FP_H
8#define __TPM2_IMPORT_FP_H
9
10typedef struct {
11 TPM2B_PRIVATE duplicate;
12 TPMI_DH_OBJECT parentHandle;
13 TPM2B_PUBLIC objectPublic;
14 TPMT_SYM_DEF_OBJECT symmetricAlg;
15 TPM2B_DATA encryptionKey;
16 TPM2B_ENCRYPTED_SECRET inSymSeed;
17
18} Import_In;
19
20typedef struct {
21 TPM2B_PRIVATE outPrivate;
22} Import_Out;
23
24TPM_RC TPM2_Import(
25 Import_In *in, // IN: input parameter list
26 Import_Out *out // OUT: output parameter list
27 );
28
29#endif // __TPM2_IMPORT_FP_H