Home
last modified time | relevance | path

Searched refs:epid_version (Results 1 – 9 of 9) sorted by relevance

/external/epid-sdk/epid/common/src/
Dfile_parser.c97 memcmp(&cert->header.epid_version, &kEpidVersion, sizeof(kEpidVersion))) { in EpidVerifyCaCertificate()
130 EpidVersion* epid_version, in EpidParseFileHeader() argument
135 if (epid_version) { in EpidParseFileHeader()
136 if (0 == memcmp((void*)&header->epid_version, &kEpidVersionCode[kEpid1x], in EpidParseFileHeader()
137 sizeof(header->epid_version))) { in EpidParseFileHeader()
138 *epid_version = kEpid1x; in EpidParseFileHeader()
139 } else if (0 == memcmp((void*)&header->epid_version, in EpidParseFileHeader()
141 sizeof(header->epid_version))) { in EpidParseFileHeader()
142 *epid_version = kEpid2x; in EpidParseFileHeader()
145 *epid_version = kNumEpidVersions; in EpidParseFileHeader()
[all …]
/external/epid-sdk/example/verifysig/src/
Dmain.c181 EpidVersion epid_version = kNumEpidVersions; in main() local
356 &epid_version, NULL); in main()
357 if (kEpidNoErr != result || kNumEpidVersions <= epid_version) { in main()
364 if (kEpid1x == epid_version) { in main()
393 EpidVersionToString(epid_version)); in main()
436 if (kEpid2x == epid_version) { in main()
454 } else if (kEpid1x == epid_version) { in main()
468 EpidVersionToString(epid_version)); in main()
/external/epid-sdk/epid/common/unittests/
Dfile_parser-test.cc1288 EpidVersion epid_version = kNumEpidVersions; in TEST_F() local
1291 &epid_version, &file_type)); in TEST_F()
1295 EpidVersion epid_version = kNumEpidVersions; in TEST_F() local
1300 &epid_version, &file_type)); in TEST_F()
1306 EpidVersion epid_version = kEpid1x; in TEST_F() local
1309 epid_header.epid_version.data[0] = 0x00; in TEST_F()
1312 &epid_version, &file_type)); in TEST_F()
1313 EXPECT_EQ(kNumEpidVersions, epid_version); in TEST_F()
1318 EpidVersion epid_version = kNumEpidVersions; in TEST_F() local
1326 &epid_version, &file_type)); in TEST_F()
[all …]
/external/epid-sdk/epid/common/1.1/src/
Dfile_parser.c83 if (0 != memcmp(&file_header->epid_version, &kEpidVersionCode[kEpid1x], in Epid11ParseRlFile()
142 if (0 != memcmp(&buf_pubkey->header.epid_version, &kEpidVersionCode[kEpid1x], in Epid11ParseGroupPubKeyFile()
143 sizeof(buf_pubkey->header.epid_version))) { in Epid11ParseGroupPubKeyFile()
/external/epid-sdk/epid/common/
Dfile_parser.h70 OctStr16 epid_version; ///< Intel(R) EPID Version member
108 EpidVersion* epid_version,
/external/epid-sdk/tools/extractgrps/src/
Dmain.c172 if (memcmp(&kEpidVersionCode[kEpid2x], &temp.header.epid_version, in main()
173 sizeof(temp.header.epid_version)) || in main()
/external/epid-sdk/tools/revokegrp/src/
Dmain.c307 if (0 != memcmp(&request->header.epid_version, &kEpidFileVersion, in MakeRequest()
342 request->header.epid_version = kEpidFileVersion; in MakeRequest()
/external/epid-sdk/tools/revokekey/src/
Dmain.c208 req_top->header.epid_version = kEpidFileVersion; in MakeRequest()
/external/epid-sdk/tools/revokesig/src/
Dmain.c272 req_top->header.epid_version = kEpidFileVersion; in FillRequest()