diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2015-05-29 22:51:56 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-06-03 21:18:23 +0000 |
commit | 6edc84a58b7e99d83612497afb382ffbe5c12be8 (patch) | |
tree | 951fe8a66b33cee49ab765a3a8ba027bcc2a2124 /ECC_Parameters_fp.h | |
parent | 30f6deee1b441af700835a02a33bcf3b04c7e813 (diff) | |
download | tpm2-6edc84a58b7e99d83612497afb382ffbe5c12be8.tar.gz |
Changes to allow compilation of ECC_Parameters.c
BUG=none
TEST=compilation succeeds:
cc -Wall -Werror -c -o /dev/null ECC_Parameters.c
Change-Id: I0095db985b141b02a32dece90e48ceb1dd24af57
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/274172
Reviewed-by: Utkarsh Sanghi <usanghi@chromium.org>
Diffstat (limited to 'ECC_Parameters_fp.h')
-rw-r--r-- | ECC_Parameters_fp.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ECC_Parameters_fp.h b/ECC_Parameters_fp.h new file mode 100644 index 0000000..705ad3f --- /dev/null +++ b/ECC_Parameters_fp.h @@ -0,0 +1,23 @@ +/* + * Copyright 2015 The Chromium OS Authors. All rights reserved. + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + +#ifndef __TPM2_ECC_PARAMETERS_FP_H +#define __TPM2_ECC_PARAMETERS_FP_H + +typedef struct { + TPM_ECC_CURVE curveID; +} ECC_Parameters_In; + +typedef struct { + TPMS_ALGORITHM_DETAIL_ECC parameters; +} ECC_Parameters_Out; + +TPM_RC TPM2_ECC_Parameters( + ECC_Parameters_In *in, // IN: input parameter list + ECC_Parameters_Out *out // OUT: output parameter list + ); + +#endif // __TPM2_ECC_PARAMETERS_FP_H |