/external/wpa_supplicant_8/src/wps/ |
D | wps_attr_process.c | 156 const u8 *key_idx) in wps_process_cred_network_key_idx() argument 158 if (key_idx == NULL) in wps_process_cred_network_key_idx() 161 wpa_printf(MSG_DEBUG, "WPS: Network Key Index: %d", *key_idx); in wps_process_cred_network_key_idx() 162 cred->key_idx = *key_idx; in wps_process_cred_network_key_idx()
|
D | wps.h | 52 u8 key_idx; member
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_madwifi.c | 392 madwifi_del_key(void *priv, const u8 *addr, int key_idx) in madwifi_del_key() argument 399 __func__, ether_sprintf(addr), key_idx); in madwifi_del_key() 406 wk.idk_keyix = key_idx; in madwifi_del_key() 413 key_idx); in madwifi_del_key() 421 const u8 *addr, int key_idx, int set_tx, in wpa_driver_madwifi_set_key() argument 431 return madwifi_del_key(drv, addr, key_idx); in wpa_driver_madwifi_set_key() 434 __func__, alg, ether_sprintf(addr), key_idx); in wpa_driver_madwifi_set_key() 459 wk.ik_keyix = key_idx; in wpa_driver_madwifi_set_key() 472 __func__, ether_sprintf(wk.ik_macaddr), key_idx, in wpa_driver_madwifi_set_key()
|
D | driver_bsd.c | 251 bsd_del_key(void *priv, const u8 *addr, int key_idx) in bsd_del_key() argument 257 wpa_printf(MSG_DEBUG, "%s: key_idx=%d", __func__, key_idx); in bsd_del_key() 258 wk.idk_keyix = key_idx; in bsd_del_key() 323 const unsigned char *addr, int key_idx, int set_tx, const u8 *seq, in bsd_set_key() argument 330 "seq_len=%zu key_len=%zu", __func__, alg, addr, key_idx, in bsd_set_key() 336 return bsd_del_key(priv, NULL, key_idx); in bsd_set_key() 339 return bsd_del_key(priv, addr, key_idx); in bsd_set_key() 364 wk.ik_keyix = key_idx; in bsd_set_key() 374 wk.ik_keyix = key_idx; in bsd_set_key() 376 wk.ik_keyix = key_idx == 0 ? IEEE80211_KEYIX_NONE : in bsd_set_key() [all …]
|
D | driver_wext.h | 62 const u8 *addr, int key_idx,
|
D | driver_privsep.c | 189 int key_idx, int set_tx, in wpa_driver_privsep_set_key() argument 197 __func__, priv, alg, key_idx, set_tx); in wpa_driver_privsep_set_key() 205 cmd.key_idx = key_idx; in wpa_driver_privsep_set_key()
|
D | driver_openbsd.c | 72 const unsigned char *addr, int key_idx, int set_tx, const u8 *seq, in wpa_driver_openbsd_set_key() argument
|
D | driver_atheros.c | 424 atheros_del_key(void *priv, const u8 *addr, int key_idx) in atheros_del_key() argument 431 __func__, ether_sprintf(addr), key_idx); in atheros_del_key() 438 wk.idk_keyix = key_idx; in atheros_del_key() 445 key_idx); in atheros_del_key() 453 const u8 *addr, int key_idx, int set_tx, const u8 *seq, in atheros_set_key() argument 462 return atheros_del_key(drv, addr, key_idx); in atheros_set_key() 465 __func__, alg, ether_sprintf(addr), key_idx); in atheros_set_key() 499 wk.ik_keyix = key_idx; in atheros_set_key() 513 __func__, ether_sprintf(wk.ik_macaddr), key_idx, in atheros_set_key()
|
D | driver_ndis.c | 915 int key_idx, const u8 *addr, in wpa_driver_ndis_remove_key() argument 925 rkey.KeyIndex = key_idx; in wpa_driver_ndis_remove_key() 933 index = key_idx; in wpa_driver_ndis_remove_key() 946 int pairwise, int key_idx, int set_tx, in wpa_driver_ndis_add_wep() argument 958 wep->KeyIndex = key_idx; in wpa_driver_ndis_add_wep() 980 int key_idx, int set_tx, in wpa_driver_ndis_set_key() argument 1002 return wpa_driver_ndis_remove_key(drv, key_idx, addr, bssid, in wpa_driver_ndis_set_key() 1007 return wpa_driver_ndis_add_wep(drv, pairwise, key_idx, set_tx, in wpa_driver_ndis_set_key() 1018 nkey->KeyIndex = key_idx; in wpa_driver_ndis_set_key()
|
D | driver_wext.c | 1641 const u8 *addr, int key_idx, in wpa_driver_wext_set_key_ext() argument 1662 iwr.u.encoding.flags = key_idx + 1; in wpa_driver_wext_set_key_ext() 1760 const u8 *addr, int key_idx, in wpa_driver_wext_set_key() argument 1770 __FUNCTION__, alg, key_idx, set_tx, in wpa_driver_wext_set_key() 1773 ret = wpa_driver_wext_set_key_ext(drv, alg, addr, key_idx, set_tx, in wpa_driver_wext_set_key() 1791 iwr.u.encoding.flags = key_idx + 1; in wpa_driver_wext_set_key() 1806 iwr.u.encoding.flags = key_idx + 1; in wpa_driver_wext_set_key()
|
D | driver_hostap.c | 396 int key_idx, int set_tx, in wpa_driver_hostap_set_key() argument 439 param->u.crypt.idx = key_idx; in wpa_driver_hostap_set_key()
|
D | driver_nl80211.c | 4902 int key_idx, int set_tx, in wpa_driver_nl80211_set_key() argument 4919 __func__, ifindex, ifname, alg, addr, key_idx, set_tx, in wpa_driver_nl80211_set_key() 4922 if (key_idx == -1) { in wpa_driver_nl80211_set_key() 4923 key_idx = 0; in wpa_driver_nl80211_set_key() 4985 if (alg != WPA_ALG_WEP && key_idx && !set_tx) { in wpa_driver_nl80211_set_key() 5001 NLA_PUT_U8(msg, NL80211_ATTR_KEY_IDX, key_idx); in wpa_driver_nl80211_set_key() 5026 NLA_PUT_U8(msg, NL80211_ATTR_KEY_IDX, key_idx); in wpa_driver_nl80211_set_key() 5065 int key_idx, int defkey, in nl_add_key() argument 5078 NLA_PUT_U8(msg, NL80211_KEY_IDX, key_idx); in nl_add_key() 10605 int key_idx, int set_tx, in driver_nl80211_set_key() argument [all …]
|
/external/wpa_supplicant_8/src/common/ |
D | privsep_commands.h | 48 int key_idx; member
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wps_supplicant.c | 301 u8 key_idx = 0; in wpa_supplicant_wps_cred() local 333 wpa_printf(MSG_DEBUG, "WPS: Network Key Index %d", cred->key_idx); in wpa_supplicant_wps_cred() 419 if (cred->key_idx > NUM_WEP_KEYS) { in wpa_supplicant_wps_cred() 421 cred->key_idx); in wpa_supplicant_wps_cred() 424 if (cred->key_idx) in wpa_supplicant_wps_cred() 425 key_idx = cred->key_idx - 1; in wpa_supplicant_wps_cred() 428 ssid->wep_key[key_idx], in wpa_supplicant_wps_cred() 431 "%d", key_idx); in wpa_supplicant_wps_cred() 434 ssid->wep_key_len[key_idx] = cred->key_len / 2; in wpa_supplicant_wps_cred() 436 os_memcpy(ssid->wep_key[key_idx], cred->key, in wpa_supplicant_wps_cred() [all …]
|
D | wpas_glue.c | 431 const u8 *addr, int key_idx, int set_tx, in wpa_supplicant_set_key() argument 436 if (alg == WPA_ALG_TKIP && key_idx == 0 && key_len == 32) { in wpa_supplicant_set_key() 441 if (key_idx > 0 && addr && is_broadcast_ether_addr(addr) && in wpa_supplicant_set_key() 447 return wpa_drv_set_key(wpa_s, alg, addr, key_idx, set_tx, seq, seq_len, in wpa_supplicant_set_key()
|
D | ibss_rsn.c | 140 const u8 *addr, int key_idx, int set_tx, in supp_set_key() argument 148 __func__, alg, MAC2STR(addr), key_idx, set_tx); in supp_set_key() 152 if (key_idx == 0) { in supp_set_key() 168 return wpa_drv_set_key(peer->ibss_rsn->wpa_s, alg, addr, key_idx, in supp_set_key()
|
D | preauth_test.c | 131 const u8 *addr, int key_idx, int set_tx, in wpa_supplicant_set_key() argument
|
D | driver_i.h | 119 int key_idx, int set_tx, in wpa_drv_set_key() argument 126 alg, addr, key_idx, set_tx, in wpa_drv_set_key()
|
/external/wpa_supplicant_8/src/ap/ |
D | wps_hostapd.c | 373 if (cred->encr_type & WPS_ENCR_WEP && cred->key_idx > 0 && in hapd_wps_reconfig_in_memory() 374 cred->key_idx <= 4) { in hapd_wps_reconfig_in_memory() 376 int idx = cred->key_idx; in hapd_wps_reconfig_in_memory() 433 wpa_printf(MSG_DEBUG, "WPS: Network Key Index %d", cred->key_idx); in hapd_wps_cred_cb() 580 if (cred->encr_type & WPS_ENCR_WEP && cred->key_idx <= 4) { in hapd_wps_cred_cb() 581 int key_idx = cred->key_idx; in hapd_wps_cred_cb() local 582 if (key_idx) in hapd_wps_cred_cb() 583 key_idx--; in hapd_wps_cred_cb() 584 fprintf(nconf, "wep_default_key=%d\n", key_idx); in hapd_wps_cred_cb() 585 fprintf(nconf, "wep_key%d=", key_idx); in hapd_wps_cred_cb()
|
D | ap_drv_ops.h | 84 int key_idx, int set_tx,
|
D | ap_drv_ops.c | 641 int key_idx, int set_tx, in hostapd_drv_set_key() argument 648 key_idx, set_tx, seq, seq_len, key, in hostapd_drv_set_key()
|
/external/wpa_supplicant_8/src/rsn_supp/ |
D | wpa_i.h | 147 const u8 *addr, int key_idx, int set_tx, in wpa_sm_set_key() argument 152 return sm->ctx->set_key(sm->ctx->ctx, alg, addr, key_idx, set_tx, in wpa_sm_set_key()
|
D | wpa.h | 29 const u8 *addr, int key_idx, int set_tx,
|
/external/bluetooth/bluedroid/bta/hh/ |
D | bta_hh_utils.c | 266 UINT16 xx, yy, key_idx = 0; in bta_hh_parse_keybd_rpt() local 332 p_data->this_char[key_idx ++] = this_char; in bta_hh_parse_keybd_rpt()
|
/external/wpa_supplicant_8/wpa_supplicant/tests/ |
D | test_wpa.c | 141 const u8 *addr, int key_idx, int set_tx, in supp_set_key() argument 147 __func__, alg, MAC2STR(addr), key_idx, set_tx); in supp_set_key()
|