Lines Matching refs:crypt

135 	if (sta->crypt) {  in ap_free_sta()
136 sta->crypt->ops->deinit(sta->crypt->priv); in ap_free_sta()
137 kfree(sta->crypt); in ap_free_sta()
138 sta->crypt = NULL; in ap_free_sta()
923 if (ap->crypt) in hostap_free_data()
924 ap->crypt->deinit(ap->crypt_priv); in hostap_free_data()
925 ap->crypt = ap->crypt_priv = NULL; in hostap_free_data()
1090 if (sta->crypt && sta->crypt->ops && sta->crypt->ops->print_stats) in prism2_sta_proc_show()
1091 sta->crypt->ops->print_stats(m, sta->crypt->priv); in prism2_sta_proc_show()
1271 ap->crypt = lib80211_get_crypto_ops("WEP"); in ap_crypt_init()
1273 if (ap->crypt) { in ap_crypt_init()
1274 if (ap->crypt->init) { in ap_crypt_init()
1275 ap->crypt_priv = ap->crypt->init(0); in ap_crypt_init()
1277 ap->crypt = NULL; in ap_crypt_init()
1281 ap->crypt->set_key(key, WEP_KEY_LEN, NULL, in ap_crypt_init()
1287 if (ap->crypt == NULL) { in ap_crypt_init()
1307 if (ap->crypt == NULL) { in ap_auth_make_challenge()
1309 if (ap->crypt == NULL) in ap_auth_make_challenge()
1320 ap->crypt->extra_mpdu_prefix_len + in ap_auth_make_challenge()
1321 ap->crypt->extra_mpdu_postfix_len); in ap_auth_make_challenge()
1327 skb_reserve(skb, ap->crypt->extra_mpdu_prefix_len); in ap_auth_make_challenge()
1330 if (ap->crypt->encrypt_mpdu(skb, 0, ap->crypt_priv)) { in ap_auth_make_challenge()
1336 skb_copy_from_linear_data_offset(skb, ap->crypt->extra_mpdu_prefix_len, in ap_auth_make_challenge()
1358 struct lib80211_crypt_data *crypt; in handle_authen() local
1377 if (sta && sta->crypt) in handle_authen()
1378 crypt = sta->crypt; in handle_authen()
1383 crypt = local->crypt_info.crypt[idx]; in handle_authen()
1404 crypt && auth_alg == WLAN_AUTH_SHARED_KEY)) { in handle_authen()
2864 sta->crypt && tx->host_encrypt) { in hostap_handle_sta_tx()
2865 tx->crypt = sta->crypt; in hostap_handle_sta_tx()
3126 struct lib80211_crypt_data **crypt, in hostap_handle_sta_crypto() argument
3140 if (sta->crypt) { in hostap_handle_sta_crypto()
3141 *crypt = sta->crypt; in hostap_handle_sta_crypto()
3274 struct lib80211_crypt_data ***crypt) in ap_crypt_get_ptrs() argument
3293 *crypt = &sta->crypt; in ap_crypt_get_ptrs()