context.h File Reference

SDK TPM API. More...

Functions

EpidStatus Tpm2CreateContext (MemberParams const *params, Epid2Params_ const *epid2_params, BitSupplier *rnd_func, void **rnd_param, const FpElemStr **f, Tpm2Ctx **ctx)
 Creates a new Tpm context. More...
 
void Tpm2DeleteContext (Tpm2Ctx **ctx)
 Deletes an existing Tpm context. More...
 
EpidStatus Tpm2SetHashAlg (Tpm2Ctx *ctx, HashAlg hash_alg)
 Sets the hash algorithm to be used by a TPM2. More...
 
void Tpm2ResetContext (Tpm2Ctx **ctx)
 Reset an existing Tpm context. More...
 

Detailed Description

SDK TPM API.