TPM context implementation. More...
#include "epid/member/tpm2/context.h"#include <tss2/TPM_Types.h>#include <tss2/tss.h>#include "epid/common/math/finitefield.h"#include "epid/common/src/epid2params.h"#include "epid/common/src/memory.h"#include "epid/member/tpm2/getrandom.h"#include "epid/member/tpm2/ibm_tss/printtss.h"#include "epid/member/tpm2/ibm_tss/state.h"#include "epid/member/tpm_member.h"Macros | |
| #define | BREAK_ON_EPID_ERROR(ret) |
| Handle Intel(R) EPID Error with Break. More... | |
Functions | |
| void | Tpm2FlushKey (Tpm2Ctx *ctx) |
| Deletes key from TPM. More... | |
| 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... | |
Variables | |
| bool | is_context_already_created = false |
| Flag that indicates that context was already created. | |
TPM context implementation.
| #define BREAK_ON_EPID_ERROR | ( | ret | ) |
Handle Intel(R) EPID Error with Break.
| void Tpm2FlushKey | ( | Tpm2Ctx * | ctx | ) |