123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- #ifndef EPID_MEMBER_TPM2_CONTEXT_H_
- #define EPID_MEMBER_TPM2_CONTEXT_H_
- #include "epid/common/bitsupplier.h"
- #include "epid/common/errors.h"
- #include "epid/common/types.h"
- typedef struct Tpm2Ctx Tpm2Ctx;
- typedef struct FpElemStr FpElemStr;
- typedef struct Epid2Params_ Epid2Params_;
- typedef struct MemberParams MemberParams;
- EpidStatus Tpm2CreateContext(MemberParams const* params,
- Epid2Params_ const* epid2_params,
- BitSupplier* rnd_func, void** rnd_param,
- const FpElemStr** f, Tpm2Ctx** ctx);
- void Tpm2DeleteContext(Tpm2Ctx** ctx);
- EpidStatus Tpm2SetHashAlg(Tpm2Ctx* ctx, HashAlg hash_alg);
- void Tpm2ResetContext(Tpm2Ctx** ctx);
- #endif
|