Home
last modified time | relevance | path

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

/NextBSD/tools/tools/net80211/stumbler/
HDstumbler.c86 int wep; member
121 char* wep = 0; in wep2str() local
126 wep = ""; in wep2str()
130 wep = "WEP"; in wep2str()
134 wep = "WPA1"; in wep2str()
138 wep = "WPA?"; in wep2str()
142 wep = "WPA1-TKIP"; in wep2str()
146 wep = "WPA1-TKIP-PSK"; in wep2str()
150 wep = "WPA1-CCMP"; in wep2str()
154 wep = "WPA1-CCMP-PSK"; in wep2str()
[all …]
/NextBSD/sys/fs/msdosfs/
HDmsdosfs_conv.c518 unix2winfn(const u_char *un, size_t unlen, struct winentry *wep, int cnt, in unix2winfn() argument
539 for (wcp = (u_int8_t *)wep, i = sizeof(*wep); --i >= 0; *wcp++ = 0xff); in unix2winfn()
540 wep->weCnt = cnt; in unix2winfn()
541 wep->weAttributes = ATTR_WIN95; in unix2winfn()
542 wep->weReserved1 = 0; in unix2winfn()
543 wep->weChksum = chksum; in unix2winfn()
544 wep->weReserved2 = 0; in unix2winfn()
550 for (wcp = wep->wePart1, i = sizeof(wep->wePart1)/2; --i >= 0 && !end;) { in unix2winfn()
557 for (wcp = wep->wePart2, i = sizeof(wep->wePart2)/2; --i >= 0 && !end;) { in unix2winfn()
564 for (wcp = wep->wePart3, i = sizeof(wep->wePart3)/2; --i >= 0 && !end;) { in unix2winfn()
[all …]
HDdirentry.h153 int unix2winfn(const u_char *un, size_t unlen, struct winentry *wep, int cnt,
157 int win2unixfn(struct mbnambuf *nbp, struct winentry *wep, int chksum,
/NextBSD/sys/net80211/
HDieee80211_crypto_wep.c59 static const struct ieee80211_cipher wep = { variable
191 M_PREPEND(m, wep.ic_header, M_NOWAIT); in wep_encap()
195 ovbcopy(ivp + wep.ic_header, ivp, hdrlen); in wep_encap()
250 ovbcopy(mtod(m, void *), mtod(m, uint8_t *) + wep.ic_header, hdrlen); in wep_decap()
251 m_adj(m, wep.ic_header); in wep_decap()
252 m_adj(m, -wep.ic_trailer); in wep_decap()
352 off = hdrlen + wep.ic_header; in wep_encrypt()
435 off = hdrlen + wep.ic_header; in wep_decrypt()
436 data_len = m->m_pkthdr.len - (off + wep.ic_trailer), in wep_decrypt()
494 IEEE80211_CRYPTO_MODULE(wep, 1);
/NextBSD/contrib/wpa/src/ap/
HDap_config.c424 hostapd_config_free_wep(&conf->ssid.wep); in hostapd_config_free_bss()
724 int wep, i; in hostapd_config_check_bss() local
726 wep = bss->default_wep_key_len > 0 || in hostapd_config_check_bss()
729 if (bss->ssid.wep.keys_set) { in hostapd_config_check_bss()
730 wep = 1; in hostapd_config_check_bss()
735 if (wep) { in hostapd_config_check_bss()
822 bss->ssid.wep.keys_set && bss->wpa == 0) { in hostapd_config_check_bss()
946 bss->ssid.wep.default_len = bss->default_wep_key_len; in hostapd_set_security_params()
950 } else if (full_config && bss->ssid.wep.keys_set) { in hostapd_set_security_params()
951 if (bss->ssid.wep.len[0] >= 13) in hostapd_set_security_params()
[all …]
HDhostapd.c246 idx = ssid->wep.idx; in hostapd_broadcast_wep_set()
247 if (ssid->wep.default_len && in hostapd_broadcast_wep_set()
250 1, NULL, 0, ssid->wep.key[idx], in hostapd_broadcast_wep_set()
251 ssid->wep.len[idx])) { in hostapd_broadcast_wep_set()
432 if (hapd->conf->ssid.wep.default_len) { in hostapd_setup_encryption()
444 if (hapd->conf->ssid.wep.key[i] && in hostapd_setup_encryption()
446 i == hapd->conf->ssid.wep.idx, NULL, 0, in hostapd_setup_encryption()
447 hapd->conf->ssid.wep.key[i], in hostapd_setup_encryption()
448 hapd->conf->ssid.wep.len[i])) { in hostapd_setup_encryption()
453 if (hapd->conf->ssid.wep.key[i] && in hostapd_setup_encryption()
[all …]
HDvlan_init.c895 if (hapd->conf->ssid.wep.key[i] && in vlan_setup_encryption_dyn()
897 i == hapd->conf->ssid.wep.idx, NULL, 0, in vlan_setup_encryption_dyn()
898 hapd->conf->ssid.wep.key[i], in vlan_setup_encryption_dyn()
899 hapd->conf->ssid.wep.len[i])) in vlan_setup_encryption_dyn()
HDwps_hostapd.c1105 } else if (conf->ssid.wep.keys_set && conf->ssid.wep.key[0]) { in hostapd_init_wps()
1106 wps->network_key = os_malloc(conf->ssid.wep.len[0]); in hostapd_init_wps()
1109 os_memcpy(wps->network_key, conf->ssid.wep.key[0], in hostapd_init_wps()
1110 conf->ssid.wep.len[0]); in hostapd_init_wps()
1111 wps->network_key_len = conf->ssid.wep.len[0]; in hostapd_init_wps()
HDap_config.h95 struct hostapd_wep_keys wep; member
HDieee802_11.c155 privacy = hapd->conf->ssid.wep.keys_set; in hostapd_own_capab_info()
2436 if (ssid->wep.key[i] && in hostapd_set_wds_encryption()
2438 i == ssid->wep.idx, NULL, 0, in hostapd_set_wds_encryption()
2439 ssid->wep.key[i], ssid->wep.len[i])) { in hostapd_set_wds_encryption()
HDbeacon.c1107 params->privacy = hapd->conf->ssid.wep.keys_set || hapd->conf->wpa || in ieee802_11_build_ap_params()
/NextBSD/contrib/wpa/wpa_supplicant/
HDap.c270 struct hostapd_wep_keys *wep = &bss->ssid.wep; in wpa_supplicant_conf_ap() local
275 wep->key[i] = os_malloc(ssid->wep_key_len[i]); in wpa_supplicant_conf_ap()
276 if (wep->key[i] == NULL) in wpa_supplicant_conf_ap()
278 os_memcpy(wep->key[i], ssid->wep_key[i], in wpa_supplicant_conf_ap()
280 wep->len[i] = ssid->wep_key_len[i]; in wpa_supplicant_conf_ap()
282 wep->idx = ssid->wep_tx_keyidx; in wpa_supplicant_conf_ap()
283 wep->keys_set = 1; in wpa_supplicant_conf_ap()
322 bss->ssid.wep.default_len = bss->default_wep_key_len; in wpa_supplicant_conf_ap()
329 } else if (bss->ssid.wep.keys_set) { in wpa_supplicant_conf_ap()
331 if (bss->ssid.wep.len[0] >= 13) in wpa_supplicant_conf_ap()
/NextBSD/tools/tools/net80211/w00t/libw00t/
HDw00t.c277 int str2wep(char *wep, int *len, char *str) in str2wep() argument
297 *wep = (unsigned char) x; in str2wep()
298 wep++; in str2wep()
HDw00t.h49 int str2wep(char *wep, int *len, char *str);
/NextBSD/tools/tools/net80211/scripts/
HDsetup.wep17 ifconfig $WLAN wepkey 1:0x0123456789 deftxkey 1 wep
/NextBSD/sys/dev/if_ndis/
HDif_ndis.c2487 ndis_80211_wep wep; in ndis_auth_and_assoc() local
2542 bzero((char *)&wep, sizeof(wep)); in ndis_auth_and_assoc()
2543 wep.nw_keylen = vap->iv_nw_keys[i].wk_keylen; in ndis_auth_and_assoc()
2552 wep.nw_keylen = 5; in ndis_auth_and_assoc()
2555 wep.nw_keylen = 13; in ndis_auth_and_assoc()
2558 wep.nw_keylen = 16; in ndis_auth_and_assoc()
2560 wep.nw_keyidx = i; in ndis_auth_and_assoc()
2561 wep.nw_length = (sizeof(uint32_t) * 3) in ndis_auth_and_assoc()
2562 + wep.nw_keylen; in ndis_auth_and_assoc()
2564 wep.nw_keyidx |= NDIS_80211_WEPKEY_TX; in ndis_auth_and_assoc()
[all …]
/NextBSD/contrib/wpa/hostapd/
HDconfig_file.c749 static int hostapd_config_read_wep(struct hostapd_wep_keys *wep, int keyidx, in hostapd_config_read_wep() argument
754 if (keyidx < 0 || keyidx > 3 || wep->key[keyidx] != NULL) in hostapd_config_read_wep()
761 wep->key[keyidx] = os_malloc(len); in hostapd_config_read_wep()
762 if (wep->key[keyidx] == NULL) in hostapd_config_read_wep()
764 os_memcpy(wep->key[keyidx], val + 1, len); in hostapd_config_read_wep()
765 wep->len[keyidx] = len; in hostapd_config_read_wep()
770 wep->key[keyidx] = os_malloc(len); in hostapd_config_read_wep()
771 if (wep->key[keyidx] == NULL) in hostapd_config_read_wep()
773 wep->len[keyidx] = len; in hostapd_config_read_wep()
774 if (hexstr2bin(val, wep->key[keyidx], len) < 0) in hostapd_config_read_wep()
[all …]
/NextBSD/contrib/wpa/src/drivers/
HDdriver_ndis.c950 NDIS_802_11_WEP *wep; in wpa_driver_ndis_add_wep() local
955 wep = os_zalloc(len); in wpa_driver_ndis_add_wep()
956 if (wep == NULL) in wpa_driver_ndis_add_wep()
958 wep->Length = len; in wpa_driver_ndis_add_wep()
959 wep->KeyIndex = key_idx; in wpa_driver_ndis_add_wep()
961 wep->KeyIndex |= 1 << 31; in wpa_driver_ndis_add_wep()
964 wep->KeyIndex |= 1 << 30; in wpa_driver_ndis_add_wep()
966 wep->KeyLength = key_len; in wpa_driver_ndis_add_wep()
967 os_memcpy(wep->KeyMaterial, key, key_len); in wpa_driver_ndis_add_wep()
970 (u8 *) wep, len); in wpa_driver_ndis_add_wep()
[all …]
/NextBSD/lib/libedit/
HDvi.c1083 const Char *wep, *wsp; in vi_history_word() local
1091 wep = wsp = 0; in vi_history_word()
1100 wep = wp; in vi_history_word()
1108 len = (int)(wep - wsp); in vi_history_word()
1116 while (wsp < wep && cp < lim) in vi_history_word()
/NextBSD/tools/tools/net80211/wesside/
HDREADME4 http://tapir.cs.ucl.ac.uk/bittau-wep.pdf
/NextBSD/tools/tools/net80211/w00t/assoc/
HDassoc.c427 int wep; in get_probe_response() local
453 wep = (*data & IEEE80211_CAPINFO_PRIVACY) ? 1 : 0; in get_probe_response()
476 from, bssid, ssid, ess, wep); in get_probe_response()
/NextBSD/tools/tools/net80211/w00t/
HDREADME45 [For the next set of tools, refer to http://tapir.cs.ucl.ac.uk/bittau-wep.pdf
/NextBSD/sys/dev/mwl/
HDmwlhal.h432 uint8_t wep[16]; /* enough for 128 bits */ member
/NextBSD/usr.sbin/bsnmpd/modules/snmp_wlan/
HDwlan_tree.def146 1 wep
HDBEGEMOT-WIRELESS-MIB.txt446 wep(1),