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()
1373 priv->encr_keys[index].len = key_len; in add_wep_key()
1374 priv->encr_keys[index].cipher = cipher; in add_wep_key()
1375 memcpy(&priv->encr_keys[index].material, key, key_len); in add_wep_key()
1376 eth_broadcast_addr(priv->encr_keys[index].bssid); in add_wep_key()
1464 memset(&priv->encr_keys[index], 0, sizeof(priv->encr_keys[index])); in add_wpa_key()
1465 priv->encr_keys[index].len = key_len; in add_wpa_key()
1466 priv->encr_keys[index].cipher = cipher; in add_wpa_key()
1467 memcpy(&priv->encr_keys[index].material, key, key_len); in add_wpa_key()
1469 memcpy(&priv->encr_keys[index].bssid, ndis_key.bssid, ETH_ALEN); in add_wpa_key()
1471 eth_broadcast_addr(priv->encr_keys[index].bssid); in add_wpa_key()
1487 key = priv->encr_keys[key_idx]; in restore_key()
1507 memset(&priv->encr_keys[idx], 0, sizeof(priv->encr_keys[idx])); in clear_key()
1522 if (priv->encr_keys[index].len == 0) in remove_key()
1529 priv->encr_keys[index].len); in remove_key()
2446 key = priv->encr_keys[key_index]; in rndis_set_default_key()