Lines Matching refs:key_data
11 mt76x02_mac_get_key_info(struct ieee80211_key_conf *key, u8 *key_data) in mt76x02_mac_get_key_info() argument
13 memset(key_data, 0, 32); in mt76x02_mac_get_key_info()
20 memcpy(key_data, key->key, key->keylen); in mt76x02_mac_get_key_info()
40 u8 key_data[32]; in mt76x02_mac_shared_key_setup() local
43 cipher = mt76x02_mac_get_key_info(key, key_data); in mt76x02_mac_shared_key_setup()
52 mt76_wr_copy(dev, MT_SKEY(vif_idx, key_idx), key_data, in mt76x02_mac_shared_key_setup()
53 sizeof(key_data)); in mt76x02_mac_shared_key_setup()
63 u8 key_data[32]; in mt76x02_mac_wcid_sync_pn() local
67 cipher = mt76x02_mac_get_key_info(key, key_data); in mt76x02_mac_wcid_sync_pn()
88 u8 key_data[32]; in mt76x02_mac_wcid_set_key() local
92 cipher = mt76x02_mac_get_key_info(key, key_data); in mt76x02_mac_wcid_set_key()
96 mt76_wr_copy(dev, MT_WCID_KEY(idx), key_data, sizeof(key_data)); in mt76x02_mac_wcid_set_key()