Home | History | Annotate | Download | only in unittests

Lines Matching refs:tpm

42   Tpm2CtxObj tpm(&Prng::Generate, &my_prng, nullptr, epid2params);
53 tpm, nullptr, &credential, nv_index));
55 EpidNvWriteMembershipCredential(tpm, &pub_key, nullptr, nv_index));
57 Tpm2NvUndefineSpace(tpm, nv_index);
63 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, nullptr, epid2params);
72 tpm, nv_index, &pub_key, &credential));
78 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, nullptr, epid2params);
87 EXPECT_EQ(kEpidNoErr, EpidNvWriteMembershipCredential(tpm, &pub_key,
93 tpm, nv_index, nullptr, &credential));
95 EpidNvReadMembershipCredential(tpm, nv_index, &pub_key, nullptr));
97 Tpm2NvUndefineSpace(tpm, nv_index);
103 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, nullptr, epid2params);
114 tpm, &pub_key, &credential_expected, nv_index));
117 EXPECT_EQ(kEpidNoErr, EpidNvReadMembershipCredential(tpm, nv_index, &pub_key,
123 Tpm2NvUndefineSpace(tpm, nv_index);