Lines Matching refs:encr_keys
453 struct rndis_wlan_encr_key encr_keys[RNDIS_WLAN_NUM_KEYS]; member
569 int cipher = priv->encr_keys[idx].cipher; in is_wpa_key()
1370 priv->encr_keys[index].len = key_len; in add_wep_key()
1371 priv->encr_keys[index].cipher = cipher; in add_wep_key()
1372 memcpy(&priv->encr_keys[index].material, key, key_len); in add_wep_key()
1373 eth_broadcast_addr(priv->encr_keys[index].bssid); in add_wep_key()
1461 memset(&priv->encr_keys[index], 0, sizeof(priv->encr_keys[index])); in add_wpa_key()
1462 priv->encr_keys[index].len = key_len; in add_wpa_key()
1463 priv->encr_keys[index].cipher = cipher; in add_wpa_key()
1464 memcpy(&priv->encr_keys[index].material, key, key_len); in add_wpa_key()
1466 memcpy(&priv->encr_keys[index].bssid, ndis_key.bssid, ETH_ALEN); in add_wpa_key()
1468 eth_broadcast_addr(priv->encr_keys[index].bssid); in add_wpa_key()
1484 key = priv->encr_keys[key_idx]; in restore_key()
1504 memset(&priv->encr_keys[idx], 0, sizeof(priv->encr_keys[idx])); in clear_key()
1519 if (priv->encr_keys[index].len == 0) in remove_key()
1526 priv->encr_keys[index].len); in remove_key()
2443 key = priv->encr_keys[key_index]; in rndis_set_default_key()