Lines Matching refs:encr_keys
453 struct rndis_wlan_encr_key encr_keys[RNDIS_WLAN_NUM_KEYS]; member
571 int cipher = priv->encr_keys[idx].cipher; in is_wpa_key()
1372 priv->encr_keys[index].len = key_len; in add_wep_key()
1373 priv->encr_keys[index].cipher = cipher; in add_wep_key()
1374 memcpy(&priv->encr_keys[index].material, key, key_len); in add_wep_key()
1375 eth_broadcast_addr(priv->encr_keys[index].bssid); in add_wep_key()
1463 memset(&priv->encr_keys[index], 0, sizeof(priv->encr_keys[index])); in add_wpa_key()
1464 priv->encr_keys[index].len = key_len; in add_wpa_key()
1465 priv->encr_keys[index].cipher = cipher; in add_wpa_key()
1466 memcpy(&priv->encr_keys[index].material, key, key_len); in add_wpa_key()
1468 memcpy(&priv->encr_keys[index].bssid, ndis_key.bssid, ETH_ALEN); in add_wpa_key()
1470 eth_broadcast_addr(priv->encr_keys[index].bssid); in add_wpa_key()
1486 key = priv->encr_keys[key_idx]; in restore_key()
1506 memset(&priv->encr_keys[idx], 0, sizeof(priv->encr_keys[idx])); in clear_key()
1521 if (priv->encr_keys[index].len == 0) in remove_key()
1528 priv->encr_keys[index].len); in remove_key()
2448 key = priv->encr_keys[key_index]; in rndis_set_default_key()