Home
last modified time | relevance | path

Searched refs:ptk (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.4/drivers/staging/wusbcore/host/whci/
Dwusb.c161 const void *ptk, size_t key_size) in whc_set_ptk() argument
169 if (ptk) { in whc_set_ptk()
170 ret = whc_set_key(whc, port_idx, tkid, ptk, key_size, false); in whc_set_ptk()
Dwhcd.h148 const void *ptk, size_t key_size);
/Linux-v5.4/drivers/staging/wusbcore/
Dcrypto.c368 .ptk = {
412 wusb_key_dump(&keydvt_out.ptk, sizeof(keydvt_out.ptk)); in wusb_key_derive_verify()
Dsecurity.c482 keydvt_out.ptk, sizeof(keydvt_out.ptk)); in wusb_dev_4way_handshake()
/Linux-v5.4/drivers/staging/wusbcore/include/
Dwusb.h291 u8 ptk[16]; member
/Linux-v5.4/net/mac80211/
Dkey.c442 rcu_assign_pointer(sta->ptk[idx], new); in ieee80211_key_replace()
779 old_key = key_mtx_dereference(sdata->local, sta->ptk[idx]); in ieee80211_key_link()
780 alt_key = key_mtx_dereference(sdata->local, sta->ptk[idx ^ 1]); in ieee80211_key_link()
1044 key = key_mtx_dereference(local, sta->ptk[i]); in ieee80211_free_sta_keys()
Dsta_info.h530 struct ieee80211_key __rcu *ptk[NUM_DEFAULT_KEYS]; member
Dcfg.c376 key = key_mtx_dereference(local, sta->ptk[key_idx]); in ieee80211_set_tx()
521 key = key_mtx_dereference(local, sta->ptk[key_idx]); in ieee80211_del_key()
569 key = rcu_dereference(sta->ptk[key_idx]); in ieee80211_get_key()
Drx.c1920 sta_ptk = rcu_dereference(rx->sta->ptk[keyid]); in ieee80211_rx_h_decrypt()
1929 ptk_idx = rcu_dereference(rx->sta->ptk[keyid]); in ieee80211_rx_h_decrypt()
4057 key = rcu_dereference(sta->ptk[sta->ptk_idx]); in ieee80211_check_fast_rx()
Dsta_info.c353 BUILD_BUG_ON(ARRAY_SIZE(sta->ptk) <= INVALID_PTK_KEYIDX); in sta_info_alloc()
Dtx.c596 (key = rcu_dereference(tx->sta->ptk[tx->sta->ptk_idx]))) in ieee80211_tx_h_select_key()
2992 build.key = rcu_access_pointer(sta->ptk[sta->ptk_idx]); in ieee80211_check_fast_xmit()
/Linux-v5.4/drivers/staging/wilc1000/
Dwilc_hif.h179 int wilc_add_ptk(struct wilc_vif *vif, const u8 *ptk, u8 ptk_key_len,
Dwilc_hif.c1193 int wilc_add_ptk(struct wilc_vif *vif, const u8 *ptk, u8 ptk_key_len, in wilc_add_ptk() argument
1216 memcpy(&key_buf->key[0], ptk, ptk_key_len); in wilc_add_ptk()
1243 memcpy(&key_buf->key[0], ptk, ptk_key_len); in wilc_add_ptk()