Lines Matching refs:keys
413 if (!wdev->wext.keys) { in __cfg80211_set_encryption()
414 wdev->wext.keys = kzalloc(sizeof(*wdev->wext.keys), in __cfg80211_set_encryption()
416 if (!wdev->wext.keys) in __cfg80211_set_encryption()
419 wdev->wext.keys->params[i].key = in __cfg80211_set_encryption()
420 wdev->wext.keys->data[i]; in __cfg80211_set_encryption()
468 memset(wdev->wext.keys->data[idx], 0, in __cfg80211_set_encryption()
469 sizeof(wdev->wext.keys->data[idx])); in __cfg80211_set_encryption()
470 wdev->wext.keys->params[idx].key_len = 0; in __cfg80211_set_encryption()
471 wdev->wext.keys->params[idx].cipher = 0; in __cfg80211_set_encryption()
507 wdev->wext.keys->params[idx] = *params; in __cfg80211_set_encryption()
508 memcpy(wdev->wext.keys->data[idx], in __cfg80211_set_encryption()
510 wdev->wext.keys->params[idx].key = in __cfg80211_set_encryption()
511 wdev->wext.keys->data[idx]; in __cfg80211_set_encryption()
739 if (!wdev->wext.keys || !wdev->wext.keys->params[idx].cipher) { in cfg80211_wext_giwencode()
746 wdev->wext.keys->params[idx].key_len); in cfg80211_wext_giwencode()
747 memcpy(keybuf, wdev->wext.keys->params[idx].key, erq->length); in cfg80211_wext_giwencode()