Lines Matching refs:crypt

123 	if (sta->crypt) {  in ap_free_sta()
124 sta->crypt->ops->deinit(sta->crypt->priv); in ap_free_sta()
125 kfree(sta->crypt); in ap_free_sta()
126 sta->crypt = NULL; in ap_free_sta()
877 if (ap->crypt) in hostap_free_data()
878 ap->crypt->deinit(ap->crypt_priv); in hostap_free_data()
879 ap->crypt = ap->crypt_priv = NULL; in hostap_free_data()
1042 if (sta->crypt && sta->crypt->ops && sta->crypt->ops->print_stats) in prism2_sta_proc_show()
1043 sta->crypt->ops->print_stats(m, sta->crypt->priv); in prism2_sta_proc_show()
1210 ap->crypt = lib80211_get_crypto_ops("WEP"); in ap_crypt_init()
1212 if (ap->crypt) { in ap_crypt_init()
1213 if (ap->crypt->init) { in ap_crypt_init()
1214 ap->crypt_priv = ap->crypt->init(0); in ap_crypt_init()
1216 ap->crypt = NULL; in ap_crypt_init()
1220 ap->crypt->set_key(key, WEP_KEY_LEN, NULL, in ap_crypt_init()
1226 if (ap->crypt == NULL) { in ap_crypt_init()
1246 if (ap->crypt == NULL) { in ap_auth_make_challenge()
1248 if (ap->crypt == NULL) in ap_auth_make_challenge()
1259 ap->crypt->extra_mpdu_prefix_len + in ap_auth_make_challenge()
1260 ap->crypt->extra_mpdu_postfix_len); in ap_auth_make_challenge()
1266 skb_reserve(skb, ap->crypt->extra_mpdu_prefix_len); in ap_auth_make_challenge()
1268 if (ap->crypt->encrypt_mpdu(skb, 0, ap->crypt_priv)) { in ap_auth_make_challenge()
1274 skb_copy_from_linear_data_offset(skb, ap->crypt->extra_mpdu_prefix_len, in ap_auth_make_challenge()
1296 struct lib80211_crypt_data *crypt; in handle_authen() local
1315 if (sta && sta->crypt) in handle_authen()
1316 crypt = sta->crypt; in handle_authen()
1321 crypt = local->crypt_info.crypt[idx]; in handle_authen()
1342 crypt && auth_alg == WLAN_AUTH_SHARED_KEY)) { in handle_authen()
2802 sta->crypt && tx->host_encrypt) { in hostap_handle_sta_tx()
2803 tx->crypt = sta->crypt; in hostap_handle_sta_tx()
3064 struct lib80211_crypt_data **crypt, in hostap_handle_sta_crypto() argument
3078 if (sta->crypt) { in hostap_handle_sta_crypto()
3079 *crypt = sta->crypt; in hostap_handle_sta_crypto()
3212 struct lib80211_crypt_data ***crypt) in ap_crypt_get_ptrs() argument
3231 *crypt = &sta->crypt; in ap_crypt_get_ptrs()