Home
last modified time | relevance | path

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

12

/external/autotest/tko/
Dmachine_aggr.cgi25 key_idx = []
29 key_idx.append(key)
35 key_idx = keys.split(',')
40 key_idx = []
60 for benchmark, key in zip(benchmark_idx, key_idx):
/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.c2838 dst->key_idx = src->key_idx; in wps_cred_update()
/external/wpa_supplicant_8/src/drivers/
Ddriver_bsd.c267 bsd_del_key(void *priv, const u8 *addr, int key_idx) in bsd_del_key() argument
273 wpa_printf(MSG_DEBUG, "%s: key_idx=%d", __func__, key_idx); in bsd_del_key()
274 wk.idk_keyix = key_idx; in bsd_del_key()
335 const unsigned char *addr, int key_idx, int set_tx, const u8 *seq, in bsd_set_key() argument
344 "seq_len=%zu key_len=%zu", __func__, alg, addr, key_idx, in bsd_set_key()
350 return bsd_del_key(priv, NULL, key_idx); in bsd_set_key()
353 return bsd_del_key(priv, addr, key_idx); in bsd_set_key()
378 wk.ik_keyix = key_idx; in bsd_set_key()
388 wk.ik_keyix = key_idx; in bsd_set_key()
390 wk.ik_keyix = key_idx == 0 ? IEEE80211_KEYIX_NONE : in bsd_set_key()
[all …]
Ddriver_wext.h56 const u8 *addr, int key_idx,
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_openbsd.c72 const unsigned char *addr, int key_idx, int set_tx, const u8 *seq, in wpa_driver_openbsd_set_key() argument
Ddriver_atheros.c449 atheros_del_key(void *priv, const u8 *addr, int key_idx) in atheros_del_key() argument
456 __func__, ether_sprintf(addr), key_idx); in atheros_del_key()
463 wk.idk_keyix = key_idx; in atheros_del_key()
470 key_idx); in atheros_del_key()
478 const u8 *addr, int key_idx, int set_tx, const u8 *seq, in atheros_set_key() argument
487 return atheros_del_key(drv, addr, key_idx); in atheros_set_key()
490 __func__, alg, ether_sprintf(addr), key_idx); in atheros_set_key()
546 wk.ik_keyix = key_idx; in atheros_set_key()
560 __func__, ether_sprintf(wk.ik_macaddr), key_idx, in atheros_set_key()
Ddriver_ndis.c903 int key_idx, const u8 *addr, in wpa_driver_ndis_remove_key() argument
913 rkey.KeyIndex = key_idx; in wpa_driver_ndis_remove_key()
921 index = key_idx; in wpa_driver_ndis_remove_key()
934 int pairwise, int key_idx, int set_tx, in wpa_driver_ndis_add_wep() argument
946 wep->KeyIndex = key_idx; in wpa_driver_ndis_add_wep()
968 int key_idx, int set_tx, in wpa_driver_ndis_set_key() argument
990 return wpa_driver_ndis_remove_key(drv, key_idx, addr, bssid, in wpa_driver_ndis_set_key()
995 return wpa_driver_ndis_add_wep(drv, pairwise, key_idx, set_tx, in wpa_driver_ndis_set_key()
1006 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.c393 int key_idx, int set_tx, in wpa_driver_hostap_set_key() argument
436 param->u.crypt.idx = key_idx; in wpa_driver_hostap_set_key()
Ddriver_nl80211.c2636 int key_idx, int set_tx, in wpa_driver_nl80211_set_key() argument
2653 __func__, ifindex, ifname, alg, addr, key_idx, set_tx, in wpa_driver_nl80211_set_key()
2656 if (key_idx == -1) { in wpa_driver_nl80211_set_key()
2657 key_idx = 0; in wpa_driver_nl80211_set_key()
2701 if (alg != WPA_ALG_WEP && key_idx && !set_tx) { in wpa_driver_nl80211_set_key()
2718 if (nla_put_u8(msg, NL80211_ATTR_KEY_IDX, key_idx)) in wpa_driver_nl80211_set_key()
2740 nla_put_u8(msg, NL80211_ATTR_KEY_IDX, key_idx) || in wpa_driver_nl80211_set_key()
2782 int key_idx, int defkey, in nl_add_key() argument
2804 if (nla_put_u8(msg, NL80211_KEY_IDX, key_idx) || in nl_add_key()
7541 int key_idx, int set_tx, in driver_nl80211_set_key() argument
[all …]
Ddriver.h1796 const u8 *addr, int key_idx, int set_tx,
/external/wpa_supplicant_8/src/common/
Dprivsep_commands.h71 int key_idx; member
/external/wpa_supplicant_8/wpa_supplicant/
Ddriver_i.h143 int key_idx, int set_tx, in wpa_drv_set_key() argument
148 if (key_idx >= 0 && key_idx <= 6) in wpa_drv_set_key()
149 wpa_s->keys_cleared &= ~BIT(key_idx); in wpa_drv_set_key()
155 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.c370 params->addr, params->key_idx, in wpa_priv_cmd_set_key()
/external/wpa_supplicant_8/src/rsn_supp/
Dwpa_i.h163 const u8 *addr, int key_idx, int set_tx, in wpa_sm_set_key() argument
168 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/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_format_vp8_unittest.cc69 int key_idx /* K */) { in VerifyExtensions() argument
74 EXPECT_EQ(key_idx, type->Video.codecHeader.VP8.keyIdx); in VerifyExtensions()
/external/wpa_supplicant_8/src/ap/
Dap_drv_ops.c608 int key_idx, int set_tx, in hostapd_drv_set_key() argument
615 key_idx, set_tx, seq, seq_len, key, in hostapd_drv_set_key()
Dap_drv_ops.h86 int key_idx, int set_tx,

12