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

/freebsd-11-stable/tools/tools/net80211/stumbler/
H A Dstumbler.c86 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-11-stable/tools/tools/net80211/scripts/
H A Dsetup.wep17 ifconfig $WLAN wepkey 1:0x0123456789 deftxkey 1 wep
/freebsd-11-stable/sys/fs/msdosfs/
H A Dmsdosfs_conv.c518 unix2winfn(const u_char *un, size_t unlen, struct winentry *wep, int cnt, argument
539 for (wcp = (u_int8_t *)wep, i = sizeof(*wep); --i >= 0; *wcp++ = 0xff);
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.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,
/freebsd-11-stable/tools/tools/net80211/w00t/libw00t/
H A Dw00t.h49 int str2wep(char *wep, int *len, char *str);
H A Dw00t.c277 int str2wep(char *wep, int *len, char *str) argument
297 *wep = (unsigned char) x;
298 wep++;
/freebsd-11-stable/sys/net80211/
H A Dieee80211_crypto_wep.c59 static const struct ieee80211_cipher wep = { variable in typeref:struct:ieee80211_cipher
191 M_PREPEND(m, wep.ic_header, M_NOWAIT);
195 ovbcopy(ivp + wep.ic_header, ivp, hdrlen);
250 ovbcopy(mtod(m, void *), mtod(m, uint8_t *) + wep.ic_header, hdrlen);
251 m_adj(m, wep.ic_header);
252 m_adj(m, -wep.ic_trailer);
352 off = hdrlen + wep.ic_header;
435 off = hdrlen + wep.ic_header;
436 data_len = m->m_pkthdr.len - (off + wep.ic_trailer);
494 IEEE80211_CRYPTO_MODULE(wep,
[all...]
/freebsd-11-stable/contrib/wpa/src/ap/
H A Dap_config.c677 hostapd_config_free_wep(&conf->ssid.wep);
1042 int wep, i; local
1044 wep = bss->default_wep_key_len > 0 ||
1047 if (bss->ssid.wep.keys_set) {
1048 wep = 1;
1053 if (wep) {
1159 bss->ssid.wep.keys_set && bss->wpa == 0) {
1317 bss->ssid.wep.default_len = bss->default_wep_key_len;
1321 } else if (full_config && bss->ssid.wep.keys_set) {
1322 if (bss->ssid.wep
[all...]
H A Dvlan_init.c28 if (!hapd->conf->ssid.wep.key[i])
H A Dhostapd.c330 idx = ssid->wep.idx;
331 if (ssid->wep.default_len &&
334 1, NULL, 0, ssid->wep.key[idx],
335 ssid->wep.len[idx])) {
547 if (hapd->conf->ssid.wep.default_len) {
559 if (hapd->conf->ssid.wep.key[i] &&
561 i == hapd->conf->ssid.wep.idx, NULL, 0,
562 hapd->conf->ssid.wep.key[i],
563 hapd->conf->ssid.wep.len[i])) {
568 if (hapd->conf->ssid.wep
[all...]
H A Dwps_hostapd.c1151 } else if (conf->ssid.wep.keys_set && conf->ssid.wep.key[0]) {
1152 wps->network_key = os_malloc(conf->ssid.wep.len[0]);
1155 os_memcpy(wps->network_key, conf->ssid.wep.key[0],
1156 conf->ssid.wep.len[0]);
1157 wps->network_key_len = conf->ssid.wep.len[0];
H A Dap_config.h103 struct hostapd_wep_keys wep; member in struct:hostapd_ssid
H A Dieee802_11.c196 privacy = hapd->conf->ssid.wep.keys_set;
2076 "auth_transaction=%d status_code=%d wep=%d%s "
4771 if (ssid->wep.key[i] &&
4773 i == ssid->wep.idx, NULL, 0,
4774 ssid->wep.key[i], ssid->wep.len[i])) {
H A Dbeacon.c1318 params->privacy = hapd->conf->ssid.wep.keys_set || hapd->conf->wpa ||
/freebsd-11-stable/contrib/wpa/wpa_supplicant/
H A Dap.c396 struct hostapd_wep_keys *wep = &bss->ssid.wep; local
401 wep->key[i] = os_memdup(ssid->wep_key[i],
403 if (wep->key[i] == NULL)
405 wep->len[i] = ssid->wep_key_len[i];
407 wep->idx = ssid->wep_tx_keyidx;
408 wep->keys_set = 1;
469 bss->ssid.wep.default_len = bss->default_wep_key_len;
476 } else if (bss->ssid.wep.keys_set) {
478 if (bss->ssid.wep
[all...]
/freebsd-11-stable/lib/libedit/
H A Dvi.c1089 const Char *wep, *wsp; local
1097 wep = wsp = NULL;
1106 wep = wp;
1114 len = (int)(wep - wsp);
1122 while (wsp < wep && cp < lim)
/freebsd-11-stable/contrib/wpa/hostapd/
H A Dconfig_file.c798 static int hostapd_config_read_wep(struct hostapd_wep_keys *wep, int keyidx, argument
809 bin_clear_free(wep->key[keyidx], wep->len[keyidx]);
810 wep->key[keyidx] = NULL;
811 wep->len[keyidx] = 0;
813 if (wep->key[i])
817 wep->keys_set = 0;
821 if (wep->key[keyidx] != NULL)
828 wep->key[keyidx] = os_memdup(val + 1, len);
829 if (wep
[all...]
/freebsd-11-stable/tools/tools/net80211/w00t/assoc/
H A Dassoc.c78 "-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-11-stable/contrib/wpa/src/drivers/
H A Ddriver_ndis.c938 NDIS_802_11_WEP *wep; local
943 wep = os_zalloc(len);
944 if (wep == NULL)
946 wep->Length = len;
947 wep->KeyIndex = key_idx;
949 wep->KeyIndex |= 1 << 31;
952 wep->KeyIndex |= 1 << 30;
954 wep->KeyLength = key_len;
955 os_memcpy(wep->KeyMaterial, key, key_len);
958 (u8 *) wep, le
[all...]
/freebsd-11-stable/sys/dev/if_ndis/
H A Dif_ndis.c2484 ndis_80211_wep wep; local
2539 bzero((char *)&wep, sizeof(wep));
2540 wep.nw_keylen = vap->iv_nw_keys[i].wk_keylen;
2549 wep.nw_keylen = 5;
2552 wep.nw_keylen = 13;
2555 wep.nw_keylen = 16;
2557 wep.nw_keyidx = i;
2558 wep.nw_length = (sizeof(uint32_t) * 3)
2559 + wep
[all...]
/freebsd-11-stable/sys/dev/mwl/
H A Dmwlhal.h430 uint8_t wep[16]; /* enough for 128 bits */ member in union:__anon11049::__anon11050

Completed in 298 milliseconds