Vadim Bendebury | 6bb41ff | 2015-05-29 22:43:25 -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_COMMIT_FP_H |
| 8 | #define __TPM2_COMMIT_FP_H |
| 9 | |
| 10 | typedef struct { |
| 11 | TPM2B_ECC_PARAMETER s2; |
| 12 | TPM2B_ECC_PARAMETER y2; |
| 13 | TPM2B_ECC_POINT P1; |
| 14 | TPMI_DH_OBJECT signHandle; |
| 15 | } Commit_In; |
| 16 | |
| 17 | typedef struct { |
| 18 | TPM2B_ECC_POINT E; |
| 19 | TPM2B_ECC_POINT K; |
| 20 | TPM2B_ECC_POINT L; |
| 21 | UINT16 counter; |
| 22 | } Commit_Out; |
| 23 | |
| 24 | TPM_RC TPM2_Commit( |
| 25 | Commit_In *in, // IN: input parameter list |
| 26 | Commit_Out *out // OUT: output parameter list |
| 27 | ); |
| 28 | |
| 29 | #endif // __TPM2_COMMIT_FP_H |