Home
last modified time | relevance | path

Searched refs:Tpm2NvRead (Results 1 – 5 of 5) sorted by relevance

/external/epid-sdk/epid/member/tpm2/unittests/
Dnv-test.cc61 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()
[all …]
/external/epid-sdk/epid/member/src/
Dstorage.c42 if (kEpidNoErr != Tpm2NvRead(ctx, nv_index, 1, 0, &tmp)) { in EpidNvWriteMembershipCredential()
64 sts = Tpm2NvRead(ctx, nv_index, sizeof(*pub_key), 0, pub_key); in EpidNvReadMembershipCredential()
66 sts = Tpm2NvRead(ctx, nv_index, sizeof(*credential), sizeof(*pub_key), in EpidNvReadMembershipCredential()
/external/epid-sdk/epid/member/tpm2/
Dnv.h105 EpidStatus Tpm2NvRead(Tpm2Ctx* ctx, uint32_t nv_index, size_t size,
/external/epid-sdk/epid/member/tpm2/src/
Dnv.c84 EpidStatus Tpm2NvRead(Tpm2Ctx* ctx, uint32_t nv_index, size_t size, in Tpm2NvRead() function
/external/epid-sdk/epid/member/tpm2/ibm_tss/
Dnv.c86 EpidStatus Tpm2NvRead(Tpm2Ctx* ctx, uint32_t nv_index, size_t size, in Tpm2NvRead() function