Home
last modified time | relevance | path

Searched refs:Tpm2CtxObj (Results 1 – 15 of 15) sorted by relevance

/external/epid-sdk/epid/member/tpm2/unittests/
Dtpm2_wrapper-testhelper.h33 class Tpm2CtxObj {
36 Tpm2CtxObj(BitSupplier rnd_func, void* rnd_param, const FpElemStr* f,
41 Tpm2CtxObj(const Tpm2CtxObj&) = delete;
42 Tpm2CtxObj& operator=(const Tpm2CtxObj&) = delete;
45 ~Tpm2CtxObj();
Dtpm2_wrapper-testhelper.cc36 Tpm2CtxObj::Tpm2CtxObj(BitSupplier rnd_func, void* rnd_param, in Tpm2CtxObj() function in Tpm2CtxObj
55 Tpm2CtxObj::~Tpm2CtxObj() { Tpm2DeleteContext(&ctx_); } in ~Tpm2CtxObj()
57 Tpm2Ctx* Tpm2CtxObj::ctx() const { return ctx_; } in ctx()
59 Tpm2CtxObj::operator Tpm2Ctx*() const { return ctx_; } in operator Tpm2Ctx*()
61 Tpm2CtxObj::operator const Tpm2Ctx*() const { return ctx_; } in operator const Tpm2Ctx*()
Dnv-test.cc42 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, nullptr, epid2params); in TEST()
78 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, nullptr, epid2params); in TEST()
117 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, nullptr, epid2params); in TEST()
127 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, nullptr, epid2params); in TEST()
146 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, nullptr, epid2params); in TEST()
157 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, nullptr, epid2params); in TEST()
170 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, nullptr, epid2params); in TEST()
186 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, nullptr, epid2params); in TEST()
200 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, nullptr, epid2params); in TEST()
217 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, nullptr, epid2params); in TEST()
[all …]
Dcommit-test.cc48 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, &this->kMemberFValue, epid2params); in TEST_F()
85 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, &this->kMemberFValue, epid2params); in TEST_F()
106 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, NULL, epid2params); in TEST_F()
125 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, &this->kMemberFValue, epid2params); in TEST_F()
145 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, &this->kMemberFValue, epid2params); in TEST_F()
162 Tpm2CtxObj tpm(&Prng::Generate, &prng, &f_str, epid2params); in TEST_F()
183 Tpm2CtxObj tpm(&Prng::Generate, &prng, &f_str, epid2params); in TEST_F()
212 Tpm2CtxObj tpm(&Prng::Generate, &prng, &f_str, epid2params); in TEST_F()
234 Tpm2CtxObj tpm(&Prng::Generate, &prng, &f_str, epid2params); in TEST_F()
265 Tpm2CtxObj tpm(&Prng::Generate, &prng, &f_str, epid2params); in TEST_F()
[all …]
Dload_external-simulator-test.cc38 Tpm2CtxObj ctx(&Prng::Generate, &my_prng, &f_str, epid2params); in TEST_F()
46 Tpm2CtxObj ctx(&Prng::Generate, &my_prng, &f_str, epid2params); in TEST_F()
54 Tpm2CtxObj ctx(&Prng::Generate, &my_prng, &f_str, epid2params); in TEST_F()
Dload_external-test.cc36 Tpm2CtxObj ctx(&Prng::Generate, &my_prng, &f_str, epid2params); in TEST_F()
47 Tpm2CtxObj ctx(&Prng::Generate, &my_prng, &f_str, epid2params); in TEST_F()
56 Tpm2CtxObj ctx(&Prng::Generate, &my_prng, &f_str, epid2params); in TEST_F()
Dsign-test.cc85 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, &f, epid2params); in TEST_F()
119 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, &f, epid2params); in TEST_F()
164 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, &this->kMemberFValue, epid2params); in TEST_F()
188 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, &this->kMemberFValue, epid2params); in TEST_F()
215 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, &this->kMemberFValue, epid2params); in TEST_F()
247 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, &this->kMemberFValue, epid2params); in TEST_F()
269 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, nullptr, epid2params); in TEST_F()
283 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, &f, epid2params); in TEST_F()
295 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, &f, epid2params); in TEST_F()
Dgetrandom-test.cc39 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, nullptr, epid2params); in TEST_F()
47 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, nullptr, epid2params); in TEST_F()
59 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, nullptr, epid2params); in TEST_F()
Dcreateprimary-test.cc34 Tpm2CtxObj tss(nullptr, nullptr, nullptr, epid2params); in TEST_F()
42 Tpm2CtxObj tss(Prng::Generate, &prng, nullptr, epid2params); in TEST_F()
Dcommit-simulator-test.cc50 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, &this->kMemberFValue, epid2params); in TEST_F()
94 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, &this->kMemberFValue, epid2params); in TEST_F()
139 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, &this->kMemberFValue, epid2params); in TEST_F()
184 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, &this->kMemberFValue, epid2params); in TEST_F()
229 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, &this->kMemberFValue, epid2params); in TEST_F()
265 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, &this->kMemberFValue, epid2params); in TEST_F()
Dgetrandom-simulator-test.cc47 Tpm2CtxObj tpm2(&Prng::Generate, &my_prng, NULL, epid2params); in TEST_F()
Dgetrandom-tss-test.cc35 Tpm2CtxObj tss(nullptr, nullptr, nullptr, epid2params); in TEST_F()
Dsign-simulator-test.cc45 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, &this->kMemberFValue, epid2params); in TEST_F()
/external/epid-sdk/epid/member/unittests/
Dstorage-test.cc42 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, nullptr, epid2params); in TEST_F()
63 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, nullptr, epid2params); in TEST_F()
78 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, nullptr, epid2params); in TEST_F()
103 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, nullptr, epid2params); in TEST_F()
Dcontext-test.cc599 Tpm2CtxObj tpm(&Prng::Generate, &prng, nullptr, epid2params); in TEST_F()