Home
last modified time | relevance | path

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

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
Dwpa_ft.c758 int keyidx; in wpa_ft_process_gtk_subelem() local
809 keyidx = WPA_GET_LE16(gtk_elem) & 0x03; in wpa_ft_process_gtk_subelem()
826 if (wpa_sm_set_key(sm, alg, broadcast_ether_addr, keyidx, 0, in wpa_ft_process_gtk_subelem()
843 u16 keyidx; in wpa_ft_process_igtk_subelem() local
889 keyidx = WPA_GET_LE16(igtk_elem); in wpa_ft_process_igtk_subelem()
894 broadcast_ether_addr, keyidx, 0, in wpa_ft_process_igtk_subelem()
913 u16 keyidx; in wpa_ft_process_bigtk_subelem() local
957 keyidx = WPA_GET_LE16(bigtk_elem); in wpa_ft_process_bigtk_subelem()
962 broadcast_ether_addr, keyidx, 0, in wpa_ft_process_bigtk_subelem()
Dwpa.c1028 int tx, key_rsc_len, keyidx; member
1049 gd->keyidx, gd->tx, gd->gtk_len); in wpa_supplicant_install_gtk()
1056 gd->keyidx, gd->tx, gd->gtk_len); in wpa_supplicant_install_gtk()
1067 gd->keyidx, 1, key_rsc, gd->key_rsc_len, in wpa_supplicant_install_gtk()
1077 gd->keyidx, gd->tx, key_rsc, gd->key_rsc_len, in wpa_supplicant_install_gtk()
1082 gd->alg, gd->gtk_len, gd->keyidx); in wpa_supplicant_install_gtk()
1172 gd.keyidx = gtk[0] & 0x3; in wpa_supplicant_pairwise_gtk()
1206 u16 keyidx = WPA_GET_LE16(igtk->keyid); in wpa_supplicant_install_igtk() local
1216 keyidx); in wpa_supplicant_install_igtk()
1222 keyidx, MAC2STR(igtk->pn)); in wpa_supplicant_install_igtk()
[all …]
/third_party/openssl/apps/
Dcms.c302 int noout = 0, print = 0, keyidx = -1, vpmtouched = 0; in cms_main() local
633 keyidx = -1; in cms_main()
636 keyidx += sk_X509_num(encerts); in cms_main()
639 keyidx++; in cms_main()
641 keyidx += sk_OPENSSL_STRING_num(skkeys); in cms_main()
643 if (keyidx < 0) { in cms_main()
647 if (key_param == NULL || key_param->idx != keyidx) { in cms_main()
654 nparam->idx = keyidx; in cms_main()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/
Dwpa_ft.c691 int keyidx; in wpa_ft_process_gtk_subelem() local
742 keyidx = WPA_GET_LE16(gtk_elem) & 0x03; in wpa_ft_process_gtk_subelem()
759 if (wpa_sm_set_key(sm, alg, broadcast_ether_addr, keyidx, 0, in wpa_ft_process_gtk_subelem()
776 u16 keyidx; in wpa_ft_process_igtk_subelem() local
822 keyidx = WPA_GET_LE16(igtk_elem); in wpa_ft_process_igtk_subelem()
827 broadcast_ether_addr, keyidx, 0, in wpa_ft_process_igtk_subelem()
Dwpa.c882 int tx, key_rsc_len, keyidx; member
903 gd->keyidx, gd->tx, gd->gtk_len); in wpa_supplicant_install_gtk()
910 gd->keyidx, gd->tx, gd->gtk_len); in wpa_supplicant_install_gtk()
921 gd->keyidx, 1, key_rsc, gd->key_rsc_len, in wpa_supplicant_install_gtk()
930 gd->keyidx, gd->tx, key_rsc, gd->key_rsc_len, in wpa_supplicant_install_gtk()
935 gd->alg, gd->gtk_len, gd->keyidx); in wpa_supplicant_install_gtk()
1025 gd.keyidx = gtk[0] & 0x3; in wpa_supplicant_pairwise_gtk()
1060 u16 keyidx = WPA_GET_LE16(igtk->keyid); in wpa_supplicant_install_igtk() local
1070 keyidx); in wpa_supplicant_install_igtk()
1076 keyidx, MAC2STR(igtk->pn)); in wpa_supplicant_install_igtk()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dtodo.txt11 - Cisco AP and non-zero keyidx for unicast -> map to broadcast
13 driver_*.c to do the mapping for drivers that cannot handle non-zero keyidx
Dwpas_glue.c245 static int wpa_eapol_set_wep_key(void *ctx, int unicast, int keyidx, in wpa_eapol_set_wep_key() argument
259 keyidx, unicast, NULL, 0, key, keylen, in wpa_eapol_set_wep_key()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dtodo.txt11 - Cisco AP and non-zero keyidx for unicast -> map to broadcast
13 driver_*.c to do the mapping for drivers that cannot handle non-zero keyidx
Dwpas_glue.c235 static int wpa_eapol_set_wep_key(void *ctx, int unicast, int keyidx, in wpa_eapol_set_wep_key() argument
249 keyidx, unicast, NULL, 0, key, keylen); in wpa_eapol_set_wep_key()
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
Dap_config_file.c798 static int hostapd_config_read_wep(struct hostapd_wep_keys *wep, int keyidx, in hostapd_config_read_wep() argument
803 if (keyidx < 0 || keyidx > 3) in hostapd_config_read_wep()
809 bin_clear_free(wep->key[keyidx], wep->len[keyidx]); in hostapd_config_read_wep()
810 wep->key[keyidx] = NULL; in hostapd_config_read_wep()
811 wep->len[keyidx] = 0; in hostapd_config_read_wep()
821 if (wep->key[keyidx] != NULL) in hostapd_config_read_wep()
828 wep->key[keyidx] = os_memdup(val + 1, len); in hostapd_config_read_wep()
829 if (wep->key[keyidx] == NULL) in hostapd_config_read_wep()
831 wep->len[keyidx] = len; in hostapd_config_read_wep()
836 wep->key[keyidx] = os_malloc(len); in hostapd_config_read_wep()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dwpa_auth.c1439 int keyidx, int encr, int force_version) in __wpa_send_eapol() argument
1477 pairwise, (unsigned long) kde_len, keyidx, encr); in __wpa_send_eapol()
1510 key_info |= keyidx << WPA_KEY_INFO_KEY_INDEX_SHIFT; in __wpa_send_eapol()
1655 int keyidx, int encr) in wpa_send_eapol() argument
1665 keyidx, encr, 0); in wpa_send_eapol()
3157 int wpa_ie_len, secure, keyidx, encr = 0; in SM_STATE() local
3208 keyidx = gsm->GN; in SM_STATE()
3216 keyidx = 0; in SM_STATE()
3273 hdr[0] = keyidx & 0x03; in SM_STATE()
3345 _rsc, sm->ANonce, kde, pos - kde, keyidx, encr); in SM_STATE()
[all …]
Dwpa_auth_i.h280 int keyidx, int encr, int force_version);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
Dap_config_file.c803 static int hostapd_config_read_wep(struct hostapd_wep_keys *wep, int keyidx, in hostapd_config_read_wep() argument
808 if (keyidx < 0 || keyidx > 3) in hostapd_config_read_wep()
814 bin_clear_free(wep->key[keyidx], wep->len[keyidx]); in hostapd_config_read_wep()
815 wep->key[keyidx] = NULL; in hostapd_config_read_wep()
816 wep->len[keyidx] = 0; in hostapd_config_read_wep()
826 if (wep->key[keyidx] != NULL) in hostapd_config_read_wep()
833 wep->key[keyidx] = os_memdup(val + 1, len); in hostapd_config_read_wep()
834 if (wep->key[keyidx] == NULL) in hostapd_config_read_wep()
836 wep->len[keyidx] = len; in hostapd_config_read_wep()
841 wep->key[keyidx] = os_malloc(len); in hostapd_config_read_wep()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dwpa_auth_i.h287 int keyidx, int encr, int force_version);
Dwpa_auth.c1501 int keyidx, int encr, int force_version) in __wpa_send_eapol() argument
1539 pairwise, kde_len, keyidx, encr); in __wpa_send_eapol()
1572 key_info |= keyidx << WPA_KEY_INFO_KEY_INDEX_SHIFT; in __wpa_send_eapol()
1714 int keyidx, int encr) in wpa_send_eapol() argument
1724 keyidx, encr, 0); in wpa_send_eapol()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eapol_supp/
Deapol_supp_sm.h163 int (*set_wep_key)(void *ctx, int unicast, int keyidx,
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eapol_supp/
Deapol_supp_sm.h163 int (*set_wep_key)(void *ctx, int unicast, int keyidx,