Lines Matching refs:encr_keys
471 struct rndis_wlan_encr_key encr_keys[RNDIS_WLAN_NUM_KEYS]; member
587 int cipher = priv->encr_keys[idx].cipher; in is_wpa_key()
1391 priv->encr_keys[index].len = key_len; in add_wep_key()
1392 priv->encr_keys[index].cipher = cipher; in add_wep_key()
1393 memcpy(&priv->encr_keys[index].material, key, key_len); in add_wep_key()
1394 eth_broadcast_addr(priv->encr_keys[index].bssid); in add_wep_key()
1482 memset(&priv->encr_keys[index], 0, sizeof(priv->encr_keys[index])); in add_wpa_key()
1483 priv->encr_keys[index].len = key_len; in add_wpa_key()
1484 priv->encr_keys[index].cipher = cipher; in add_wpa_key()
1485 memcpy(&priv->encr_keys[index].material, key, key_len); in add_wpa_key()
1487 memcpy(&priv->encr_keys[index].bssid, ndis_key.bssid, ETH_ALEN); in add_wpa_key()
1489 eth_broadcast_addr(priv->encr_keys[index].bssid); in add_wpa_key()
1505 key = priv->encr_keys[key_idx]; in restore_key()
1525 memset(&priv->encr_keys[idx], 0, sizeof(priv->encr_keys[idx])); in clear_key()
1540 if (priv->encr_keys[index].len == 0) in remove_key()
1547 priv->encr_keys[index].len); in remove_key()
2464 key = priv->encr_keys[key_index]; in rndis_set_default_key()