/freebsd-10-stable/tools/tools/net80211/stumbler/ |
H A D | stumbler.c | 86 int wep; member in struct:node_info 121 char* wep = 0; local 126 wep = ""; 130 wep = "WEP"; 134 wep = "WPA1"; 138 wep = "WPA?"; 142 wep = "WPA1-TKIP"; 146 wep = "WPA1-TKIP-PSK"; 150 wep = "WPA1-CCMP"; 154 wep 399 char* wep = 0; local [all...] |
/freebsd-10-stable/tools/tools/net80211/scripts/ |
H A D | setup.wep | 17 ifconfig $WLAN wepkey 1:0x0123456789 deftxkey 1 wep
|
/freebsd-10-stable/sys/fs/msdosfs/ |
H A D | msdosfs_conv.c | 526 unix2winfn(un, unlen, wep, cnt, chksum, pmp) 529 struct winentry *wep; 552 for (wcp = (u_int8_t *)wep, i = sizeof(*wep); --i >= 0; *wcp++ = 0xff); 553 wep->weCnt = cnt; 554 wep->weAttributes = ATTR_WIN95; 555 wep->weReserved1 = 0; 556 wep->weChksum = chksum; 557 wep->weReserved2 = 0; 563 for (wcp = wep [all...] |
H A D | direntry.h | 153 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,
|
/freebsd-10-stable/tools/tools/net80211/w00t/libw00t/ |
H A D | w00t.h | 49 int str2wep(char *wep, int *len, char *str);
|
H A D | w00t.c | 277 int str2wep(char *wep, int *len, char *str) argument 297 *wep = (unsigned char) x; 298 wep++;
|
/freebsd-10-stable/sys/net80211/ |
H A D | ieee80211_crypto_wep.c | 58 static const struct ieee80211_cipher wep = { variable in typeref:struct:ieee80211_cipher 137 M_PREPEND(m, wep.ic_header, M_NOWAIT); 141 ovbcopy(ivp + wep.ic_header, ivp, hdrlen); 236 ovbcopy(mtod(m, void *), mtod(m, uint8_t *) + wep.ic_header, hdrlen); 237 m_adj(m, wep.ic_header); 238 m_adj(m, -wep.ic_trailer); 338 off = hdrlen + wep.ic_header; 421 off = hdrlen + wep.ic_header; 422 data_len = m->m_pkthdr.len - (off + wep.ic_trailer); 480 IEEE80211_CRYPTO_MODULE(wep, [all...] |
/freebsd-10-stable/contrib/wpa/wpa_supplicant/ |
H A D | ap.c | 192 struct hostapd_wep_keys *wep = &bss->ssid.wep; local 197 wep->key[i] = os_malloc(ssid->wep_key_len[i]); 198 if (wep->key[i] == NULL) 200 os_memcpy(wep->key[i], ssid->wep_key[i], 202 wep->len[i] = ssid->wep_key_len[i]; 204 wep->idx = ssid->wep_tx_keyidx; 205 wep->keys_set = 1; 238 bss->ssid.wep.default_len = bss->default_wep_key_len; 245 } else if (bss->ssid.wep [all...] |
/freebsd-10-stable/contrib/wpa/src/ap/ |
H A D | hostapd.c | 198 idx = ssid->wep.idx; 199 if (ssid->wep.default_len && 202 1, NULL, 0, ssid->wep.key[idx], 203 ssid->wep.len[idx])) { 361 if (hapd->conf->ssid.wep.default_len) { 373 if (hapd->conf->ssid.wep.key[i] && 375 i == hapd->conf->ssid.wep.idx, NULL, 0, 376 hapd->conf->ssid.wep.key[i], 377 hapd->conf->ssid.wep.len[i])) { 382 if (hapd->conf->ssid.wep [all...] |
H A D | vlan_init.c | 769 if (mssid->wep.key[i] && 771 i == mssid->wep.idx, NULL, 0, 772 mssid->wep.key[i], mssid->wep.len[i]))
|
H A D | wps_hostapd.c | 921 } else if (conf->ssid.wep.keys_set && conf->ssid.wep.key[0]) { 922 wps->network_key = os_malloc(conf->ssid.wep.len[0]); 927 os_memcpy(wps->network_key, conf->ssid.wep.key[0], 928 conf->ssid.wep.len[0]); 929 wps->network_key_len = conf->ssid.wep.len[0];
|
H A D | ap_config.h | 64 struct hostapd_wep_keys wep; member in struct:hostapd_ssid
|
H A D | ap_config.c | 403 hostapd_config_free_wep(&conf->ssid.wep);
|
H A D | ieee802_11.c | 143 privacy = hapd->conf->ssid.wep.keys_set; 157 def_klen = sta->ssid_probe->wep.default_len; 160 def_klen = sta->ssid->wep.default_len; 489 "auth_transaction=%d status_code=%d wep=%d%s",
|
H A D | beacon.c | 723 params.privacy = hapd->conf->ssid.wep.keys_set || hapd->conf->wpa ||
|
H A D | ieee802_1x.c | 243 return &ssid->wep;
|
/freebsd-10-stable/contrib/wpa/hostapd/ |
H A D | config_file.c | 716 static int hostapd_config_read_wep(struct hostapd_wep_keys *wep, int keyidx, argument 721 if (keyidx < 0 || keyidx > 3 || wep->key[keyidx] != NULL) 728 wep->key[keyidx] = os_malloc(len); 729 if (wep->key[keyidx] == NULL) 731 os_memcpy(wep->key[keyidx], val + 1, len); 732 wep->len[keyidx] = len; 737 wep->key[keyidx] = os_malloc(len); 738 if (wep->key[keyidx] == NULL) 740 wep->len[keyidx] = len; 741 if (hexstr2bin(val, wep [all...] |
/freebsd-10-stable/lib/libedit/ |
H A D | vi.c | 1053 const char *wep, *wsp; local 1061 wep = wsp = 0; 1070 wep = wp; 1077 len = (int)(wep - wsp); 1085 while (wsp < wep && cp < lim)
|
/freebsd-10-stable/contrib/wpa/src/drivers/ |
H A D | driver_ndis.c | 950 NDIS_802_11_WEP *wep; local 955 wep = os_zalloc(len); 956 if (wep == NULL) 958 wep->Length = len; 959 wep->KeyIndex = key_idx; 961 wep->KeyIndex |= 1 << 31; 964 wep->KeyIndex |= 1 << 30; 966 wep->KeyLength = key_len; 967 os_memcpy(wep->KeyMaterial, key, key_len); 970 (u8 *) wep, le [all...] |
/freebsd-10-stable/tools/tools/net80211/w00t/assoc/ |
H A D | assoc.c | 78 "-w\t<wep key>\n" 378 printf("Got wep but i aint wep %s->%s %d\n", 427 int wep; local 453 wep = (*data & IEEE80211_CAPINFO_PRIVACY) ? 1 : 0; 476 from, bssid, ssid, ess, wep);
|
/freebsd-10-stable/sys/dev/if_ndis/ |
H A D | if_ndis.c | 2376 ndis_80211_wep wep; local 2436 bzero((char *)&wep, sizeof(wep)); 2437 wep.nw_keylen = vap->iv_nw_keys[i].wk_keylen; 2446 wep.nw_keylen = 5; 2449 wep.nw_keylen = 13; 2452 wep.nw_keylen = 16; 2454 wep.nw_keyidx = i; 2455 wep.nw_length = (sizeof(uint32_t) * 3) 2456 + wep [all...] |
/freebsd-10-stable/sys/dev/mwl/ |
H A D | mwlhal.h | 432 uint8_t wep[16]; /* enough for 128 bits */ member in union:__anon9387::__anon9388
|