/freebsd/sys/contrib/dev/rtw89/ |
H A D | cam.c | 140 u8 *key_idx) in rtw89_cam_get_addr_cam_key_idx() argument 157 *key_idx = idx; in rtw89_cam_get_addr_cam_key_idx() 165 *key_idx = idx; in rtw89_cam_get_addr_cam_key_idx() 174 *key_idx = idx; in rtw89_cam_get_addr_cam_key_idx() 183 *key_idx = idx; in rtw89_cam_get_addr_cam_key_idx() 189 *key_idx = 6; in rtw89_cam_get_addr_cam_key_idx() 198 *key_idx = idx; in rtw89_cam_get_addr_cam_key_idx() 207 *key_idx = idx; in rtw89_cam_get_addr_cam_key_idx() 263 u8 key_idx = 0; in rtw89_cam_attach_sec_cam() 278 ret = rtw89_cam_get_addr_cam_key_idx(addr_cam, sec_cam, key, &key_idx); in rtw89_cam_sec_key_install() 225 u8 key_idx = 0; rtw89_cam_attach_sec_cam() local 388 u8 key_idx = key->hw_key_idx; rtw89_cam_sec_key_del() local [all...] |
/freebsd/contrib/wpa/src/wps/ |
H A D | wps_attr_process.c | 157 const u8 *key_idx) in wps_process_cred_network_key_idx() argument 159 if (key_idx == NULL) in wps_process_cred_network_key_idx() 162 wpa_printf(MSG_DEBUG, "WPS: Network Key Index: %d", *key_idx); in wps_process_cred_network_key_idx() 163 cred->key_idx = *key_idx; in wps_process_cred_network_key_idx()
|
H A D | wps.h | 52 u8 key_idx; member
|
/freebsd/crypto/heimdal/lib/hdb/ |
H A D | keytab.c | 47 int key_idx; member 307 c->key_idx = 0; in hdb_start_seq_get() 371 &c->hdb_entry.entry.keys.val[c->key_idx].key, in hdb_next_entry() 378 c->key_idx++; in hdb_next_entry() 385 if ((size_t)c->key_idx == c->hdb_entry.entry.keys.len) { in hdb_next_entry() 388 c->key_idx = 0; in hdb_next_entry()
|
/freebsd/contrib/wpa/src/drivers/ |
H A D | driver_bsd.c | 266 bsd_del_key(void *priv, const u8 *addr, int key_idx) in bsd_del_key() argument 272 wpa_printf(MSG_DEBUG, "%s: key_idx=%d", __func__, key_idx); in bsd_del_key() 273 wk.idk_keyix = key_idx; in bsd_del_key() 350 int key_idx = params->key_idx; in bsd_set_key() local 358 "seq_len=%zu key_len=%zu", __func__, alg, addr, key_idx, in bsd_set_key() 364 return bsd_del_key(priv, NULL, key_idx); in bsd_set_key() 367 return bsd_del_key(priv, addr, key_idx); in bsd_set_key() 398 wk.ik_keyix = key_idx; in bsd_set_key() 408 wk.ik_keyix = key_idx; in bsd_set_key() 410 wk.ik_keyix = key_idx == 0 ? IEEE80211_KEYIX_NONE : in bsd_set_key() [all …]
|
H A D | driver_privsep.c | 215 int key_idx = params->key_idx; in wpa_driver_privsep_set_key() local 223 __func__, priv, alg, key_idx, set_tx); in wpa_driver_privsep_set_key() 231 cmd.key_idx = key_idx; in wpa_driver_privsep_set_key()
|
H A D | driver_atheros.c | 466 atheros_del_key(void *priv, const u8 *addr, int key_idx) in atheros_del_key() argument 473 __func__, ether_sprintf(addr), key_idx); in atheros_del_key() 480 wk.idk_keyix = key_idx; in atheros_del_key() 487 key_idx); in atheros_del_key() 502 int key_idx = params->key_idx; in atheros_set_key() local 508 return atheros_del_key(drv, addr, key_idx); in atheros_set_key() 511 __func__, alg, ether_sprintf(addr), key_idx); in atheros_set_key() 565 wk.ik_keyix = key_idx; in atheros_set_key() 579 __func__, ether_sprintf(wk.ik_macaddr), key_idx, in atheros_set_key()
|
H A D | driver_ndis.c | 903 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() 1042 params->key_idx, params->set_tx, in wpa_driver_ndis_set_key_wrapper()
|
H A D | driver_wext.c | 1718 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() 1829 int key_idx = params->key_idx; in wpa_driver_wext_set_key() local 1838 __FUNCTION__, alg, key_idx, set_tx, in wpa_driver_wext_set_key() 1841 ret = wpa_driver_wext_set_key_ext(drv, alg, addr, key_idx, set_tx, in wpa_driver_wext_set_key() 1859 iwr.u.encoding.flags = key_idx + 1; in wpa_driver_wext_set_key() 1875 iwr.u.encoding.flags = key_idx + 1; in wpa_driver_wext_set_key()
|
H A D | driver_hostap.c | 409 int key_idx = params->key_idx; in wpa_driver_hostap_set_key() local 447 param->u.crypt.idx = key_idx; in wpa_driver_hostap_set_key()
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | driver_i.h | 151 int key_idx, int set_tx, in wpa_drv_set_key() argument 162 params.key_idx = key_idx; in wpa_drv_set_key() 177 if (key_idx == 1 && (key_flag & KEY_FLAG_PAIRWISE)) in wpa_drv_set_key() 179 else if (key_idx >= 0 && key_idx <= 5) in wpa_drv_set_key() 180 wpa_s->keys_cleared &= ~BIT(key_idx); in wpa_drv_set_key()
|
H A D | wpas_glue.c | 531 const u8 *addr, int key_idx, int set_tx, in wpa_supplicant_set_key() argument 539 if (alg == WPA_ALG_TKIP && key_idx == 0 && key_len == 32) { in wpa_supplicant_set_key() 544 if (key_idx > 0 && addr && is_broadcast_ether_addr(addr) && in wpa_supplicant_set_key() 555 wpa_s->last_tk_key_idx = key_idx; in wpa_supplicant_set_key() 562 ret = wpa_drv_set_key(wpa_s, link_id, alg, addr, key_idx, set_tx, seq, in wpa_supplicant_set_key() 564 if (ret == 0 && (key_idx == 6 || key_idx == 7) && in wpa_supplicant_set_key()
|
H A D | ibss_rsn.c | 147 const u8 *addr, int key_idx, int set_tx, in supp_set_key() argument 155 __func__, alg, MAC2STR(addr), key_idx, set_tx); in supp_set_key() 159 if (key_idx == 0) { in supp_set_key() 176 key_idx, set_tx, seq, seq_len, key, key_len, in supp_set_key()
|
H A D | preauth_test.c | 135 const u8 *addr, int key_idx, int set_tx, in wpa_supplicant_set_key() argument
|
H A D | wpa_priv.c | 413 p.key_idx = params->key_idx; in wpa_priv_cmd_set_key()
|
/freebsd/contrib/wpa/src/common/ |
H A D | privsep_commands.h | 79 int key_idx; member
|
/freebsd/sys/contrib/dev/mediatek/mt76/ |
H A D | mt76x02_mac.h | 173 u8 key_idx, struct ieee80211_key_conf *key);
|
H A D | mt76x02_mac.c | 59 u8 key_idx, struct ieee80211_key_conf *key) in mt76x02_mac_shared_key_setup() argument 70 val &= ~(MT_SKEY_MODE_MASK << MT_SKEY_MODE_SHIFT(vif_idx, key_idx)); in mt76x02_mac_shared_key_setup() 71 val |= cipher << MT_SKEY_MODE_SHIFT(vif_idx, key_idx); in mt76x02_mac_shared_key_setup() 74 mt76_wr_copy(dev, MT_SKEY(vif_idx, key_idx), key_data, in mt76x02_mac_shared_key_setup()
|
/freebsd/contrib/wpa/src/rsn_supp/ |
H A D | wpa_i.h | 254 enum wpa_alg alg, const u8 *addr, int key_idx, in wpa_sm_set_key() argument 260 return sm->ctx->set_key(sm->ctx->ctx, link_id, alg, addr, key_idx, in wpa_sm_set_key()
|
H A D | wpa.h | 34 const u8 *addr, int key_idx, int set_tx,
|
/freebsd/contrib/wpa/src/ap/ |
H A D | ap_drv_ops.c | 813 int key_idx, int vlan_id, int set_tx, in hostapd_drv_set_key() argument 826 params.key_idx = key_idx; in hostapd_drv_set_key()
|
H A D | ap_drv_ops.h | 101 int key_idx, int vlan_id, int set_tx,
|
/freebsd/contrib/unbound/validator/ |
H A D | autotrust.c | 1582 struct ub_packed_rrset_key* dnskey_rrset, size_t key_idx, in key_matches_a_ds() argument 1593 !dnskey_size_is_supported(dnskey_rrset, key_idx) || in key_matches_a_ds() 1597 != dnskey_get_algo(dnskey_rrset, key_idx) in key_matches_a_ds() 1598 || dnskey_calc_keytag(dnskey_rrset, key_idx) in key_matches_a_ds() 1602 if(!ds_digest_match_dnskey(env, dnskey_rrset, key_idx, in key_matches_a_ds()
|
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300.h | 1623 ah, key_idx, mimo_control, compress_rpt) \ argument 1626 ah, key_idx, mimo_control, non_compress_rpt) \ argument 1639 #define ar9300_txbf_get_cv_cache_nr(ah, key_idx, nr) argument
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | wmi.h | 3504 __le32 key_idx; member 3526 u32 key_idx; member 4061 __le32 key_idx; member 4069 u32 key_idx; member
|