logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

tpm2tss_ecc_genkey – Make an ECC key object

Description

tpm2tss_ECC_genkey issues the generation of an ECC key key using the TPM.  The ECC curve is determined by
       curve.  The new key will be protected by password.

Name

tpm2tss_ecc_genkey – Make an ECC key object

Return Value

       Upon successful completion tpm2tss_ecc_genkey() returns 1.  Otherwise 0.

   AUTHOR
       Written by Andreas Fuchs.

   COPYRIGHT
       tpm2tss  is  Copyright  (C)  2018  Fraunhofer  SIT  sponsored  by  Infineon Technologies AG.  License BSD
       3-clause.

   SEEALSOopenssl(1), tpm2tss_genkey(1)

tpm2-tss-engine                                     JUNE 2018                          tpm2tss-tpm2data_write(3)

Synopsis

#include<tpm2tss.h>inttpm2tss_ecc_genkey(EC_KEYkey,TPMI_ECC_CURVEcurve,constcharpassword);

See Also