Searched refs:rl_len (Results 1 – 6 of 6) sorted by relevance
/external/epid-sdk/epid/common/1.1/unittests/ |
D | file_parser-test.cc | 671 size_t rl_len = 0; in TEST_F() local 675 nullptr, &rl_len)); in TEST_F() 676 EXPECT_EQ(this->kShortPrivRl.size(), rl_len); in TEST_F() 680 size_t rl_len = this->kShortPrivRl.size(); in TEST_F() local 681 std::vector<uint8_t> rl(rl_len); in TEST_F() 687 &this->kCert, (Epid11PrivRl*)rl.data(), &rl_len)); in TEST_F() 692 (Epid11PrivRl*)rl.data(), &rl_len)); in TEST_F() 706 size_t rl_len = this->kShortPrivRl.size(); in TEST_F() local 707 std::vector<uint8_t> rl(rl_len); in TEST_F() 715 (Epid11PrivRl*)rl.data(), &rl_len)); in TEST_F() [all …]
|
/external/epid-sdk/epid/common/unittests/ |
D | file_parser-test.cc | 528 size_t rl_len = 0; in TEST_F() local 532 nullptr, &rl_len)); in TEST_F() 533 EXPECT_EQ(this->kShortPrivRl.size(), rl_len); in TEST_F() 537 size_t rl_len = this->kShortPrivRl.size(); in TEST_F() local 538 std::vector<uint8_t> rl(rl_len); in TEST_F() 543 &this->kCert, (PrivRl*)rl.data(), &rl_len)); in TEST_F() 548 (PrivRl*)rl.data(), &rl_len)); in TEST_F() 562 size_t rl_len = this->kShortPrivRl.size(); in TEST_F() local 563 std::vector<uint8_t> rl(rl_len); in TEST_F() 571 (PrivRl*)rl.data(), &rl_len)); in TEST_F() [all …]
|
/external/epid-sdk/epid/common/1.1/src/ |
D | file_parser.c | 40 size_t* rl_len, EpidFileType file_type) { in Epid11ParseRlFile() argument 51 if (!buf || !cert || !rl_len) return kEpidBadArgErr; in Epid11ParseRlFile() 113 *rl_len = buf_rl_len; in Epid11ParseRlFile() 117 if (*rl_len < buf_rl_len) return kEpidBadArgErr; in Epid11ParseRlFile() 118 *rl_len = buf_rl_len; in Epid11ParseRlFile() 122 if (0 != memcpy_S(rl, *rl_len, buf_rl, buf_rl_len)) return kEpidBadArgErr; in Epid11ParseRlFile() 173 Epid11PrivRl* rl, size_t* rl_len) { in Epid11ParsePrivRlFile() argument 174 return Epid11ParseRlFile(buf, len, cert, rl, rl_len, kPrivRlFile); in Epid11ParsePrivRlFile() 179 size_t* rl_len) { in Epid11ParseSigRlFile() argument 180 return Epid11ParseRlFile(buf, len, cert, rl, rl_len, kSigRlFile); in Epid11ParseSigRlFile() [all …]
|
/external/epid-sdk/epid/common/src/ |
D | file_parser.c | 192 size_t* rl_len, EpidFileType file_type) { in EpidParseRlFile() argument 203 if (!buf || !cert || !rl_len) return kEpidBadArgErr; in EpidParseRlFile() 261 *rl_len = buf_rl_len; in EpidParseRlFile() 265 if (*rl_len < buf_rl_len) return kEpidBadArgErr; in EpidParseRlFile() 266 *rl_len = buf_rl_len; in EpidParseRlFile() 270 if (0 != memcpy_S(rl, *rl_len, buf_rl, buf_rl_len)) return kEpidBadArgErr; in EpidParseRlFile() 321 size_t* rl_len) { in EpidParsePrivRlFile() argument 322 return EpidParseRlFile(buf, len, cert, rl, rl_len, kPrivRlFile); in EpidParsePrivRlFile() 327 size_t* rl_len) { in EpidParseSigRlFile() argument 328 return EpidParseRlFile(buf, len, cert, rl, rl_len, kSigRlFile); in EpidParseSigRlFile() [all …]
|
/external/epid-sdk/epid/common/1.1/ |
D | file_parser.h | 123 Epid11PrivRl* rl, size_t* rl_len); 169 size_t* rl_len); 214 Epid11GroupRl* rl, size_t* rl_len);
|
/external/epid-sdk/epid/common/ |
D | file_parser.h | 192 size_t* rl_len); 237 size_t* rl_len); 282 size_t* rl_len);
|