/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
|
D | wps_registrar.c | 2807 dst->key_idx = src->key_idx; in wps_cred_update()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_bsd.c | 227 bsd_del_key(void *priv, const u8 *addr, int key_idx) in bsd_del_key() argument 233 wpa_printf(MSG_DEBUG, "%s: key_idx=%d", __func__, key_idx); in bsd_del_key() 234 wk.idk_keyix = key_idx; in bsd_del_key() 293 const unsigned char *addr, int key_idx, int set_tx, const u8 *seq, in bsd_set_key() argument 302 "seq_len=%zu key_len=%zu", __func__, alg, addr, key_idx, in bsd_set_key() 308 return bsd_del_key(priv, NULL, key_idx); in bsd_set_key() 311 return bsd_del_key(priv, addr, key_idx); in bsd_set_key() 336 wk.ik_keyix = key_idx; in bsd_set_key() 346 wk.ik_keyix = key_idx; in bsd_set_key() 348 wk.ik_keyix = key_idx == 0 ? IEEE80211_KEYIX_NONE : in bsd_set_key() [all …]
|
D | driver_privsep.c | 191 int key_idx, int set_tx, in wpa_driver_privsep_set_key() argument 199 __func__, priv, alg, key_idx, set_tx); in wpa_driver_privsep_set_key() 207 cmd.key_idx = key_idx; in wpa_driver_privsep_set_key()
|
D | driver_wext.h | 56 const u8 *addr, int key_idx,
|
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 | 444 atheros_del_key(void *priv, const u8 *addr, int key_idx) in atheros_del_key() argument 451 __func__, ether_sprintf(addr), key_idx); in atheros_del_key() 458 wk.idk_keyix = key_idx; in atheros_del_key() 465 key_idx); in atheros_del_key() 473 const u8 *addr, int key_idx, int set_tx, const u8 *seq, in atheros_set_key() argument 482 return atheros_del_key(drv, addr, key_idx); in atheros_set_key() 485 __func__, alg, ether_sprintf(addr), key_idx); in atheros_set_key() 541 wk.ik_keyix = key_idx; in atheros_set_key() 555 __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 | 1719 const u8 *addr, int key_idx, in wpa_driver_wext_set_key_ext() argument 1740 iwr.u.encoding.flags = key_idx + 1; in wpa_driver_wext_set_key_ext() 1839 const u8 *addr, int key_idx, in wpa_driver_wext_set_key() argument 1849 __FUNCTION__, alg, key_idx, set_tx, in wpa_driver_wext_set_key() 1852 ret = wpa_driver_wext_set_key_ext(drv, alg, addr, key_idx, set_tx, in wpa_driver_wext_set_key() 1870 iwr.u.encoding.flags = key_idx + 1; in wpa_driver_wext_set_key() 1886 iwr.u.encoding.flags = key_idx + 1; in wpa_driver_wext_set_key()
|
D | driver_hostap.c | 400 int key_idx, int set_tx, in wpa_driver_hostap_set_key() argument 443 param->u.crypt.idx = key_idx; in wpa_driver_hostap_set_key()
|
D | driver_nl80211.c | 2497 int key_idx, int set_tx, in wpa_driver_nl80211_set_key() argument 2514 __func__, ifindex, ifname, alg, addr, key_idx, set_tx, in wpa_driver_nl80211_set_key() 2517 if (key_idx == -1) { in wpa_driver_nl80211_set_key() 2518 key_idx = 0; in wpa_driver_nl80211_set_key() 2560 if (alg != WPA_ALG_WEP && key_idx && !set_tx) { in wpa_driver_nl80211_set_key() 2577 if (nla_put_u8(msg, NL80211_ATTR_KEY_IDX, key_idx)) in wpa_driver_nl80211_set_key() 2599 nla_put_u8(msg, NL80211_ATTR_KEY_IDX, key_idx) || in wpa_driver_nl80211_set_key() 2641 int key_idx, int defkey, in nl_add_key() argument 2663 if (nla_put_u8(msg, NL80211_KEY_IDX, key_idx) || in nl_add_key() 7197 int key_idx, int set_tx, in driver_nl80211_set_key() argument [all …]
|
D | driver.h | 1703 const u8 *addr, int key_idx, int set_tx,
|
/external/wpa_supplicant_8/src/common/ |
D | privsep_commands.h | 52 int key_idx; member
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | driver_i.h | 145 int key_idx, int set_tx, in wpa_drv_set_key() argument 150 if (key_idx >= 0 && key_idx <= 6) in wpa_drv_set_key() 151 wpa_s->keys_cleared &= ~BIT(key_idx); in wpa_drv_set_key() 157 alg, addr, key_idx, set_tx, in wpa_drv_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 | wpas_glue.c | 486 const u8 *addr, int key_idx, int set_tx, in wpa_supplicant_set_key() argument 491 if (alg == WPA_ALG_TKIP && key_idx == 0 && key_len == 32) { in wpa_supplicant_set_key() 496 if (key_idx > 0 && addr && is_broadcast_ether_addr(addr) && in wpa_supplicant_set_key() 502 return wpa_drv_set_key(wpa_s, alg, addr, key_idx, set_tx, seq, seq_len, in wpa_supplicant_set_key()
|
D | preauth_test.c | 128 const u8 *addr, int key_idx, int set_tx, in wpa_supplicant_set_key() argument
|
D | wpa_priv.c | 288 params->addr, params->key_idx, in wpa_priv_cmd_set_key()
|
/external/wpa_supplicant_8/wpa_supplicant/tests/ |
D | test_wpa.c | 137 const u8 *addr, int key_idx, int set_tx, in supp_set_key() argument 143 __func__, alg, MAC2STR(addr), key_idx, set_tx); in supp_set_key()
|
/external/wpa_supplicant_8/src/rsn_supp/ |
D | wpa_i.h | 157 const u8 *addr, int key_idx, int set_tx, in wpa_sm_set_key() argument 162 return sm->ctx->set_key(sm->ctx->ctx, alg, addr, key_idx, set_tx, in wpa_sm_set_key()
|
D | wpa.h | 30 const u8 *addr, int key_idx, int set_tx,
|
/external/wpa_supplicant_8/src/ap/ |
D | ap_drv_ops.c | 619 int key_idx, int set_tx, in hostapd_drv_set_key() argument 626 key_idx, set_tx, seq, seq_len, key, in hostapd_drv_set_key()
|
D | ap_drv_ops.h | 86 int key_idx, int set_tx,
|
D | wps_hostapd.c | 422 wpa_printf(MSG_DEBUG, "WPS: Network Key Index %d", cred->key_idx); in hapd_wps_cred_cb()
|