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()
1365 priv->encr_keys[index].len = key_len; in add_wep_key()
1366 priv->encr_keys[index].cipher = cipher; in add_wep_key()
1367 memcpy(&priv->encr_keys[index].material, key, key_len); in add_wep_key()
1368 eth_broadcast_addr(priv->encr_keys[index].bssid); in add_wep_key()
1456 memset(&priv->encr_keys[index], 0, sizeof(priv->encr_keys[index])); in add_wpa_key()
1457 priv->encr_keys[index].len = key_len; in add_wpa_key()
1458 priv->encr_keys[index].cipher = cipher; in add_wpa_key()
1459 memcpy(&priv->encr_keys[index].material, key, key_len); in add_wpa_key()
1461 memcpy(&priv->encr_keys[index].bssid, ndis_key.bssid, ETH_ALEN); in add_wpa_key()
1463 eth_broadcast_addr(priv->encr_keys[index].bssid); in add_wpa_key()
1479 key = priv->encr_keys[key_idx]; in restore_key()
1499 memset(&priv->encr_keys[idx], 0, sizeof(priv->encr_keys[idx])); in clear_key()
1514 if (priv->encr_keys[index].len == 0) in remove_key()
1521 priv->encr_keys[index].len); in remove_key()
2441 key = priv->encr_keys[key_index]; in rndis_set_default_key()