blob: 5096e91bf3f8253b0f9024d26e5f7497fbd4690a [file] [log] [blame]
Vadim Bendebury7ef58d92015-05-29 22:52:44 -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_ECDH_KEYGEN_FP_H
8#define __TPM2_ECDH_KEYGEN_FP_H
9
10typedef struct {
11 TPMI_DH_OBJECT keyHandle;
12} ECDH_KeyGen_In;
13
14typedef struct {
15 TPM2B_ECC_POINT pubPoint;
16 TPM2B_ECC_POINT zPoint;
17} ECDH_KeyGen_Out;
18
19TPM_RC TPM2_ECDH_KeyGen(
20 ECDH_KeyGen_In *in, // IN: input parameter list
21 ECDH_KeyGen_Out *out // OUT: output parameter list
22 );
23
24#endif // __TPM2_ECDH_KEYGEN_FP_H