Home
last modified time | relevance | path

Searched refs:keyidx (Results 1 – 13 of 13) sorted by relevance

/external/wpa_supplicant_6/wpa_supplicant/src/rsn_supp/
Dwpa_ft.c597 int keyidx; in wpa_ft_process_gtk_subelem() local
656 keyidx = gtk_elem[0] & 0x03; in wpa_ft_process_gtk_subelem()
667 keyidx, 0, gtk_elem + 2, rsc_len, gtk, keylen) < in wpa_ft_process_gtk_subelem()
683 u16 keyidx; in wpa_ft_process_igtk_subelem() local
715 keyidx = WPA_GET_LE16(igtk_elem); in wpa_ft_process_igtk_subelem()
720 keyidx, 0, igtk_elem + 2, 6, igtk, WPA_IGTK_LEN) < in wpa_ft_process_igtk_subelem()
Dwpa.c625 int tx, key_rsc_len, keyidx; member
640 "(keyidx=%d tx=%d len=%d).", gd->keyidx, gd->tx, in wpa_supplicant_install_gtk()
653 gd->keyidx, 1, key_rsc, gd->key_rsc_len, in wpa_supplicant_install_gtk()
661 gd->keyidx, gd->tx, key_rsc, gd->key_rsc_len, in wpa_supplicant_install_gtk()
665 gd->alg, gd->gtk_len, gd->keyidx); in wpa_supplicant_install_gtk()
713 gd.keyidx = gtk[0] & 0x3; in wpa_supplicant_pairwise_gtk()
748 u16 keyidx; in ieee80211w_set_keys() local
752 keyidx = WPA_GET_LE16(igtk->keyid); in ieee80211w_set_keys()
755 keyidx, MAC2STR(igtk->pn)); in ieee80211w_set_keys()
758 if (keyidx > 4095) { in ieee80211w_set_keys()
[all …]
/external/wpa_supplicant_8/src/rsn_supp/
Dwpa_ft.c549 int keyidx; in wpa_ft_process_gtk_subelem() local
608 keyidx = WPA_GET_LE16(gtk_elem) & 0x03; in wpa_ft_process_gtk_subelem()
618 if (wpa_sm_set_key(sm, alg, broadcast_ether_addr, keyidx, 0, in wpa_ft_process_gtk_subelem()
634 u16 keyidx; in wpa_ft_process_igtk_subelem() local
666 keyidx = WPA_GET_LE16(igtk_elem); in wpa_ft_process_igtk_subelem()
670 if (wpa_sm_set_key(sm, WPA_ALG_IGTK, broadcast_ether_addr, keyidx, 0, in wpa_ft_process_igtk_subelem()
Dwpa.c625 int tx, key_rsc_len, keyidx; member
641 gd->keyidx, gd->tx, gd->gtk_len); in wpa_supplicant_install_gtk()
652 gd->keyidx, 1, key_rsc, gd->key_rsc_len, in wpa_supplicant_install_gtk()
660 gd->keyidx, gd->tx, key_rsc, gd->key_rsc_len, in wpa_supplicant_install_gtk()
665 gd->alg, gd->gtk_len, gd->keyidx); in wpa_supplicant_install_gtk()
714 gd.keyidx = gtk[0] & 0x3; in wpa_supplicant_pairwise_gtk()
750 u16 keyidx; in ieee80211w_set_keys() local
754 keyidx = WPA_GET_LE16(igtk->keyid); in ieee80211w_set_keys()
757 keyidx, MAC2STR(igtk->pn)); in ieee80211w_set_keys()
760 if (keyidx > 4095) { in ieee80211w_set_keys()
[all …]
/external/wpa_supplicant_8/hostapd/
Dconfig_file.c608 static int hostapd_config_read_wep(struct hostapd_wep_keys *wep, int keyidx, in hostapd_config_read_wep() argument
613 if (keyidx < 0 || keyidx > 3 || wep->key[keyidx] != NULL) in hostapd_config_read_wep()
620 wep->key[keyidx] = os_malloc(len); in hostapd_config_read_wep()
621 if (wep->key[keyidx] == NULL) in hostapd_config_read_wep()
623 os_memcpy(wep->key[keyidx], val + 1, len); in hostapd_config_read_wep()
624 wep->len[keyidx] = len; in hostapd_config_read_wep()
629 wep->key[keyidx] = os_malloc(len); in hostapd_config_read_wep()
630 if (wep->key[keyidx] == NULL) in hostapd_config_read_wep()
632 wep->len[keyidx] = len; in hostapd_config_read_wep()
633 if (hexstr2bin(val, wep->key[keyidx], len) < 0) in hostapd_config_read_wep()
/external/wpa_supplicant_8/wpa_supplicant/
Dtodo.txt13 - Cisco AP and non-zero keyidx for unicast -> map to broadcast
15 driver_*.c to do the mapping for drivers that cannot handle non-zero keyidx
Dwpas_glue.c194 static int wpa_eapol_set_wep_key(void *ctx, int unicast, int keyidx, in wpa_eapol_set_wep_key() argument
208 keyidx, unicast, NULL, 0, key, keylen); in wpa_eapol_set_wep_key()
/external/wpa_supplicant_8/src/ap/
Dwpa_auth.c1226 int keyidx, int encr, int force_version) in __wpa_send_eapol() argument
1258 pairwise, (unsigned long) kde_len, keyidx, encr); in __wpa_send_eapol()
1286 key_info |= keyidx << WPA_KEY_INFO_KEY_INDEX_SHIFT; in __wpa_send_eapol()
1390 int keyidx, int encr) in wpa_send_eapol() argument
1400 keyidx, encr, 0); in wpa_send_eapol()
1916 int wpa_ie_len, secure, keyidx, encr = 0; in SM_STATE() local
1950 keyidx = gsm->GN; in SM_STATE()
1958 keyidx = 0; in SM_STATE()
2006 hdr[0] = keyidx & 0x03; in SM_STATE()
2051 _rsc, sm->ANonce, kde, pos - kde, keyidx, encr); in SM_STATE()
Dwpa_auth_i.h198 int keyidx, int encr, int force_version);
/external/wpa_supplicant_6/wpa_supplicant/src/eapol_supp/
Deapol_supp_sm.h148 int (*set_wep_key)(void *ctx, int unicast, int keyidx,
/external/wpa_supplicant_6/wpa_supplicant/
Dtodo.txt16 - Cisco AP and non-zero keyidx for unicast -> map to broadcast
18 driver_*.c to do the mapping for drivers that cannot handle non-zero keyidx
Dwpas_glue.c196 static int wpa_eapol_set_wep_key(void *ctx, int unicast, int keyidx, in wpa_eapol_set_wep_key() argument
211 keyidx, unicast, (u8 *) "", 0, key, keylen); in wpa_eapol_set_wep_key()
/external/wpa_supplicant_8/src/eapol_supp/
Deapol_supp_sm.h142 int (*set_wep_key)(void *ctx, int unicast, int keyidx,