Home
last modified time | relevance | path

Searched refs:buf_rl_len (Results 1 – 2 of 2) sorted by relevance

/external/epid-sdk/epid/common/1.1/src/
Dfile_parser.c48 size_t buf_rl_len = 0; in Epid11ParseRlFile() local
97 buf_rl_len = len - sizeof(EpidFileHeader) - sizeof(EcdsaSignature); in Epid11ParseRlFile()
98 if (0 != ((buf_rl_len - empty_rl_size) % rl_entry_size)) { in Epid11ParseRlFile()
109 buf_rl_len = len - sizeof(EpidFileHeader) - sizeof(EcdsaSignature); 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()
/external/epid-sdk/epid/common/src/
Dfile_parser.c200 size_t buf_rl_len = 0; in EpidParseRlFile() local
245 buf_rl_len = len - sizeof(EpidFileHeader) - sizeof(EcdsaSignature); in EpidParseRlFile()
246 if (0 != ((buf_rl_len - empty_rl_size) % rl_entry_size)) { in EpidParseRlFile()
257 buf_rl_len = len - sizeof(EpidFileHeader) - sizeof(EcdsaSignature); 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()