Lines Matching refs:key_data
33 mt76x02_mac_get_key_info(struct ieee80211_key_conf *key, u8 *key_data) in mt76x02_mac_get_key_info() argument
35 memset(key_data, 0, 32); in mt76x02_mac_get_key_info()
42 memcpy(key_data, key->key, key->keylen); in mt76x02_mac_get_key_info()
62 u8 key_data[32]; in mt76x02_mac_shared_key_setup() local
65 cipher = mt76x02_mac_get_key_info(key, key_data); 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()
75 sizeof(key_data)); in mt76x02_mac_shared_key_setup()
85 u8 key_data[32]; in mt76x02_mac_wcid_sync_pn() local
89 cipher = mt76x02_mac_get_key_info(key, key_data); in mt76x02_mac_wcid_sync_pn()
110 u8 key_data[32]; in mt76x02_mac_wcid_set_key() local
114 cipher = mt76x02_mac_get_key_info(key, key_data); in mt76x02_mac_wcid_set_key()
118 mt76_wr_copy(dev, MT_WCID_KEY(idx), key_data, sizeof(key_data)); in mt76x02_mac_wcid_set_key()