/dragonfly/contrib/wpa_supplicant/src/wps/ |
H A 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()
|
H A D | wps.h | 52 u8 key_idx; member
|
H A D | wps_registrar.c | 2914 dst->key_idx = src->key_idx; in wps_cred_update()
|
/dragonfly/contrib/wpa_supplicant/src/drivers/ |
H A D | driver_bsd.c | 267 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 …]
|
H A D | driver_wext.h | 56 const u8 *addr, int key_idx,
|
H A D | driver_privsep.c | 210 int key_idx, int set_tx, in wpa_driver_privsep_set_key() argument 218 __func__, priv, alg, key_idx, set_tx); in wpa_driver_privsep_set_key() 226 cmd.key_idx = key_idx; in wpa_driver_privsep_set_key()
|
H A D | driver_atheros.c | 473 atheros_del_key(void *priv, const u8 *addr, int key_idx) in atheros_del_key() argument 480 __func__, ether_sprintf(addr), key_idx); in atheros_del_key() 487 wk.idk_keyix = key_idx; in atheros_del_key() 494 key_idx); in atheros_del_key() 502 const u8 *addr, int key_idx, int set_tx, const u8 *seq, in atheros_set_key() argument 511 return atheros_del_key(drv, addr, key_idx); in atheros_set_key() 514 __func__, alg, ether_sprintf(addr), key_idx); in atheros_set_key() 570 wk.ik_keyix = key_idx; in atheros_set_key() 584 __func__, ether_sprintf(wk.ik_macaddr), key_idx, in atheros_set_key()
|
H A D | driver_openbsd.c | 73 const unsigned char *addr, int key_idx, int set_tx, const u8 *seq, in wpa_driver_openbsd_set_key() argument
|
H A D | driver_wext.c | 1712 const u8 *addr, int key_idx, in wpa_driver_wext_set_key_ext() argument 1733 iwr.u.encoding.flags = key_idx + 1; in wpa_driver_wext_set_key_ext() 1832 const u8 *addr, int key_idx, in wpa_driver_wext_set_key() argument 1842 __FUNCTION__, alg, key_idx, set_tx, in wpa_driver_wext_set_key() 1845 ret = wpa_driver_wext_set_key_ext(drv, alg, addr, key_idx, set_tx, in wpa_driver_wext_set_key() 1863 iwr.u.encoding.flags = key_idx + 1; in wpa_driver_wext_set_key() 1879 iwr.u.encoding.flags = key_idx + 1; in wpa_driver_wext_set_key()
|
H A 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()
|
H A D | driver_nl80211.c | 3012 int key_idx, int set_tx, in wpa_driver_nl80211_set_key() argument 3029 __func__, ifindex, ifname, alg, addr, key_idx, set_tx, in wpa_driver_nl80211_set_key() 3032 if (key_idx == -1) { in wpa_driver_nl80211_set_key() 3033 key_idx = 0; in wpa_driver_nl80211_set_key() 3081 if (alg != WPA_ALG_WEP && key_idx && !set_tx) { in wpa_driver_nl80211_set_key() 3098 if (nla_put_u8(msg, NL80211_ATTR_KEY_IDX, key_idx)) in wpa_driver_nl80211_set_key() 3120 nla_put_u8(msg, NL80211_ATTR_KEY_IDX, key_idx) || in wpa_driver_nl80211_set_key() 3162 int key_idx, int defkey, in nl_add_key() argument 3184 if (nla_put_u8(msg, NL80211_KEY_IDX, key_idx) || in nl_add_key() 8607 int key_idx, int set_tx, in driver_nl80211_set_key() argument [all …]
|
H A D | driver.h | 2315 const u8 *addr, int key_idx, int set_tx,
|
/dragonfly/contrib/wpa_supplicant/src/common/ |
H A D | privsep_commands.h | 79 int key_idx; member
|
/dragonfly/contrib/wpa_supplicant/wpa_supplicant/ |
H A D | driver_i.h | 153 int key_idx, int set_tx, in wpa_drv_set_key() argument 158 if (key_idx >= 0 && key_idx <= 6) in wpa_drv_set_key() 159 wpa_s->keys_cleared &= ~BIT(key_idx); in wpa_drv_set_key() 165 alg, addr, key_idx, set_tx, in wpa_drv_set_key()
|
H A D | wpas_glue.c | 489 const u8 *addr, int key_idx, int set_tx, in wpa_supplicant_set_key() argument 494 if (alg == WPA_ALG_TKIP && key_idx == 0 && key_len == 32) { in wpa_supplicant_set_key() 499 if (key_idx > 0 && addr && is_broadcast_ether_addr(addr) && in wpa_supplicant_set_key() 509 wpa_s->last_tk_key_idx = key_idx; in wpa_supplicant_set_key() 515 return wpa_drv_set_key(wpa_s, alg, addr, key_idx, set_tx, seq, seq_len, in wpa_supplicant_set_key()
|
H A 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()
|
H A D | preauth_test.c | 128 const u8 *addr, int key_idx, int set_tx, in wpa_supplicant_set_key() argument
|
H A D | wpa_priv.c | 407 params->addr, params->key_idx, in wpa_priv_cmd_set_key()
|
/dragonfly/sys/dev/disk/dm/crypt/ |
H A D | dm_target_crypt.c | 542 size_t key_idx; in hex2key() local 545 for (key_idx = 0; key_idx < key_len; ++key_idx) { in hex2key() 548 key[key_idx] = (u_int8_t)strtoul(hex_buf, NULL, 16); in hex2key()
|
/dragonfly/contrib/wpa_supplicant/src/rsn_supp/ |
H A D | wpa_i.h | 198 const u8 *addr, int key_idx, int set_tx, in wpa_sm_set_key() argument 203 return sm->ctx->set_key(sm->ctx->ctx, alg, addr, key_idx, set_tx, in wpa_sm_set_key()
|
H A D | wpa.h | 31 const u8 *addr, int key_idx, int set_tx,
|
/dragonfly/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300.h | 1628 ah, key_idx, mimo_control, compress_rpt) \ argument 1631 ah, key_idx, mimo_control, non_compress_rpt) \ argument 1644 #define ar9300_txbf_get_cv_cache_nr(ah, key_idx, nr) argument
|
/dragonfly/contrib/wpa_supplicant/src/ap/ |
H A D | ap_drv_ops.c | 678 int key_idx, int set_tx, in hostapd_drv_set_key() argument 685 key_idx, set_tx, seq, seq_len, key, in hostapd_drv_set_key()
|
H A D | ap_drv_ops.h | 91 int key_idx, int set_tx,
|
H A D | wps_hostapd.c | 429 wpa_printf(MSG_DEBUG, "WPS: Network Key Index %d", cred->key_idx); in hapd_wps_cred_cb()
|