7 #ifndef IFAPI_PROFILES_H
8 #define IFAPI_PROFILES_H
13 #include "ifapi_policy_types.h"
14 #include "tss2_common.h"
15 #include "tss2_tpm2_types.h"
32 TPMI_ALG_HASH nameAlg;
33 TPMI_RSA_KEY_BITS keyBits;
35 TPMI_ECC_CURVE curveID;
36 TPMT_SYM_DEF session_symmetric;
43 UINT32 newRecoveryTime;
44 UINT32 lockoutRecovery;
45 TPMI_YES_NO ignore_ek_template;
71 const char *profilesdir,
72 const char *defaultprofile);
TSS2_RC ifapi_profiles_get(const IFAPI_PROFILES *profiles, const char *name, const IFAPI_PROFILE **profile)
Definition: ifapi_profiles.c:240
TSS2_RC ifapi_profiles_initialize_finish(IFAPI_PROFILES *profiles, IFAPI_IO *io)
Definition: ifapi_profiles.c:153
TSS2_RC ifapi_profiles_initialize_async(IFAPI_PROFILES *profiles, IFAPI_IO *io, const char *profilesdir, const char *defaultprofile)
Definition: ifapi_profiles.c:56
void ifapi_profiles_finalize(IFAPI_PROFILES *profiles)
Definition: ifapi_profiles.c:286
Definition: ifapi_io.h:17
Definition: ifapi_profiles.h:49
char * name
Definition: ifapi_profiles.h:51
struct IFAPI_PROFILE profile
Definition: ifapi_profiles.h:53
Definition: ifapi_profiles.h:19
char * srk_description
Definition: ifapi_profiles.h:23
TPMT_SYM_DEF_OBJECT sym_parameters
Definition: ifapi_profiles.h:29
TPMT_RSA_DECRYPT rsa_decrypt_scheme
Definition: ifapi_profiles.h:27
TPMI_ALG_CIPHER_MODE sym_mode
Definition: ifapi_profiles.h:28
TPMT_SIG_SCHEME rsa_signing_scheme
Definition: ifapi_profiles.h:26
TPMT_SIG_SCHEME ecc_signing_scheme
Definition: ifapi_profiles.h:25
char * srk_template
Definition: ifapi_profiles.h:21
TPML_PCR_SELECTION pcr_selection
Definition: ifapi_profiles.h:31
UINT16 sym_block_size
Definition: ifapi_profiles.h:30
char * ek_description
Definition: ifapi_profiles.h:24
char * ek_template
Definition: ifapi_profiles.h:22
TPMI_ALG_PUBLIC type
Definition: ifapi_profiles.h:20
Definition: ifapi_profiles.h:56
Definition: ifapi_policy_types.h:280