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