/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/umac/ |
D | wep.c | 50 int keylen, int keyidx, u8 *iv) in ieee80211_wep_get_iv() argument 62 *iv++ = keyidx << 6; in ieee80211_wep_get_iv() 68 int keylen, int keyidx) in ieee80211_wep_add_iv() argument 89 ieee80211_wep_get_iv(local, keylen, keyidx, newhdr + hdrlen); in ieee80211_wep_add_iv() 135 const u8 *key, int keylen, int keyidx) in ieee80211_wep_encrypt() argument 144 iv = ieee80211_wep_add_iv(local, skb, keylen, keyidx); in ieee80211_wep_encrypt() 199 u8 keyidx; in ieee80211_wep_decrypt() local 214 keyidx = skb->data[hdrlen + 3] >> 6; in ieee80211_wep_decrypt() 216 if (!key || keyidx != key->conf.keyidx) in ieee80211_wep_decrypt() 280 tx->key->conf.keyidx)) in wep_encrypt_skb() [all …]
|
D | key.c | 203 key->conf.keyidx, in ieee80211_key_enable_hw_accel() 261 key->conf.keyidx, in ieee80211_key_disable_hw_accel() 274 sta->ptk_idx = key->conf.keyidx; in _ieee80211_set_tx_key() 419 WARN_ON(new && old && new->conf.keyidx != old->conf.keyidx); in ieee80211_key_replace() 429 idx = old->conf.keyidx; in ieee80211_key_replace() 439 idx = new->conf.keyidx; in ieee80211_key_replace() 482 __ieee80211_set_default_key(sdata, new->conf.keyidx, in ieee80211_key_replace() 485 __ieee80211_set_default_key(sdata, new->conf.keyidx, in ieee80211_key_replace() 489 new->conf.keyidx); in ieee80211_key_replace() 522 key->conf.keyidx = idx; in ieee80211_key_alloc() [all …]
|
D | wep.h | 21 const u8 *key, int keylen, int keyidx);
|
D | wpa.c | 137 if (rx->sdata->vif.type == NL80211_IFTYPE_AP && rx->key->conf.keyidx) { in ieee80211_rx_h_michael_mic_verify() 188 rx->key ? rx->key->conf.keyidx : -1, in ieee80211_rx_h_michael_mic_verify() 463 ccmp_pn2hdr(pos, pn, key->conf.keyidx); in ccmp_encrypt_skb() 695 gcmp_pn2hdr(pos, pn, key->conf.keyidx); in gcmp_encrypt_skb() 959 mmie->key_id = cpu_to_le16(key->conf.keyidx); in ieee80211_crypto_aes_cmac_encrypt() 1006 mmie->key_id = cpu_to_le16(key->conf.keyidx); in ieee80211_crypto_aes_cmac_256_encrypt() 1151 mmie->key_id = cpu_to_le16(key->conf.keyidx); in ieee80211_crypto_aes_gmac_encrypt()
|
D | tkip.c | 145 *pos++ = (keyconf->keyidx << 6) | (1 << 5) /* Ext IV */; in mac80211_tkip_add_iv() 258 if ((keyid >> 6) != key->conf.keyidx) in ieee80211_tkip_decrypt_data()
|
D | debugfs_key.c | 63 KEY_CONF_FILE(keyidx, D); 352 DEBUGFS_ADD(keyidx); in ieee80211_debugfs_key_add()
|
D | trace.h | 82 __field(s8, keyidx) 85 __entry->keyidx = (k)->keyidx; \ 88 #define KEY_PR_ARG __entry->cipher, __entry->flags, __entry->keyidx, __entry->hw_key_idx
|
D | rx.c | 1884 int keyidx; in ieee80211_rx_h_decrypt() local 2015 keyidx = ieee80211_get_keyid(rx->skb, cs); in ieee80211_rx_h_decrypt() 2017 if (unlikely(keyidx < 0)) in ieee80211_rx_h_decrypt() 2022 rx->key = rcu_dereference(rx->sta->gtk[keyidx]); in ieee80211_rx_h_decrypt() 2026 rx->key = rcu_dereference(rx->sdata->keys[keyidx]); in ieee80211_rx_h_decrypt()
|
D | tx.c | 3424 crypto_hdr[3] = 0x20 | (key->conf.keyidx << 6); in ieee80211_xmit_fast_finish()
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/ |
D | hmac_wapi.c | 90 hi_u32 hmac_wapi_calc_mic_data(const mac_ieee80211_frame_stru *mac_hdr, hi_u8 keyidx, const hi_u8 *… in hmac_wapi_calc_mic_data() argument 146 *puc_mic = keyidx; in hmac_wapi_calc_mic_data() 212 if (wapi->keyidx != keyidx_rx && wapi->keyupdate_flg != HI_TRUE) { in hmac_wapi_is_keyidx_valid() 214 wapi->keyidx, keyidx_rx, wapi->keyupdate_flg); in hmac_wapi_is_keyidx_valid() 420 wapi->keyidx = key_index; in hmac_wapi_add_key() 633 hmac_wapi_pn_update(wapi->ast_wapi_key[wapi->keyidx].auc_pn_rx, wapi->pn_inc); in hmac_wapi_decrypt() 737 hmac_wapi_pn_update(wapi->ast_wapi_key[wapi->keyidx].auc_pn_tx, wapi->pn_inc); in hmac_wapi_encrypt_action() 757 hmac_wapi.key_index = wapi->keyidx; in hmac_wapi_encrypt() 914 …oam_warning_log3(0, OAM_SF_ANY, "%u\t%08x%04x\t\n", wapi->keyidx, wapi->keyupdate_flg, wapi->pn_in… in hmac_wapi_display_usr_info()
|
D | hmac_user.h | 199 hi_u8 keyidx; member
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/include/ |
D | rtw_xmit.h | 143 #define WEP_IV(pattrib_iv, dot11txpn, keyidx)\ argument 149 pattrib_iv[3] = ((keyidx & 0x3)<<6);\ 153 #define TKIP_IV(pattrib_iv, dot11txpn, keyidx)\ argument 159 pattrib_iv[3] = BIT(5) | ((keyidx & 0x3)<<6);\ 166 #define AES_IV(pattrib_iv, dot11txpn, keyidx)\ argument 172 pattrib_iv[3] = BIT(5) | ((keyidx & 0x3)<<6);\
|
D | rtw_wapi.h | 143 u8 keyidx; /* 0 or 1,new or old key */ member
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/ |
D | rtw_wapi.c | 153 && pWapiInfo->wapiCamEntry[i].keyidx == KID in WapiGetEntryForCamWrite() 165 pWapiInfo->wapiCamEntry[i].keyidx = KID; in WapiGetEntryForCamWrite() 200 && pWapiInfo->wapiCamEntry[i].keyidx == keyid in WapiGetEntryForCamClear() 203 pWapiInfo->wapiCamEntry[i].keyidx = 2; in WapiGetEntryForCamClear() 249 pWapiInfo->wapiCamEntry[i].keyidx = 2; /* invalid */ in WapiResetAllCamEntry() 323 pWapiInfo->wapiCamEntry[i].keyidx = 2; /* invalid */ in rtw_wapi_init()
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/wlan/ |
D | sta.c | 1205 wsm_key->wepGroupKey.keyId = key->keyidx; in xradio_set_key() 1231 wsm_key->tkipGroupKey.keyId = key->keyidx; in xradio_set_key() 1249 wsm_key->aesGroupKey.keyId = key->keyidx; in xradio_set_key() 1264 wsm_key->wapiPairwiseKey.keyId = key->keyidx; in xradio_set_key() 1271 wsm_key->wapiGroupKey.keyId = key->keyidx; in xradio_set_key() 1286 wsm_key->igtkGroupKey.keyId = key->keyidx; in xradio_set_key()
|
D | wsm.c | 3179 unlikely(tx_info->control.hw_key->keyidx != in wsm_handle_tx_data() 3263 priv->wep_default_key_id = tx_info->control.hw_key->keyidx; in wsm_handle_tx_data()
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/include/net/ |
D | mac80211.h | 1784 s8 keyidx; member
|