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