Vadim Bendebury | f7ee38d | 2015-05-29 22:45:03 -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_CONTEXTSAVE_FP_H |
| 8 | #define __TPM2_CONTEXTSAVE_FP_H |
| 9 | |
| 10 | typedef struct { |
| 11 | TPMI_DH_OBJECT saveHandle; |
| 12 | } ContextSave_In; |
| 13 | |
| 14 | typedef struct { |
| 15 | TPMS_CONTEXT context; |
| 16 | } ContextSave_Out; |
| 17 | |
| 18 | TPM_RC TPM2_ContextSave( |
| 19 | ContextSave_In *in, // IN: input parameter list |
| 20 | ContextSave_Out *out // OUT: output parameter list |
| 21 | ); |
| 22 | |
| 23 | #endif // __TPM2_CONTEXTSAVE_FP_H |