Lines Matching refs:Tpm2NvRead
61 if (kEpidNoErr != Tpm2NvRead(tpm, nv_index, sizeof(data), 0, &data)) { in TEST()
70 EXPECT_EQ(kEpidNoErr, Tpm2NvRead(tpm, nv_index, sizeof(data), 0, &data)); in TEST()
96 Tpm2NvRead(tpm, nv_index, data1_dst.size(), 0, data1_dst.data())); in TEST()
100 Tpm2NvRead(tpm, nv_index, data2_dst.size(), in TEST()
151 EXPECT_EQ(kEpidBadArgErr, Tpm2NvRead(tpm, nv_index, sizeof(data), 0, &data)); in TEST()
249 Tpm2NvRead(nullptr, nv_index, sizeof(data), 0, &data)); in TEST()
251 Tpm2NvRead(tpm, nv_index, sizeof(data), 0, nullptr)); in TEST()
266 EXPECT_EQ(kEpidNoErr, Tpm2NvRead(tpm, nv_index, 3, 0, data_dst.data())); in TEST()
267 EXPECT_EQ(kEpidNoErr, Tpm2NvRead(tpm, nv_index, data_src.size() - 3, 3, in TEST()
282 EXPECT_EQ(kEpidBadArgErr, Tpm2NvRead(tpm, nv_index, sizeof(data), 0, &data)); in TEST()
295 EXPECT_EQ(kEpidBadArgErr, Tpm2NvRead(tpm, nv_index, sizeof(data), 1, &data)); in TEST()
297 Tpm2NvRead(tpm, nv_index, sizeof(data) + 1, 0, &data)); in TEST()
299 Tpm2NvRead(tpm, nv_index, 1, sizeof(MembershipCredential), &data)); in TEST()
312 EXPECT_EQ(kEpidBadArgErr, Tpm2NvRead(tpm, nv_index, 0, 0, &data)); in TEST()
323 EXPECT_EQ(kEpidBadArgErr, Tpm2NvRead(tpm, nv_index, 1, 0, &data)); in TEST()