Home
last modified time | relevance | path

Searched refs:EpidFileHeader (Results 1 – 8 of 8) sorted by relevance

/external/epid-sdk/epid/common/1.1/src/
Dfile_parser.c29 EpidFileHeader header; ///< Intel(R) EPID binary file header
45 EpidFileHeader const* file_header = (EpidFileHeader*)buf; in Epid11ParseRlFile()
47 (void const*)((unsigned char*)buf + sizeof(EpidFileHeader)); in Epid11ParseRlFile()
57 min_rl_file_size = sizeof(EpidFileHeader) + sizeof(Epid11PrivRl) - in Epid11ParseRlFile()
64 min_rl_file_size = sizeof(EpidFileHeader) + sizeof(Epid11SigRl) - in Epid11ParseRlFile()
72 min_rl_file_size = sizeof(EpidFileHeader) + sizeof(Epid11GroupRl) - in Epid11ParseRlFile()
97 buf_rl_len = len - sizeof(EpidFileHeader) - sizeof(EcdsaSignature); in Epid11ParseRlFile()
109 buf_rl_len = len - sizeof(EpidFileHeader) - sizeof(EcdsaSignature); in Epid11ParseRlFile()
/external/epid-sdk/epid/common/src/
Dfile_parser.c42 EpidFileHeader header; ///< Intel(R) EPID binary file header
132 EpidFileHeader* header = (EpidFileHeader*)buf; in EpidParseFileHeader()
133 if (!buf || len < sizeof(EpidFileHeader)) return kEpidBadArgErr; in EpidParseFileHeader()
197 EpidFileHeader const* file_header = (EpidFileHeader*)buf; in EpidParseRlFile()
199 (void const*)((unsigned char*)buf + sizeof(EpidFileHeader)); in EpidParseRlFile()
209 min_rl_file_size = sizeof(EpidFileHeader) + sizeof(PrivRl) - in EpidParseRlFile()
215 min_rl_file_size = sizeof(EpidFileHeader) + sizeof(SigRl) - in EpidParseRlFile()
221 min_rl_file_size = sizeof(EpidFileHeader) + sizeof(GroupRl) - in EpidParseRlFile()
245 buf_rl_len = len - sizeof(EpidFileHeader) - sizeof(EcdsaSignature); in EpidParseRlFile()
257 buf_rl_len = len - sizeof(EpidFileHeader) - sizeof(EcdsaSignature); in EpidParseRlFile()
/external/epid-sdk/epid/common/
Dfile_parser.h69 typedef struct EpidFileHeader { struct
72 } EpidFileHeader; argument
76 EpidFileHeader header; ///< Intel(R) EPID binary file header
/external/epid-sdk/tools/revokegrp/src/
Dmain.c40 (sizeof(EpidFileHeader) + sizeof(GroupPubKey) + sizeof(EcdsaSignature))
56 EpidFileHeader header; ///< Intel(R) EPID File Header
272 req_size = sizeof(EpidFileHeader) + sizeof(uint32_t); in MakeRequest()
324 req_file_size - sizeof(EpidFileHeader) - sizeof(uint32_t)) { in MakeRequest()
/external/epid-sdk/tools/revokekey/src/
Dmain.c46 EpidFileHeader header; ///< Intel(R) EPID File Header
129 size_t entry_size = sizeof(EpidFileHeader) + sizeof(PrivKey); in MakeRequest()
193 if (0 == memcmp(req_buf + entry_size * i + sizeof(EpidFileHeader), in MakeRequest()
/external/epid-sdk/tools/revokesig/src/
Dmain.c38 (sizeof(EpidFileHeader) + sizeof(GroupPubKey) + sizeof(EcdsaSignature))
45 EpidFileHeader header; ///< Intel(R) EPID File Header
308 size_t req_extra_space = (sizeof(EpidFileHeader) + sizeof(GroupId)); in MakeRequest()
/external/epid-sdk/epid/common/unittests/
Dfile_parser-test.cc1290 EXPECT_EQ(kEpidBadArgErr, EpidParseFileHeader(nullptr, sizeof(EpidFileHeader), in TEST_F()
1297 EpidFileHeader epid_header = this->kCert.header; in TEST_F()
1308 EpidFileHeader epid_header = this->kCert.header; in TEST_F()
1322 EpidFileHeader epid_header = this->kCert.header; in TEST_F()
1334 EpidFileHeader epid_header = this->kCert.header; in TEST_F()
1353 EpidFileHeader epid_header = this->kCert.header; in TEST_F()
1360 EpidFileHeader epid_header2 = {0x01, 0x00, 0x00, 0x0B}; in TEST_F()
/external/epid-sdk/tools/extractgrps/src/
Dmain.c42 EpidFileHeader header; ///< Intel(R) EPID binary file header