Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

tpm2tss_ecc_getappdata, tpm2tss_ecc_setappdata – Make an ECC key object

Description

tpm2tss_ecc_getappdatatpm2tss_ecc_setappdata

Name

tpm2tss_ecc_getappdata, tpm2tss_ecc_setappdata – Make an ECC key object

Return Value

       Upon successful completion tpm2tss_ecc_getappdata() and tpm2tss_ecc_setappdata() return 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>

       **TPM2_DATA * tpm2tss_ecc_getappdata(const EC_KEY *key);**

       inttpm2tss_ecc_setappdata(EC_KEYkey,TPM2_DATAdata);

See Also