Lines Matching refs:tpm
50 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, &this->kMemberFValue, epid2params); in TEST_F() local
51 THROW_ON_EPIDERR(Tpm2SetHashAlg(tpm, kSha256)); in TEST_F()
52 THROW_ON_EPIDERR(Tpm2LoadExternal(tpm, &this->kMemberFValue)); in TEST_F()
55 Tpm2Commit(tpm, p1, this->kS2Sha256.data(), this->kS2Sha256.size(), in TEST_F()
57 THROW_ON_EPIDERR(Tpm2ReleaseCounter(tpm, counter)); in TEST_F()
94 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, &this->kMemberFValue, epid2params); in TEST_F() local
95 THROW_ON_EPIDERR(Tpm2SetHashAlg(tpm, kSha384)); in TEST_F()
96 THROW_ON_EPIDERR(Tpm2LoadExternal(tpm, &this->kMemberFValue)); in TEST_F()
99 Tpm2Commit(tpm, p1, this->kS2Sha384.data(), this->kS2Sha384.size(), in TEST_F()
101 THROW_ON_EPIDERR(Tpm2ReleaseCounter(tpm, counter)); in TEST_F()
139 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, &this->kMemberFValue, epid2params); in TEST_F() local
140 THROW_ON_EPIDERR(Tpm2SetHashAlg(tpm, kSha512)); in TEST_F()
141 THROW_ON_EPIDERR(Tpm2LoadExternal(tpm, &this->kMemberFValue)); in TEST_F()
144 Tpm2Commit(tpm, p1, this->kS2Sha512.data(), this->kS2Sha512.size(), in TEST_F()
146 THROW_ON_EPIDERR(Tpm2ReleaseCounter(tpm, counter)); in TEST_F()
184 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, &this->kMemberFValue, epid2params); in TEST_F() local
185 THROW_ON_EPIDERR(Tpm2SetHashAlg(tpm, kSha512_256)); in TEST_F()
186 THROW_ON_EPIDERR(Tpm2LoadExternal(tpm, &this->kMemberFValue)); in TEST_F()
189 Tpm2Commit(tpm, p1, this->kS2Sha512256.data(), in TEST_F()
191 THROW_ON_EPIDERR(Tpm2ReleaseCounter(tpm, counter)); in TEST_F()
229 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, &this->kMemberFValue, epid2params); in TEST_F() local
230 THROW_ON_EPIDERR(Tpm2SetHashAlg(tpm, kSha512)); in TEST_F()
231 THROW_ON_EPIDERR(Tpm2LoadExternal(tpm, &this->kMemberFValue)); in TEST_F()
234 Tpm2Commit(tpm, p1, nullptr, 0, nullptr, k, l, e, &counter)); in TEST_F()
235 THROW_ON_EPIDERR(Tpm2ReleaseCounter(tpm, counter)); in TEST_F()
265 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, &this->kMemberFValue, epid2params); in TEST_F() local
266 THROW_ON_EPIDERR(Tpm2SetHashAlg(tpm, kSha512)); in TEST_F()
267 THROW_ON_EPIDERR(Tpm2LoadExternal(tpm, &this->kMemberFValue)); in TEST_F()
269 EXPECT_EQ(kEpidNoErr, Tpm2Commit(tpm, nullptr, nullptr, 0, nullptr, nullptr, in TEST_F()
271 THROW_ON_EPIDERR(Tpm2ReleaseCounter(tpm, counter)); in TEST_F()