Vadim Bendebury | 762a65d | 2015-05-29 23:07:01 -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_LOADEXTERNAL_FP_H |
| 8 | #define __TPM2_LOADEXTERNAL_FP_H |
| 9 | |
| 10 | typedef struct { |
Vadim Bendebury | f788ffb | 2015-06-05 12:57:27 -0700 | [diff] [blame^] | 11 | TPMI_RH_HIERARCHY hierarchy; |
| 12 | TPM2B_PUBLIC inPublic; |
| 13 | TPM2B_SENSITIVE inPrivate; |
Vadim Bendebury | 762a65d | 2015-05-29 23:07:01 -0700 | [diff] [blame] | 14 | } LoadExternal_In; |
| 15 | |
| 16 | typedef struct { |
Vadim Bendebury | f788ffb | 2015-06-05 12:57:27 -0700 | [diff] [blame^] | 17 | TPM2B_NAME name; |
| 18 | TPMI_DH_OBJECT objectHandle; |
Vadim Bendebury | 762a65d | 2015-05-29 23:07:01 -0700 | [diff] [blame] | 19 | } LoadExternal_Out; |
| 20 | |
Vadim Bendebury | f788ffb | 2015-06-05 12:57:27 -0700 | [diff] [blame^] | 21 | TPM_RC TPM2_LoadExternal(LoadExternal_In *in, // IN: input parameter list |
| 22 | LoadExternal_Out *out // OUT: output parameter list |
Vadim Bendebury | 762a65d | 2015-05-29 23:07:01 -0700 | [diff] [blame] | 23 | ); |
| 24 | |
Vadim Bendebury | f788ffb | 2015-06-05 12:57:27 -0700 | [diff] [blame^] | 25 | #endif // __TPM2_LOADEXTERNAL_FP_H |