Searched refs:wep (Results 1 - 21 of 21) sorted by relevance

/freebsd-current/tools/tools/net80211/stumbler/
H A Dstumbler.c84 int wep; member in struct:node_info
119 char* wep = 0; local
124 wep = "";
128 wep = "WEP";
132 wep = "WPA1";
136 wep = "WPA?";
140 wep = "WPA1-TKIP";
144 wep = "WPA1-TKIP-PSK";
148 wep = "WPA1-CCMP";
152 wep
397 char* wep = 0; local
[all...]
/freebsd-current/tools/tools/net80211/scripts/
H A Dsetup.wep16 ifconfig $WLAN wepkey 1:0x0123456789 deftxkey 1 wep
/freebsd-current/usr.sbin/makefs/msdos/
H A Ddirentry.h138 int unix2winfn(const u_char *un, size_t unlen, struct winentry *wep, int cnt,
140 int winChkName(const u_char *un, size_t unlen, struct winentry *wep,
/freebsd-current/sys/fs/msdosfs/
H A Dmsdosfs_conv.c518 unix2winfn(const u_char *un, size_t unlen, struct winentry *wep, int cnt, argument
539 memset(wep, 0xff, sizeof(*wep));
540 wep->weCnt = cnt;
541 wep->weAttributes = ATTR_WIN95;
542 wep->weReserved1 = 0;
543 wep->weChksum = chksum;
544 wep->weReserved2 = 0;
550 for (wcp = wep->wePart1, i = sizeof(wep
629 win2unixfn(struct mbnambuf *nbp, struct winentry *wep, int chksum, struct msdosfsmount *pmp) argument
[all...]
H A Ddirentry.h154 int unix2winfn(const u_char *un, size_t unlen, struct winentry *wep, int cnt,
158 int win2unixfn(struct mbnambuf *nbp, struct winentry *wep, int chksum,
/freebsd-current/tools/tools/net80211/w00t/libw00t/
H A Dw00t.h47 int str2wep(char *wep, int *len, char *str);
H A Dw00t.c275 int str2wep(char *wep, int *len, char *str) argument
295 *wep = (unsigned char) x;
296 wep++;
/freebsd-current/sys/net80211/
H A Dieee80211_crypto_wep.c59 static const struct ieee80211_cipher wep = { variable in typeref:struct:ieee80211_cipher
203 M_PREPEND(m, wep.ic_header, IEEE80211_M_NOWAIT);
207 ovbcopy(ivp + wep.ic_header, ivp, hdrlen);
270 ovbcopy(mtod(m, void *), mtod(m, uint8_t *) + wep.ic_header, hdrlen);
271 m_adj(m, wep.ic_header);
275 m_adj(m, -wep.ic_trailer);
375 off = hdrlen + wep.ic_header;
458 off = hdrlen + wep.ic_header;
459 data_len = m->m_pkthdr.len - (off + wep.ic_trailer);
517 IEEE80211_CRYPTO_MODULE(wep,
[all...]
/freebsd-current/contrib/wpa/src/ap/
H A Dap_config.c766 hostapd_config_free_wep(&conf->ssid.wep);
1226 int wep, i; local
1228 wep = bss->default_wep_key_len > 0 ||
1231 if (bss->ssid.wep.keys_set) {
1232 wep = 1;
1237 if (wep) {
1368 bss->ssid.wep.keys_set && bss->wpa == 0) {
1548 bss->ssid.wep.default_len = bss->default_wep_key_len;
1552 } else if (full_config && bss->ssid.wep.keys_set) {
1553 if (bss->ssid.wep
[all...]
H A Dwps_hostapd.c1237 } else if (conf->ssid.wep.keys_set && conf->ssid.wep.key[0]) {
1238 wps->network_key = os_malloc(conf->ssid.wep.len[0]);
1241 os_memcpy(wps->network_key, conf->ssid.wep.key[0],
1242 conf->ssid.wep.len[0]);
1243 wps->network_key_len = conf->ssid.wep.len[0];
1487 } else if (conf->ssid.wep.keys_set && conf->ssid.wep.key[0]) {
1488 wps->network_key = os_malloc(conf->ssid.wep.len[0]);
1491 os_memcpy(wps->network_key, conf->ssid.wep
[all...]
H A Dvlan_init.c30 if (!hapd->conf->ssid.wep.key[i])
H A Dhostapd.c341 idx = ssid->wep.idx;
342 if (ssid->wep.default_len && ssid->wep.key[idx] &&
345 1, NULL, 0, ssid->wep.key[idx],
346 ssid->wep.len[idx],
568 if (hapd->conf->ssid.wep.default_len) {
580 if (hapd->conf->ssid.wep.key[i] &&
582 i == hapd->conf->ssid.wep.idx, NULL, 0,
583 hapd->conf->ssid.wep.key[i],
584 hapd->conf->ssid.wep
[all...]
H A Dap_config.h111 struct hostapd_wep_keys wep; member in struct:hostapd_ssid
H A Dieee802_11.c262 privacy = hapd->conf->ssid.wep.keys_set;
3593 "auth_transaction=%d status_code=%d wep=%d%s "
6398 if (ssid->wep.key[i] &&
6400 0, i == ssid->wep.idx, NULL, 0,
6401 ssid->wep.key[i], ssid->wep.len[i],
6402 i == ssid->wep.idx ?
H A Dbeacon.c1693 params->privacy |= hapd->conf->ssid.wep.keys_set ||
/freebsd-current/contrib/wpa/wpa_supplicant/
H A Dap.c563 struct hostapd_wep_keys *wep = &bss->ssid.wep; local
568 wep->key[i] = os_memdup(ssid->wep_key[i],
570 if (wep->key[i] == NULL)
572 wep->len[i] = ssid->wep_key_len[i];
574 wep->idx = ssid->wep_tx_keyidx;
575 wep->keys_set = 1;
669 bss->ssid.wep.default_len = bss->default_wep_key_len;
676 } else if (bss->ssid.wep.keys_set) {
678 if (bss->ssid.wep
[all...]
/freebsd-current/contrib/libedit/
H A Dvi.c1091 const wchar_t *wep, *wsp; local
1099 wep = wsp = NULL;
1108 wep = wp;
1116 len = (int)(wep - wsp);
1124 while (wsp < wep && cp < lim)
/freebsd-current/contrib/wpa/src/drivers/
H A Ddriver_ndis.c937 NDIS_802_11_WEP *wep; local
942 wep = os_zalloc(len);
943 if (wep == NULL)
945 wep->Length = len;
946 wep->KeyIndex = key_idx;
948 wep->KeyIndex |= 1 << 31;
951 wep->KeyIndex |= 1 << 30;
953 wep->KeyLength = key_len;
954 os_memcpy(wep->KeyMaterial, key, key_len);
957 (u8 *) wep, le
[all...]
/freebsd-current/tools/tools/net80211/w00t/assoc/
H A Dassoc.c76 "-w\t<wep key>\n"
376 printf("Got wep but i aint wep %s->%s %d\n",
425 int wep; local
451 wep = (*data & IEEE80211_CAPINFO_PRIVACY) ? 1 : 0;
474 from, bssid, ssid, ess, wep);
/freebsd-current/contrib/wpa/hostapd/
H A Dconfig_file.c803 static int hostapd_config_read_wep(struct hostapd_wep_keys *wep, int keyidx, argument
814 bin_clear_free(wep->key[keyidx], wep->len[keyidx]);
815 wep->key[keyidx] = NULL;
816 wep->len[keyidx] = 0;
818 if (wep->key[i])
822 wep->keys_set = 0;
826 if (wep->key[keyidx] != NULL)
833 wep->key[keyidx] = os_memdup(val + 1, len);
834 if (wep
[all...]
/freebsd-current/sys/dev/mwl/
H A Dmwlhal.h430 uint8_t wep[16]; /* enough for 128 bits */ member in union:__anon3581::__anon3582

Completed in 338 milliseconds