Searched refs:epid_version (Results 1 – 9 of 9) sorted by relevance
/external/epid-sdk/epid/common/src/ |
D | file_parser.c | 97 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/ |
D | main.c | 181 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/ |
D | file_parser-test.cc | 1288 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/ |
D | file_parser.c | 83 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/ |
D | file_parser.h | 70 OctStr16 epid_version; ///< Intel(R) EPID Version member 108 EpidVersion* epid_version,
|
/external/epid-sdk/tools/extractgrps/src/ |
D | main.c | 172 if (memcmp(&kEpidVersionCode[kEpid2x], &temp.header.epid_version, in main() 173 sizeof(temp.header.epid_version)) || in main()
|
/external/epid-sdk/tools/revokegrp/src/ |
D | main.c | 307 if (0 != memcmp(&request->header.epid_version, &kEpidFileVersion, in MakeRequest() 342 request->header.epid_version = kEpidFileVersion; in MakeRequest()
|
/external/epid-sdk/tools/revokekey/src/ |
D | main.c | 208 req_top->header.epid_version = kEpidFileVersion; in MakeRequest()
|
/external/epid-sdk/tools/revokesig/src/ |
D | main.c | 272 req_top->header.epid_version = kEpidFileVersion; in FillRequest()
|