Home
last modified time | relevance | path

Searched refs:serial_number (Results 1 – 25 of 37) sorted by relevance

12

/hostap-3.7.0/src/wps/
Dwps_dev_attr.c93 len = dev->serial_number ? os_strlen(dev->serial_number) : 0; in wps_build_serial_number()
107 wpabuf_put_data(msg, dev->serial_number, len); in wps_build_serial_number()
327 os_free(dev->serial_number); in wps_process_serial_number()
328 dev->serial_number = dup_binstr(str, str_len); in wps_process_serial_number()
329 if (dev->serial_number == NULL) in wps_process_serial_number()
385 wps_process_serial_number(dev, attr->serial_number, in wps_process_device_attrs()
440 os_free(dev->serial_number); in wps_device_data_free()
441 dev->serial_number = NULL; in wps_device_data_free()
Dwps_er.h26 char *serial_number; member
53 char *serial_number; member
Dwps_validate.c364 static int wps_validate_serial_number(const u8 *serial_number, size_t len, in wps_validate_serial_number() argument
367 if (serial_number == NULL) { in wps_validate_serial_number()
375 if (len > 0 && serial_number[len - 1] == 0) { in wps_validate_serial_number()
378 serial_number, len); in wps_validate_serial_number()
1156 wps_validate_serial_number(attr.serial_number, in wps_validate_beacon_probe_resp()
1317 wps_validate_serial_number(attr.serial_number, in wps_validate_m1()
1372 wps_validate_serial_number(attr.serial_number, in wps_validate_m2()
1426 wps_validate_serial_number(attr.serial_number, in wps_validate_m2d()
Dwps_er.c54 ev->serial_number = sta->serial_number; in wps_er_sta_event()
82 os_free(sta->serial_number); in wps_er_sta_free()
145 evap->serial_number = ap->serial_number; in wps_er_ap_event()
167 os_free(ap->serial_number); in wps_er_ap_free()
577 ap->serial_number = xml_get_first_item(data, "serialNumber"); in wps_er_parse_device_description()
578 wpa_printf(MSG_DEBUG, "WPS ER: serialNumber='%s'", ap->serial_number); in wps_er_parse_device_description()
815 if (attr->serial_number) { in wps_er_add_sta_data()
816 os_free(sta->serial_number); in wps_er_add_sta_data()
817 sta->serial_number = dup_binstr(attr->serial_number, in wps_er_add_sta_data()
Dwps.h91 char *serial_number; member
538 const u8 *serial_number; member
578 const char *serial_number; member
595 const char *serial_number; member
Dwps_attr_parse.h64 const u8 *serial_number; member
Dwps_enrollee.c1061 attr->serial_number, attr->serial_number_len); in wps_process_m2d()
1078 m2d->serial_number = attr->serial_number; in wps_process_m2d()
Dwps_upnp_web.c222 if (iface->wps->dev.serial_number) in format_wps_device_xml()
224 iface->wps->dev.serial_number); in format_wps_device_xml()
Dwps_attr_parse.c481 attr->serial_number = pos; in wps_set_attr()
/hostap-3.7.0/wpa_supplicant/dbus/
Ddbus_new_handlers_wps.c700 wpa_s->conf->serial_number, in wpas_dbus_getter_wps_device_serial_number()
719 char *methods, *serial_number; in wpas_dbus_setter_wps_device_serial_number() local
728 serial_number = os_strdup(methods); in wpas_dbus_setter_wps_device_serial_number()
729 if (!serial_number) in wpas_dbus_setter_wps_device_serial_number()
731 os_free(wpa_s->conf->serial_number); in wpas_dbus_setter_wps_device_serial_number()
732 wpa_s->conf->serial_number = serial_number; in wpas_dbus_setter_wps_device_serial_number()
/hostap-3.7.0/src/tls/
Dtlsv1_client_ocsp.c121 const u8 *serial_number; in tls_process_ocsp_single_response() local
215 serial_number = hdr.payload; in tls_process_ocsp_single_response()
217 while (serial_number_len > 0 && serial_number[0] == 0) { in tls_process_ocsp_single_response()
218 serial_number++; in tls_process_ocsp_single_response()
221 wpa_hexdump(MSG_MSGDUMP, "OCSP: serialNumber", serial_number, in tls_process_ocsp_single_response()
225 os_memcmp(serial_number, cert->serial_number, in tls_process_ocsp_single_response()
Dx509v3.h53 u8 serial_number[X509_MAX_SERIAL_NUM_LEN]; member
Dx509v3.c1532 os_memcpy(cert->serial_number, hdr.payload, hdr.length); in x509_parse_tbs_certificate()
1534 wpa_hexdump(MSG_MSGDUMP, "X509: serialNumber", cert->serial_number, in x509_parse_tbs_certificate()
/hostap-3.7.0/wpa_supplicant/
Dwin_example.reg18 "serial_number"="12345"
Dwps_supplicant.c796 enrollee->serial_number ? enrollee->serial_number : ""); in wpa_supplicant_wps_event_er_enrollee_add()
1467 dev->model_number, dev->serial_number, in wpas_wps_pin_needed_cb()
1584 wps->dev.serial_number = wpa_s->conf->serial_number; in wpas_wps_init()
2271 wps->dev.serial_number = wpa_s->conf->serial_number; in wpas_wps_update_config()
Dconfig.h733 char *serial_number; member
Dconfig_winreg.c243 config->serial_number = wpa_config_read_reg_string( in wpa_config_read_global()
601 config->serial_number); in wpa_config_write_global()
Dap.c747 if (wpa_s->conf->serial_number) in wpa_supplicant_conf_ap()
748 bss->serial_number = os_strdup(wpa_s->conf->serial_number); in wpa_supplicant_conf_ap()
Dconfig_file.c1140 if (config->serial_number) in wpa_config_write_global()
1141 fprintf(f, "serial_number=%s\n", config->serial_number); in wpa_config_write_global()
/hostap-3.7.0/src/p2p/
Dp2p.c577 if (msg->serial_number && in p2p_copy_wps_info()
578 msg->serial_number_len < sizeof(dev->info.serial_number)) { in p2p_copy_wps_info()
579 os_memset(dev->info.serial_number, 0, in p2p_copy_wps_info()
580 sizeof(dev->info.serial_number)); in p2p_copy_wps_info()
581 os_memcpy(dev->info.serial_number, msg->serial_number, in p2p_copy_wps_info()
2961 if (cfg->serial_number) in p2p_init()
2962 p2p->cfg->serial_number = os_strdup(cfg->serial_number); in p2p_init()
3030 os_free(p2p->cfg->serial_number); in p2p_deinit()
3142 int p2p_set_serial_number(struct p2p_data *p2p, const char *serial_number) in p2p_set_serial_number() argument
3144 os_free(p2p->cfg->serial_number); in p2p_set_serial_number()
[all …]
Dp2p.h358 char serial_number[WPS_SERIAL_NUMBER_MAX_LEN + 1]; member
541 char *serial_number; member
1194 int p2p_set_serial_number(struct p2p_data *p2p, const char *serial_number);
Dp2p_parse.c502 msg->serial_number = attr.serial_number; in p2p_parse_wps_ie()
Dp2p_build.c785 p2p->cfg->serial_number) < 0) in p2p_build_wps_ie()
/hostap-3.7.0/src/ap/
Dwps_hostapd.c187 dev->model_number, dev->serial_number, in hostapd_wps_pin_needed_cb()
204 dev->serial_number, in hostapd_wps_pin_needed_cb()
1134 wps->dev.serial_number = hapd->conf->serial_number ? in hostapd_init_wps()
1135 os_strdup(hapd->conf->serial_number) : NULL; in hostapd_init_wps()
Dap_config.h487 char *serial_number; member

12