Lines Matching refs:crypt

269 			   struct lib80211_crypt_data *crypt)  in libipw_rx_frame_decrypt()  argument
274 if (crypt == NULL || crypt->ops->decrypt_mpdu == NULL) in libipw_rx_frame_decrypt()
280 atomic_inc(&crypt->refcnt); in libipw_rx_frame_decrypt()
281 res = crypt->ops->decrypt_mpdu(skb, hdrlen, crypt->priv); in libipw_rx_frame_decrypt()
282 atomic_dec(&crypt->refcnt); in libipw_rx_frame_decrypt()
301 struct lib80211_crypt_data *crypt) in libipw_rx_frame_decrypt_msdu() argument
306 if (crypt == NULL || crypt->ops->decrypt_msdu == NULL) in libipw_rx_frame_decrypt_msdu()
312 atomic_inc(&crypt->refcnt); in libipw_rx_frame_decrypt_msdu()
313 res = crypt->ops->decrypt_msdu(skb, keyidx, hdrlen, crypt->priv); in libipw_rx_frame_decrypt_msdu()
314 atomic_dec(&crypt->refcnt); in libipw_rx_frame_decrypt_msdu()
348 struct lib80211_crypt_data *crypt = NULL; in libipw_rx() local
429 crypt = ieee->crypt_info.crypt[keyidx]; in libipw_rx()
442 (void)hostap_handle_sta_crypto(local, hdr, &crypt, in libipw_rx()
448 if (crypt && (crypt->ops == NULL || in libipw_rx()
449 crypt->ops->decrypt_mpdu == NULL)) in libipw_rx()
450 crypt = NULL; in libipw_rx()
452 if (!crypt && (fc & IEEE80211_FCTL_PROTECTED)) { in libipw_rx()
467 (keyidx = hostap_rx_frame_decrypt(ieee, skb, crypt)) < 0) { in libipw_rx()
570 (keyidx = libipw_rx_frame_decrypt(ieee, skb, crypt)) < 0) in libipw_rx()
634 libipw_rx_frame_decrypt_msdu(ieee, skb, keyidx, crypt)) in libipw_rx()
638 if (crypt && !(fc & IEEE80211_FCTL_PROTECTED) && !ieee->open_wep) { in libipw_rx()
651 if (crypt && !(fc & IEEE80211_FCTL_PROTECTED) && !ieee->open_wep && in libipw_rx()