.\" Automatically generated by Pandoc 3.5 .\" .TH "tpm2tss\-tpm2data_write" "3" "JUNE 2018" "tpm2\-tss\-engine" "Library calls" .SH NAME \f[B]tpm2tss_ecc_genkey\f[R] \[en] Make an ECC key object .SH SYNOPSIS \f[B]#include \f[R] .PP \f[B]int tpm2tss_ecc_genkey(EC_KEY \f[BI]key, TPMI_ECC_CURVE curve, const char \f[B]password);\f[R] .SH DESCRIPTION \f[B]tpm2tss_ECC_genkey\f[R] issues the generation of an ECC key \f[CR]key\f[R] using the TPM. The ECC curve is determined by \f[CR]curve\f[R]. The new key will be protected by \f[CR]password\f[R]. .SH RETURN VALUE Upon successful completion \f[B]tpm2tss_ecc_genkey\f[R]() returns 1. Otherwise 0. .SS AUTHOR Written by Andreas Fuchs. .SS COPYRIGHT tpm2tss is Copyright (C) 2018 Fraunhofer SIT sponsored by Infineon Technologies AG. License BSD 3\-clause. .SS SEE ALSO openssl(1), tpm2tss_genkey(1)