Home
last modified time | relevance | path

Searched refs:key_idx (Results 1 – 25 of 27) sorted by relevance

12

/external/wpa_supplicant_8/src/wps/
Dwps_attr_process.c156 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()
Dwps.h52 u8 key_idx; member
Dwps_registrar.c2807 dst->key_idx = src->key_idx; in wps_cred_update()
/external/wpa_supplicant_8/src/drivers/
Ddriver_bsd.c227 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 …]
Ddriver_privsep.c191 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()
Ddriver_wext.h56 const u8 *addr, int key_idx,
Ddriver_openbsd.c72 const unsigned char *addr, int key_idx, int set_tx, const u8 *seq, in wpa_driver_openbsd_set_key() argument
Ddriver_atheros.c444 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()
Ddriver_ndis.c915 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()
Ddriver_wext.c1719 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()
Ddriver_hostap.c400 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()
Ddriver_nl80211.c2497 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 …]
Ddriver.h1703 const u8 *addr, int key_idx, int set_tx,
/external/wpa_supplicant_8/src/common/
Dprivsep_commands.h52 int key_idx; member
/external/wpa_supplicant_8/wpa_supplicant/
Ddriver_i.h145 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()
Dibss_rsn.c140 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()
Dwpas_glue.c486 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()
Dpreauth_test.c128 const u8 *addr, int key_idx, int set_tx, in wpa_supplicant_set_key() argument
Dwpa_priv.c288 params->addr, params->key_idx, in wpa_priv_cmd_set_key()
/external/wpa_supplicant_8/wpa_supplicant/tests/
Dtest_wpa.c137 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/
Dwpa_i.h157 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()
Dwpa.h30 const u8 *addr, int key_idx, int set_tx,
/external/wpa_supplicant_8/src/ap/
Dap_drv_ops.c619 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()
Dap_drv_ops.h86 int key_idx, int set_tx,
Dwps_hostapd.c422 wpa_printf(MSG_DEBUG, "WPS: Network Key Index %d", cred->key_idx); in hapd_wps_cred_cb()

12