blob: b61153c7e21855e3991715b286043b467a53d29d [file] [log] [blame]
Vadim Bendebury3fdbac82015-05-26 15:57:53 -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_EC_EPHEMERAL_FP_H
8#define __TPM2_EC_EPHEMERAL_FP_H
9
10typedef struct {
11 TPM_ECC_CURVE curveID;
12} EC_Ephemeral_In;
13
14typedef struct {
15 UINT16 counter;
16 TPM2B_ECC_POINT Q;
17} EC_Ephemeral_Out;
18
19TPM_RC TPM2_EC_Ephemeral(
20 EC_Ephemeral_In *in, // IN: input parameter list
21 EC_Ephemeral_Out *out // OUT: output parameter list
22 );
23
24#endif // __TPM2_EC_EPHEMERAL_FP_H