blob: 0a40de31c42e261f62f49a956d310c95c12d242d [file] [log] [blame]
Vadim Bendebury6bb41ff2015-05-29 22:43:25 -07001/*
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
10typedef 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
17typedef struct {
18 TPM2B_ECC_POINT E;
19 TPM2B_ECC_POINT K;
20 TPM2B_ECC_POINT L;
21 UINT16 counter;
22} Commit_Out;
23
24TPM_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