Vadim Bendebury | fffe7e7 | 2015-05-29 23:05:11 -0700 | [diff] [blame] | 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_IMPORT_FP_H |
| 8 | #define __TPM2_IMPORT_FP_H |
| 9 | |
| 10 | typedef 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 | |
| 20 | typedef struct { |
| 21 | TPM2B_PRIVATE outPrivate; |
| 22 | } Import_Out; |
| 23 | |
| 24 | TPM_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 |