/external/epid-sdk/epid/common/1.1/ |
file_parser.h | 106 The extracted revocation list. If Null, rl_len is filled with 109 \param[in,out] rl_len 123 Epid11PrivRl* rl, size_t* rl_len); 152 The extracted revocation list. If Null, rl_len is filled with 155 \param[in,out] rl_len 169 size_t* rl_len); 197 The extracted revocation list. If Null, rl_len is filled with 200 \param[in,out] rl_len 214 Epid11GroupRl* rl, size_t* rl_len);
|
/external/epid-sdk/epid/common/1.1/src/ |
file_parser.c | 40 size_t* rl_len, EpidFileType file_type) { 51 if (!buf || !cert || !rl_len) return kEpidBadArgErr; 113 *rl_len = buf_rl_len; 117 if (*rl_len < buf_rl_len) return kEpidBadArgErr; 118 *rl_len = buf_rl_len; 122 if (0 != memcpy_S(rl, *rl_len, buf_rl, buf_rl_len)) return kEpidBadArgErr; 173 Epid11PrivRl* rl, size_t* rl_len) { 174 return Epid11ParseRlFile(buf, len, cert, rl, rl_len, kPrivRlFile); 179 size_t* rl_len) { 180 return Epid11ParseRlFile(buf, len, cert, rl, rl_len, kSigRlFile) [all...] |
/external/epid-sdk/epid/common/ |
file_parser.h | 175 The extracted revocation list. If Null, rl_len is filled with 178 \param[in,out] rl_len 192 size_t* rl_len); 220 The extracted revocation list. If Null, rl_len is filled with 223 \param[in,out] rl_len 237 size_t* rl_len); 265 The extracted revocation list. If Null, rl_len is filled with 268 \param[in,out] rl_len 282 size_t* rl_len);
|
/external/epid-sdk/epid/common/1.1/unittests/ |
file_parser-test.cc | 671 size_t rl_len = 0; local 680 size_t rl_len = this->kShortPrivRl.size(); local 706 size_t rl_len = this->kShortPrivRl.size(); local 759 size_t rl_len = this->kShortPrivRl.size(); local 790 size_t rl_len = this->kEmptyPrivRl.size(); local 809 size_t rl_len = this->kShortPrivRl.size(); local 819 size_t rl_len = this->kShortPrivRl.size(); local 832 size_t rl_len = this->kEmptyPrivRl.size(); local 843 size_t rl_len = this->kShortPrivRl.size(); local 891 size_t rl_len = long_privrl_file.size() - 68; local 905 size_t rl_len = this->kShortPrivRl.size(); local 918 size_t rl_len = this->kShortPrivRl.size() - 1; local 928 size_t rl_len = this->kShortPrivRl.size() + 1; local 942 size_t rl_len = 0; local 951 size_t rl_len = this->kShortSigRl.size(); local 971 size_t rl_len = this->kShortSigRl.size(); local 1018 size_t rl_len = this->kShortSigRl.size(); local 1046 size_t rl_len = this->kEmptySigRl.size(); local 1063 size_t rl_len = this->kShortPrivRl.size(); local 1072 size_t rl_len = this->kShortSigRl.size(); local 1083 size_t rl_len = this->kEmptySigRl.size(); local 1093 size_t rl_len = this->kShortSigRl.size(); local 1143 size_t rl_len = long_sigrl_file.size() - sizeof(signature) - 4; local 1157 size_t rl_len = this->kShortSigRl.size(); local 1169 size_t rl_len = this->kShortSigRl.size() - 1; local 1179 size_t rl_len = this->kShortSigRl.size() + 1; local 1193 size_t rl_len = 0; local 1202 size_t rl_len = this->kShortGroupRl.size(); local 1222 size_t rl_len = this->kShortGroupRl.size(); local 1269 size_t rl_len = this->kShortGroupRl.size(); local 1297 size_t rl_len = this->kEmptyGroupRl.size(); local 1316 size_t rl_len = this->kShortPrivRl.size(); local 1325 size_t rl_len = this->kShortGroupRl.size(); local 1336 size_t rl_len = this->kEmptyGroupRl.size(); local 1346 size_t rl_len = this->kShortGroupRl.size(); local 1387 size_t rl_len = long_grouprl_file.size() - sizeof(signature) - 4; local 1401 size_t rl_len = this->kShortGroupRl.size(); local 1413 size_t rl_len = this->kShortGroupRl.size() - 1; local 1423 size_t rl_len = this->kShortGroupRl.size() + 1; local [all...] |
/external/epid-sdk/epid/common/unittests/ |
file_parser-test.cc | 528 size_t rl_len = 0; local 532 nullptr, &rl_len)); 533 EXPECT_EQ(this->kShortPrivRl.size(), rl_len); 537 size_t rl_len = this->kShortPrivRl.size(); local 538 std::vector<uint8_t> rl(rl_len); 543 &this->kCert, (PrivRl*)rl.data(), &rl_len)); 562 size_t rl_len = this->kShortPrivRl.size(); local 615 size_t rl_len = this->kShortPrivRl.size(); local 646 size_t rl_len = this->kEmptyPrivRl.size(); local 659 size_t rl_len = this->kShortPrivRl.size(); local 669 size_t rl_len = this->kShortPrivRl.size(); local 682 size_t rl_len = this->kEmptyPrivRl.size(); local 693 size_t rl_len = this->kShortPrivRl.size(); local 741 size_t rl_len = long_privrl_file.size() - 68; local 755 size_t rl_len = this->kShortPrivRl.size(); local 767 size_t rl_len = this->kShortPrivRl.size() - 1; local 777 size_t rl_len = this->kShortPrivRl.size() + 1; local 792 size_t rl_len = 0; local 800 size_t rl_len = this->kShortSigRl.size(); local 820 size_t rl_len = this->kShortSigRl.size(); local 867 size_t rl_len = this->kShortSigRl.size(); local 894 size_t rl_len = this->kEmptySigRl.size(); local 910 size_t rl_len = this->kShortPrivRl.size(); local 919 size_t rl_len = this->kShortSigRl.size(); local 930 size_t rl_len = this->kEmptySigRl.size(); local 940 size_t rl_len = this->kShortSigRl.size(); local 994 size_t rl_len = long_sigrl_file.size() - sizeof(signature) - 4; local 1008 size_t rl_len = this->kShortSigRl.size(); local 1020 size_t rl_len = this->kShortSigRl.size() - 1; local 1030 size_t rl_len = this->kShortSigRl.size() + 1; local 1045 size_t rl_len = 0; local 1054 size_t rl_len = this->kShortGroupRl.size(); local 1074 size_t rl_len = this->kShortGroupRl.size(); local 1121 size_t rl_len = this->kShortGroupRl.size(); local 1149 size_t rl_len = this->kEmptyGroupRl.size(); local 1165 size_t rl_len = this->kShortPrivRl.size(); local 1174 size_t rl_len = this->kShortGroupRl.size(); local 1185 size_t rl_len = this->kEmptyGroupRl.size(); local 1195 size_t rl_len = this->kShortGroupRl.size(); local 1237 size_t rl_len = long_grouprl_file.size() - sizeof(signature) - 4; local 1251 size_t rl_len = this->kShortGroupRl.size(); local 1263 size_t rl_len = this->kShortGroupRl.size() - 1; local 1273 size_t rl_len = this->kShortGroupRl.size() + 1; local [all...] |
/external/epid-sdk/epid/common/src/ |
file_parser.c | 192 size_t* rl_len, EpidFileType file_type) { 203 if (!buf || !cert || !rl_len) return kEpidBadArgErr; 261 *rl_len = buf_rl_len; 265 if (*rl_len < buf_rl_len) return kEpidBadArgErr; 266 *rl_len = buf_rl_len; 270 if (0 != memcpy_S(rl, *rl_len, buf_rl, buf_rl_len)) return kEpidBadArgErr; 321 size_t* rl_len) { 322 return EpidParseRlFile(buf, len, cert, rl, rl_len, kPrivRlFile); 327 size_t* rl_len) { 328 return EpidParseRlFile(buf, len, cert, rl, rl_len, kSigRlFile) [all...] |