| /linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
| H A D | sta.c | 991 struct ieee80211_key_conf *keyconf) in iwl_remove_default_wep_key() argument 998 keyconf->keyidx); in iwl_remove_default_wep_key() 1000 memset(&ctx->wep_keys[keyconf->keyidx], 0, sizeof(ctx->wep_keys[0])); in iwl_remove_default_wep_key() 1009 keyconf->keyidx, ret); in iwl_remove_default_wep_key() 1016 struct ieee80211_key_conf *keyconf) in iwl_set_default_wep_key() argument 1022 if (keyconf->keylen != WEP_KEY_LEN_128 && in iwl_set_default_wep_key() 1023 keyconf->keylen != WEP_KEY_LEN_64) { in iwl_set_default_wep_key() 1025 "Bad WEP key length %d\n", keyconf->keylen); in iwl_set_default_wep_key() 1029 keyconf->hw_key_idx = IWLAGN_HW_KEY_DEFAULT; in iwl_set_default_wep_key() 1031 ctx->wep_keys[keyconf->keyidx].key_size = keyconf->keylen; in iwl_set_default_wep_key() [all …]
|
| H A D | tx.c | 191 struct ieee80211_key_conf *keyconf = info->control.hw_key; in iwlagn_tx_cmd_build_hwcrypto() 193 switch (keyconf->cipher) { in iwlagn_tx_cmd_build_hwcrypto() 196 memcpy(tx_cmd->key, keyconf->key, keyconf->keylen); in iwlagn_tx_cmd_build_hwcrypto() 203 ieee80211_get_tkip_p2k(keyconf, skb_frag, tx_cmd->key); in iwlagn_tx_cmd_build_hwcrypto() 211 (keyconf->keyidx & TX_CMD_SEC_MSK) << TX_CMD_SEC_SHIFT); in iwlagn_tx_cmd_build_hwcrypto() 213 memcpy(&tx_cmd->key[3], keyconf->key, keyconf->keylen); in iwlagn_tx_cmd_build_hwcrypto() 216 "with key %d\n", keyconf->keyidx); in iwlagn_tx_cmd_build_hwcrypto() 220 IWL_ERR(priv, "Unknown encode cipher %x\n", keyconf in iwlagn_tx_cmd_build_hwcrypto() 192 struct ieee80211_key_conf *keyconf = info->control.hw_key; iwlagn_tx_cmd_build_hwcrypto() local [all...] |
| H A D | agn.h | 307 struct ieee80211_key_conf *keyconf,
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | sta.c | 2614 struct ieee80211_key_conf *keyconf, in __iwl_mvm_remove_sta_key() argument 2631 key_flags = cpu_to_le16((keyconf->keyidx << STA_KEY_FLG_KEYID_POS) & in __iwl_mvm_remove_sta_key() 2644 u.cmd.common.key_offset = keyconf->hw_key_idx; in __iwl_mvm_remove_sta_key() 3693 struct ieee80211_key_conf *keyconf, in iwl_mvm_send_sta_igtk() 3699 if (WARN_ON((keyconf->flags & IEEE80211_KEY_FLAG_PAIRWISE) || in iwl_mvm_send_sta_igtk() 3700 (keyconf->keyidx != 4 && keyconf->keyidx != 5 && in iwl_mvm_send_sta_igtk() 3701 keyconf->keyidx != 6 && keyconf->keyidx != 7) || in iwl_mvm_send_sta_igtk() 3702 (keyconf in iwl_mvm_send_sta_igtk() 3689 iwl_mvm_send_sta_igtk(struct iwl_mvm * mvm,struct ieee80211_key_conf * keyconf,u8 sta_id,bool remove_key) iwl_mvm_send_sta_igtk() argument 3796 __iwl_mvm_set_sta_key(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct ieee80211_key_conf * keyconf,u8 key_offset,bool mcast) __iwl_mvm_set_sta_key() argument 3844 iwl_mvm_set_sta_key(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct ieee80211_key_conf * keyconf,u8 key_offset) iwl_mvm_set_sta_key() argument 3946 iwl_mvm_remove_sta_key(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct ieee80211_key_conf * keyconf) iwl_mvm_remove_sta_key() argument 4003 iwl_mvm_update_tkip_key(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_key_conf * keyconf,struct ieee80211_sta * sta,u32 iv32,u16 * phase1key) iwl_mvm_update_tkip_key() argument [all...] |
| H A D | tx.c | 443 struct ieee80211_key_conf *keyconf = info->control.hw_key; in iwl_mvm_set_tx_cmd_pn() local 446 pn = atomic64_inc_return(&keyconf->tx_pn); in iwl_mvm_set_tx_cmd_pn() 449 crypto_hdr[3] = 0x20 | (keyconf->keyidx << 6); in iwl_mvm_set_tx_cmd_pn() 466 struct ieee80211_key_conf *keyconf = info->control.hw_key; in iwl_mvm_set_tx_cmd_crypto() local 471 switch (keyconf->cipher) { in iwl_mvm_set_tx_cmd_crypto() 479 pn = atomic64_inc_return(&keyconf->tx_pn); in iwl_mvm_set_tx_cmd_crypto() 480 ieee80211_tkip_add_iv(crypto_hdr, keyconf, pn); in iwl_mvm_set_tx_cmd_crypto() 481 ieee80211_get_tkip_p2k(keyconf, skb_frag, tx_cmd_params->key); in iwl_mvm_set_tx_cmd_crypto() 489 ((keyconf->keyidx << TX_CMD_SEC_WEP_KEY_IDX_POS) & in iwl_mvm_set_tx_cmd_crypto() 492 memcpy(&tx_cmd_params->key[3], keyconf->key, keyconf->keylen); in iwl_mvm_set_tx_cmd_crypto() [all …]
|
| H A D | mvm.h | 1733 struct ieee80211_key_conf *keyconf = info->control.hw_key; in iwl_mvm_set_tx_cmd_ccmp() 1736 memcpy(tx_cmd_params->key, keyconf->key, keyconf->keylen); in iwl_mvm_set_tx_cmd_ccmp() 2449 struct ieee80211_key_conf *keyconf); 2453 struct ieee80211_key_conf *keyconf); 2457 struct ieee80211_key_conf *keyconf); 2463 struct ieee80211_key_conf *keyconf); 2467 struct ieee80211_key_conf *keyconf); 2766 struct ieee80211_key_conf *keyconf, 1734 struct ieee80211_key_conf *keyconf = info->control.hw_key; iwl_mvm_set_tx_cmd_ccmp() local
|
| /linux/drivers/net/ovpn/ |
| H A D | crypto.c | 178 struct ovpn_key_config *keyconf) in ovpn_crypto_config_get() argument 201 keyconf->cipher_alg = ovpn_aead_crypto_alg(ks); in ovpn_crypto_config_get() 202 keyconf->key_id = ks->key_id; in ovpn_crypto_config_get()
|
| H A D | netlink.c | 1047 const struct ovpn_key_config *keyconf) in ovpn_nl_send_key() argument 1065 nla_put_u32(skb, OVPN_A_KEYCONF_KEY_ID, keyconf->key_id) || in ovpn_nl_send_key() 1066 nla_put_u32(skb, OVPN_A_KEYCONF_CIPHER_ALG, keyconf->cipher_alg)) in ovpn_nl_send_key() 1082 struct ovpn_key_config keyconf = { 0 }; in ovpn_nl_key_get_doit() local 1134 ret = ovpn_crypto_config_get(&peer->crypto, slot, &keyconf); in ovpn_nl_key_get_doit() 1148 ret = ovpn_nl_send_key(msg, info, peer->id, slot, &keyconf); in ovpn_nl_key_get_doit()
|
| H A D | crypto.h | 143 struct ovpn_key_config *keyconf);
|
| /linux/drivers/net/wireless/intel/iwlegacy/ |
| H A D | 3945-mac.c | 118 struct ieee80211_key_conf *keyconf, u8 sta_id) in il3945_set_ccmp_dynamic_key_info() argument 125 key_flags |= cpu_to_le16(keyconf->keyidx << STA_KEY_FLG_KEYID_POS); in il3945_set_ccmp_dynamic_key_info() 130 keyconf->flags |= IEEE80211_KEY_FLAG_GENERATE_IV; in il3945_set_ccmp_dynamic_key_info() 131 keyconf->hw_key_idx = keyconf->keyidx; in il3945_set_ccmp_dynamic_key_info() 135 il->stations[sta_id].keyinfo.cipher = keyconf->cipher; in il3945_set_ccmp_dynamic_key_info() 136 il->stations[sta_id].keyinfo.keylen = keyconf->keylen; in il3945_set_ccmp_dynamic_key_info() 137 memcpy(il->stations[sta_id].keyinfo.key, keyconf->key, keyconf->keylen); in il3945_set_ccmp_dynamic_key_info() 139 memcpy(il->stations[sta_id].sta.key.key, keyconf in il3945_set_ccmp_dynamic_key_info() 166 il3945_set_tkip_dynamic_key_info(struct il_priv * il,struct ieee80211_key_conf * keyconf,u8 sta_id) il3945_set_tkip_dynamic_key_info() argument 173 il3945_set_wep_dynamic_key_info(struct il_priv * il,struct ieee80211_key_conf * keyconf,u8 sta_id) il3945_set_wep_dynamic_key_info() argument 199 il3945_set_dynamic_key(struct il_priv * il,struct ieee80211_key_conf * keyconf,u8 sta_id) il3945_set_dynamic_key() argument [all...] |
| H A D | 4965.h | 125 struct ieee80211_key_conf *keyconf, 163 struct ieee80211_key_conf *keyconf,
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
| H A D | trx.c | 166 struct ieee80211_key_conf *keyconf; in rtl92de_tx_fill_desc() local 168 keyconf = info->control.hw_key; in rtl92de_tx_fill_desc() 169 switch (keyconf->cipher) { in rtl92de_tx_fill_desc()
|
| /linux/tools/testing/selftests/net/ovpn/ |
| H A D | ovpn-cli.c | 976 struct nlattr *keyconf, *key_dir; in ovpn_del_key() 984 keyconf = nla_nest_start(ctx->nl_msg, OVPN_A_KEYCONF); in ovpn_del_key() 1000 nla_nest_end(ctx->nl_msg, keyconf); in ovpn_handle_key() 1010 struct nlattr *keyconf; in ovpn_handle_key() 1018 keyconf = nla_nest_start(ctx->nl_msg, OVPN_A_KEYCONF); in ovpn_handle_key() 1021 nla_nest_end(ctx->nl_msg, keyconf); in ovpn_handle_key() 1091 struct nlattr *keyconf; 1099 keyconf = nla_nest_start(ctx->nl_msg, OVPN_A_KEYCONF); in ovpn_addattr() 1102 nla_nest_end(ctx->nl_msg, keyconf); in ovpn_addattr() 937 struct nlattr *keyconf, *key_dir; ovpn_new_key() local 971 struct nlattr *keyconf; ovpn_del_key() local 1052 struct nlattr *keyconf; ovpn_get_key() local
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
| H A D | trx.c | 439 struct ieee80211_key_conf *keyconf; in rtl92se_tx_fill_desc() local 441 keyconf = info->control.hw_key; in rtl92se_tx_fill_desc() 442 switch (keyconf->cipher) { in rtl92se_tx_fill_desc()
|
| /linux/include/net/ |
| H A D | mac80211.h | 6199 * @keyconf: the parameter passed with the set key 6203 void ieee80211_get_tkip_p1k_iv(struct ieee80211_key_conf *keyconf, 6212 * @keyconf: the parameter passed with the set key 6217 static inline void ieee80211_get_tkip_p1k(struct ieee80211_key_conf *keyconf, 6224 ieee80211_get_tkip_p1k_iv(keyconf, iv32, p1k); 6233 * @keyconf: the parameter passed with the set key 6238 void ieee80211_get_tkip_rx_p1k(struct ieee80211_key_conf *keyconf, 6247 * @keyconf: the parameter passed with the set key 6252 void ieee80211_get_tkip_p2k(struct ieee80211_key_conf *keyconf, 6259 * @keyconf 6182 ieee80211_get_tkip_p1k(struct ieee80211_key_conf * keyconf,struct sk_buff * skb,u16 * p1k) ieee80211_get_tkip_p1k() argument [all...] |
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192du/ |
| H A D | trx.c | 160 struct ieee80211_key_conf *keyconf = info->control.hw_key; in rtl92du_tx_fill_desc() local 162 switch (keyconf->cipher) { in rtl92du_tx_fill_desc()
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
| H A D | trx.c | 598 struct ieee80211_key_conf *keyconf; in rtl88ee_tx_fill_desc() local 600 keyconf = info->control.hw_key; in rtl88ee_tx_fill_desc() 601 switch (keyconf->cipher) { in rtl88ee_tx_fill_desc()
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
| H A D | trx.c | 449 struct ieee80211_key_conf *keyconf = in rtl92ce_tx_fill_desc() local 452 switch (keyconf->cipher) { in rtl92ce_tx_fill_desc()
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
| H A D | trx.c | 449 struct ieee80211_key_conf *keyconf = in rtl8723e_tx_fill_desc() local 452 switch (keyconf->cipher) { in rtl8723e_tx_fill_desc()
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
| H A D | trx.c | 523 struct ieee80211_key_conf *keyconf = in rtl8723be_tx_fill_desc() local 525 switch (keyconf->cipher) { in rtl8723be_tx_fill_desc()
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
| H A D | trx.c | 561 struct ieee80211_key_conf *keyconf = info->control.hw_key; in rtl92cu_tx_fill_desc() local 563 switch (keyconf->cipher) { in rtl92cu_tx_fill_desc()
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
| H A D | trx.c | 769 struct ieee80211_key_conf *keyconf = in rtl8821ae_tx_fill_desc() local 771 switch (keyconf->cipher) { in rtl8821ae_tx_fill_desc()
|
| /linux/drivers/net/wireless/broadcom/b43legacy/ |
| H A D | b43legacy.h | 560 void *keyconf; member
|
| /linux/drivers/net/wireless/broadcom/b43/ |
| H A D | b43.h | 702 struct ieee80211_key_conf *keyconf; member
|
| H A D | xmit.c | 302 if (unlikely(!key->keyconf)) { in b43_generate_txhdr()
|