Searched refs:ssid_len (Results 1 - 25 of 206) sorted by relevance

123456789

/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dsha1-pbkdf2.c15 size_t ssid_len, int iterations, unsigned int count,
26 len[0] = ssid_len;
62 * @ssid_len: SSID length in bytes
72 int pbkdf2_sha1(const char *passphrase, const u8 *ssid, size_t ssid_len, argument
82 if (pbkdf2_sha1_f(passphrase, ssid, ssid_len, iterations,
14 pbkdf2_sha1_f(const char *passphrase, const u8 *ssid, size_t ssid_len, int iterations, unsigned int count, u8 *digest) argument
H A Dsha1.h25 int pbkdf2_sha1(const char *passphrase, const u8 *ssid, size_t ssid_len,
/external/wpa_supplicant_8/src/crypto/
H A Dsha1-pbkdf2.c15 size_t ssid_len, int iterations, unsigned int count,
26 len[0] = ssid_len;
62 * @ssid_len: SSID length in bytes
72 int pbkdf2_sha1(const char *passphrase, const u8 *ssid, size_t ssid_len, argument
82 if (pbkdf2_sha1_f(passphrase, ssid, ssid_len, iterations,
14 pbkdf2_sha1_f(const char *passphrase, const u8 *ssid, size_t ssid_len, int iterations, unsigned int count, u8 *digest) argument
H A Dsha1.h25 int pbkdf2_sha1(const char *passphrase, const u8 *ssid, size_t ssid_len,
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Dsha1-pbkdf2.c15 size_t ssid_len, int iterations, unsigned int count,
26 len[0] = ssid_len;
62 * @ssid_len: SSID length in bytes
72 int pbkdf2_sha1(const char *passphrase, const u8 *ssid, size_t ssid_len, argument
82 if (pbkdf2_sha1_f(passphrase, ssid, ssid_len, iterations,
14 pbkdf2_sha1_f(const char *passphrase, const u8 *ssid, size_t ssid_len, int iterations, unsigned int count, u8 *digest) argument
H A Dsha1.h25 int pbkdf2_sha1(const char *passphrase, const u8 *ssid, size_t ssid_len,
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dwps_attr_process.c99 size_t ssid_len)
108 while (ssid_len > 0 && ssid[ssid_len - 1] == 0)
109 ssid_len--;
111 wpa_hexdump_ascii(MSG_DEBUG, "WPS: SSID", ssid, ssid_len);
112 if (ssid_len <= sizeof(cred->ssid)) {
113 os_memcpy(cred->ssid, ssid, ssid_len);
114 cred->ssid_len = ssid_len;
243 wps_process_cred_ssid(cred, attr->ssid, attr->ssid_len) ||
98 wps_process_cred_ssid(struct wps_credential *cred, const u8 *ssid, size_t ssid_len) argument
[all...]
/external/wpa_supplicant_8/src/wps/
H A Dwps_attr_process.c99 size_t ssid_len)
108 while (ssid_len > 0 && ssid[ssid_len - 1] == 0)
109 ssid_len--;
111 wpa_hexdump_ascii(MSG_DEBUG, "WPS: SSID", ssid, ssid_len);
112 if (ssid_len <= sizeof(cred->ssid)) {
113 os_memcpy(cred->ssid, ssid, ssid_len);
114 cred->ssid_len = ssid_len;
243 wps_process_cred_ssid(cred, attr->ssid, attr->ssid_len) ||
98 wps_process_cred_ssid(struct wps_credential *cred, const u8 *ssid, size_t ssid_len) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dwps_attr_process.c99 size_t ssid_len)
108 while (ssid_len > 0 && ssid[ssid_len - 1] == 0)
109 ssid_len--;
111 wpa_hexdump_ascii(MSG_DEBUG, "WPS: SSID", ssid, ssid_len);
112 if (ssid_len <= sizeof(cred->ssid)) {
113 os_memcpy(cred->ssid, ssid, ssid_len);
114 cred->ssid_len = ssid_len;
243 wps_process_cred_ssid(cred, attr->ssid, attr->ssid_len) ||
98 wps_process_cred_ssid(struct wps_credential *cred, const u8 *ssid, size_t ssid_len) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/
H A Dscan.c313 if (ssid->ssid && ssid->ssid_len)
323 if (!ssid->ssid || !ssid->ssid_len)
325 os_memcpy(ssids[*num_ssids].ssid, ssid->ssid, ssid->ssid_len);
326 ssids[*num_ssids].ssid_len = ssid->ssid_len;
591 if (params->ssids[j].ssid_len == ssid->ssid_len &&
594 ssid->ssid_len) == 0)
607 wpa_ssid_txt(ssid->ssid, ssid->ssid_len));
609 params->ssids[params->num_ssids].ssid_len
[all...]
H A Dbss.c228 wpa_ssid_txt(bss->ssid, bss->ssid_len), reason);
240 * @ssid_len: Length of @ssid
244 const u8 *ssid, size_t ssid_len)
251 bss->ssid_len == ssid_len &&
252 os_memcmp(bss->ssid, ssid, ssid_len) == 0)
301 if (ssid->ssid == NULL || ssid->ssid_len == 0)
303 if (ssid->ssid_len == bss->ssid_len &&
304 os_memcmp(ssid->ssid, bss->ssid, ssid->ssid_len)
243 wpa_bss_get(struct wpa_supplicant *wpa_s, const u8 *bssid, const u8 *ssid, size_t ssid_len) argument
361 wpa_bss_add(struct wpa_supplicant *wpa_s, const u8 *ssid, size_t ssid_len, struct wpa_scan_res *res, struct os_reltime *fetch_time) argument
[all...]
H A Dbss.h74 size_t ssid_len; member in struct:wpa_bss
116 const u8 *ssid, size_t ssid_len);
H A Dwps_supplicant.c205 bss = wpa_bss_get(wpa_s, cred->mac_addr, ssid->ssid, ssid->ssid_len);
286 if (ssid->ssid_len == 0 || ssid->ssid_len != new_ssid->ssid_len)
291 ssid->ssid_len) != 0)
391 wpa_hexdump_ascii(MSG_DEBUG, "WPS: SSID", cred->ssid, cred->ssid_len);
474 ssid->ssid = os_malloc(cred->ssid_len);
476 os_memcpy(ssid->ssid, cred->ssid, cred->ssid_len);
477 ssid->ssid_len = cred->ssid_len;
1149 wpas_wps_start_dev_pw(struct wpa_supplicant *wpa_s, const u8 *dev_addr, const u8 *bssid, const char *pin, int p2p_group, u16 dev_pw_id, const u8 *peer_pubkey_hash, const u8 *ssid_val, size_t ssid_len, int freq) argument
2222 wpas_wps_start_nfc(struct wpa_supplicant *wpa_s, const u8 *go_dev_addr, const u8 *bssid, const struct wpabuf *dev_pw, u16 dev_pw_id, int p2p_group, const u8 *peer_pubkey_hash, const u8 *ssid, size_t ssid_len, int freq) argument
[all...]
/external/wpa_supplicant_8/hostapd/src/common/
H A Dprivsep_commands.h35 size_t ssid_len; member in struct:privsep_cmd_associate
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver_nl80211_android.c99 params->ssids[i].ssid_len);
101 buf[bp++] = params->ssids[i].ssid_len;
103 params->ssids[i].ssid_len);
104 bp += params->ssids[i].ssid_len;
H A Ddriver_privsep.c106 size_t ssid_len = params->ssids[0].ssid_len; local
108 return wpa_priv_cmd(drv, PRIVSEP_CMD_SCAN, ssid, ssid_len,
244 os_memcpy(data->ssid, params->ssid, params->ssid_len);
245 data->ssid_len = params->ssid_len;
283 int res, ssid_len; local
290 os_memcpy(&ssid_len, reply, sizeof(int));
291 if (ssid_len < 0 || ssid_len > SSID_MAX_LE
[all...]
/external/wpa_supplicant_8/src/common/
H A Dprivsep_commands.h35 size_t ssid_len; member in struct:privsep_cmd_associate
/external/wpa_supplicant_8/src/drivers/
H A Ddriver_nl80211_android.c99 params->ssids[i].ssid_len);
101 buf[bp++] = params->ssids[i].ssid_len;
103 params->ssids[i].ssid_len);
104 bp += params->ssids[i].ssid_len;
H A Ddriver_privsep.c106 size_t ssid_len = params->ssids[0].ssid_len; local
108 return wpa_priv_cmd(drv, PRIVSEP_CMD_SCAN, ssid, ssid_len,
244 os_memcpy(data->ssid, params->ssid, params->ssid_len);
245 data->ssid_len = params->ssid_len;
283 int res, ssid_len; local
290 os_memcpy(&ssid_len, reply, sizeof(int));
291 if (ssid_len < 0 || ssid_len > SSID_MAX_LE
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/common/
H A Dprivsep_commands.h35 size_t ssid_len; member in struct:privsep_cmd_associate
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Ddriver_nl80211_android.c99 params->ssids[i].ssid_len);
101 buf[bp++] = params->ssids[i].ssid_len;
103 params->ssids[i].ssid_len);
104 bp += params->ssids[i].ssid_len;
H A Ddriver_privsep.c106 size_t ssid_len = params->ssids[0].ssid_len; local
108 return wpa_priv_cmd(drv, PRIVSEP_CMD_SCAN, ssid, ssid_len,
244 os_memcpy(data->ssid, params->ssid, params->ssid_len);
245 data->ssid_len = params->ssid_len;
283 int res, ssid_len; local
290 os_memcpy(&ssid_len, reply, sizeof(int));
291 if (ssid_len < 0 || ssid_len > SSID_MAX_LE
[all...]
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dbeacon.c408 *pos++ = hapd->conf->ssid.ssid_len;
409 os_memcpy(pos, hapd->conf->ssid.ssid, hapd->conf->ssid.ssid_len);
410 pos += hapd->conf->ssid.ssid_len;
509 const u8 *ssid, size_t ssid_len,
516 if (ssid_len == 0)
518 if (ssid_len == hapd->conf->ssid.ssid_len &&
519 os_memcmp(ssid, hapd->conf->ssid.ssid, ssid_len) == 0)
532 if (pos[1] == hapd->conf->ssid.ssid_len &&
629 if (hapd->conf->ignore_broadcast_ssid && elems.ssid_len
508 ssid_match(struct hostapd_data *hapd, const u8 *ssid, size_t ssid_len, const u8 *ssid_list, size_t ssid_list_len) argument
[all...]
/external/wpa_supplicant_8/src/ap/
H A Dbeacon.c408 *pos++ = hapd->conf->ssid.ssid_len;
409 os_memcpy(pos, hapd->conf->ssid.ssid, hapd->conf->ssid.ssid_len);
410 pos += hapd->conf->ssid.ssid_len;
509 const u8 *ssid, size_t ssid_len,
516 if (ssid_len == 0)
518 if (ssid_len == hapd->conf->ssid.ssid_len &&
519 os_memcmp(ssid, hapd->conf->ssid.ssid, ssid_len) == 0)
532 if (pos[1] == hapd->conf->ssid.ssid_len &&
629 if (hapd->conf->ignore_broadcast_ssid && elems.ssid_len
508 ssid_match(struct hostapd_data *hapd, const u8 *ssid, size_t ssid_len, const u8 *ssid_list, size_t ssid_list_len) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dbeacon.c408 *pos++ = hapd->conf->ssid.ssid_len;
409 os_memcpy(pos, hapd->conf->ssid.ssid, hapd->conf->ssid.ssid_len);
410 pos += hapd->conf->ssid.ssid_len;
509 const u8 *ssid, size_t ssid_len,
516 if (ssid_len == 0)
518 if (ssid_len == hapd->conf->ssid.ssid_len &&
519 os_memcmp(ssid, hapd->conf->ssid.ssid, ssid_len) == 0)
532 if (pos[1] == hapd->conf->ssid.ssid_len &&
629 if (hapd->conf->ignore_broadcast_ssid && elems.ssid_len
508 ssid_match(struct hostapd_data *hapd, const u8 *ssid, size_t ssid_len, const u8 *ssid_list, size_t ssid_list_len) argument
[all...]

Completed in 255 milliseconds

123456789