Vadim Bendebury | 3743ac1 | 2015-05-29 22:44:14 -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_CONTEXTLOAD_FP_H |
| 8 | #define __TPM2_CONTEXTLOAD_FP_H |
| 9 | |
Vadim Bendebury | f788ffb | 2015-06-05 12:57:27 -0700 | [diff] [blame^] | 10 | typedef struct { TPMS_CONTEXT context; } ContextLoad_In; |
Vadim Bendebury | 3743ac1 | 2015-05-29 22:44:14 -0700 | [diff] [blame] | 11 | |
Vadim Bendebury | f788ffb | 2015-06-05 12:57:27 -0700 | [diff] [blame^] | 12 | typedef struct { TPMI_DH_OBJECT loadedHandle; } ContextLoad_Out; |
Vadim Bendebury | 3743ac1 | 2015-05-29 22:44:14 -0700 | [diff] [blame] | 13 | |
Vadim Bendebury | f788ffb | 2015-06-05 12:57:27 -0700 | [diff] [blame^] | 14 | TPM_RC TPM2_ContextLoad(ContextLoad_In *in, // IN: input parameter list |
| 15 | ContextLoad_Out *out // OUT: output parameter list |
Vadim Bendebury | 3743ac1 | 2015-05-29 22:44:14 -0700 | [diff] [blame] | 16 | ); |
Vadim Bendebury | f788ffb | 2015-06-05 12:57:27 -0700 | [diff] [blame^] | 17 | |
| 18 | #endif // __TPM2_CONTEXTLOAD_FP_H |