Lines Matching refs:payload
467 pos = hdr.payload;
468 end = hdr.payload + hdr.length;
494 if (asn1_get_next(hdr.payload, hdr.length, &hdr) < 0 ||
504 hdr.payload, hdr.length);
509 cert = x509_certificate_parse(hdr.payload, hdr.length);
519 return tlsv1_set_cert(cred, NULL, hdr.payload, hdr.length);
545 hdr.payload, hdr.length);
572 hdr.payload, hdr.length);
608 hdr.payload, hdr.length);
609 pos = hdr.payload;
610 end = hdr.payload + hdr.length;
652 value = hdr.payload;
655 pos = hdr.payload + hdr.length;
668 hdr.payload, hdr.length);
670 pos = hdr.payload;
671 end = hdr.payload + hdr.length;
682 if (pkcs12_parse_attr(hdr.payload, hdr.length) < 0)
684 pos = hdr.payload + hdr.length;
716 pos = hdr.payload;
717 end = hdr.payload + hdr.length;
736 if (pkcs12_safebag(cred, hdr.payload, hdr.length, passwd) < 0)
738 pos = hdr.payload + hdr.length;
761 wpa_hexdump(MSG_MSGDUMP, "PKCS #12: Data", hdr.payload, hdr.length);
763 return pkcs12_safecontents(cred, hdr.payload, hdr.length, passwd);
792 pos = hdr.payload;
802 if (hdr.length != 1 || hdr.payload[0] != 0) {
806 pos = hdr.payload + hdr.length;
826 pos = hdr.payload;
854 enc_alg = hdr.payload;
856 pos = hdr.payload + hdr.length;
868 data = pkcs5_decrypt(enc_alg, enc_alg_len, hdr.payload, hdr.length,
911 pos = hdr.payload;
950 pos = hdr.payload;
960 if (hdr.length != 1 || hdr.payload[0] != 3) {
964 pos = hdr.payload + hdr.length;
981 pos = hdr.payload;
1007 pos = hdr.payload;
1026 hdr.payload, hdr.length);
1028 if (asn1_get_next(hdr.payload, hdr.length, &hdr) < 0 ||
1037 pos = hdr.payload;
1049 if (pkcs12_parse_content(cred, hdr.payload, hdr.length,
1053 pos = hdr.payload + hdr.length;
1152 pos = hdr.payload;
1165 wpa_hexdump(MSG_MSGDUMP, "DH: prime (p)", hdr.payload, hdr.length);
1172 os_memcpy(cred->dh_p, hdr.payload, hdr.length);
1174 pos = hdr.payload + hdr.length;
1187 wpa_hexdump(MSG_MSGDUMP, "DH: base (g)", hdr.payload, hdr.length);
1194 os_memcpy(cred->dh_g, hdr.payload, hdr.length);