Home
last modified time | relevance | path

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

/external/epid-sdk/epid/common/1.1/src/
Dfile_parser.c131 Epid11GroupPubKeyCertificate* buf_pubkey = (Epid11GroupPubKeyCertificate*)buf; in Epid11ParseGroupPubKeyFile() local
142 if (0 != memcmp(&buf_pubkey->header.epid_version, &kEpidVersionCode[kEpid1x], in Epid11ParseGroupPubKeyFile()
143 sizeof(buf_pubkey->header.epid_version))) { in Epid11ParseGroupPubKeyFile()
146 if (0 != memcmp(&buf_pubkey->header.file_type, in Epid11ParseGroupPubKeyFile()
148 sizeof(buf_pubkey->header.file_type))) { in Epid11ParseGroupPubKeyFile()
158 buf_pubkey, sizeof(Epid11GroupPubKeyCertificate) - sizeof(EcdsaSignature), in Epid11ParseGroupPubKeyFile()
159 (EcdsaPublicKey*)&cert->pubkey, &buf_pubkey->signature); in Epid11ParseGroupPubKeyFile()
163 pubkey->gid = buf_pubkey->gid; in Epid11ParseGroupPubKeyFile()
164 pubkey->h1 = buf_pubkey->h1; in Epid11ParseGroupPubKeyFile()
165 pubkey->h2 = buf_pubkey->h2; in Epid11ParseGroupPubKeyFile()
[all …]
/external/epid-sdk/epid/common/src/
Dfile_parser.c279 EpidGroupPubKeyCertificate* buf_pubkey = (EpidGroupPubKeyCertificate*)buf; in EpidParseGroupPubKeyFile() local
290 if (0 != memcmp(&buf_pubkey->header.epid_version, &kEpidVersion, in EpidParseGroupPubKeyFile()
294 if (0 != memcmp(&buf_pubkey->header.file_type, in EpidParseGroupPubKeyFile()
296 sizeof(buf_pubkey->header.file_type))) { in EpidParseGroupPubKeyFile()
306 buf_pubkey, sizeof(EpidGroupPubKeyCertificate) - sizeof(EcdsaSignature), in EpidParseGroupPubKeyFile()
307 (EcdsaPublicKey*)&cert->pubkey, &buf_pubkey->signature); in EpidParseGroupPubKeyFile()
311 pubkey->gid = buf_pubkey->gid; in EpidParseGroupPubKeyFile()
312 pubkey->h1 = buf_pubkey->h1; in EpidParseGroupPubKeyFile()
313 pubkey->h2 = buf_pubkey->h2; in EpidParseGroupPubKeyFile()
314 pubkey->w = buf_pubkey->w; in EpidParseGroupPubKeyFile()