/hostap-3.7.0/src/wps/ |
D | wps_dev_attr.c | 93 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()
|
D | wps_er.h | 26 char *serial_number; member 53 char *serial_number; member
|
D | wps_validate.c | 364 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()
|
D | wps_er.c | 54 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()
|
D | wps.h | 91 char *serial_number; member 538 const u8 *serial_number; member 578 const char *serial_number; member 595 const char *serial_number; member
|
D | wps_attr_parse.h | 64 const u8 *serial_number; member
|
D | wps_enrollee.c | 1061 attr->serial_number, attr->serial_number_len); in wps_process_m2d() 1078 m2d->serial_number = attr->serial_number; in wps_process_m2d()
|
D | wps_upnp_web.c | 222 if (iface->wps->dev.serial_number) in format_wps_device_xml() 224 iface->wps->dev.serial_number); in format_wps_device_xml()
|
D | wps_attr_parse.c | 481 attr->serial_number = pos; in wps_set_attr()
|
/hostap-3.7.0/wpa_supplicant/dbus/ |
D | dbus_new_handlers_wps.c | 700 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/ |
D | tlsv1_client_ocsp.c | 121 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()
|
D | x509v3.h | 53 u8 serial_number[X509_MAX_SERIAL_NUM_LEN]; member
|
D | x509v3.c | 1532 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/ |
D | win_example.reg | 18 "serial_number"="12345"
|
D | wps_supplicant.c | 796 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()
|
D | config.h | 733 char *serial_number; member
|
D | config_winreg.c | 243 config->serial_number = wpa_config_read_reg_string( in wpa_config_read_global() 601 config->serial_number); in wpa_config_write_global()
|
D | ap.c | 747 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()
|
D | config_file.c | 1140 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/ |
D | p2p.c | 577 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 …]
|
D | p2p.h | 358 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);
|
D | p2p_parse.c | 502 msg->serial_number = attr.serial_number; in p2p_parse_wps_ie()
|
D | p2p_build.c | 785 p2p->cfg->serial_number) < 0) in p2p_build_wps_ie()
|
/hostap-3.7.0/src/ap/ |
D | wps_hostapd.c | 187 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()
|
D | ap_config.h | 487 char *serial_number; member
|