Lines Matching refs:crypt

650 			struct lib80211_crypt_data *crypt)  in hostap_rx_frame_decrypt()  argument
655 if (crypt == NULL || crypt->ops->decrypt_mpdu == NULL) in hostap_rx_frame_decrypt()
662 strcmp(crypt->ops->name, "TKIP") == 0) { in hostap_rx_frame_decrypt()
671 atomic_inc(&crypt->refcnt); in hostap_rx_frame_decrypt()
672 res = crypt->ops->decrypt_mpdu(skb, hdrlen, crypt->priv); in hostap_rx_frame_decrypt()
673 atomic_dec(&crypt->refcnt); in hostap_rx_frame_decrypt()
688 int keyidx, struct lib80211_crypt_data *crypt) in hostap_rx_frame_decrypt_msdu() argument
693 if (crypt == NULL || crypt->ops->decrypt_msdu == NULL) in hostap_rx_frame_decrypt_msdu()
699 atomic_inc(&crypt->refcnt); in hostap_rx_frame_decrypt_msdu()
700 res = crypt->ops->decrypt_msdu(skb, keyidx, hdrlen, crypt->priv); in hostap_rx_frame_decrypt_msdu()
701 atomic_dec(&crypt->refcnt); in hostap_rx_frame_decrypt_msdu()
733 struct lib80211_crypt_data *crypt = NULL; in hostap_80211_rx() local
784 crypt = local->crypt_info.crypt[idx]; in hostap_80211_rx()
795 (void) hostap_handle_sta_crypto(local, hdr, &crypt, in hostap_80211_rx()
800 if (crypt && (crypt->ops == NULL || in hostap_80211_rx()
801 crypt->ops->decrypt_mpdu == NULL)) in hostap_80211_rx()
802 crypt = NULL; in hostap_80211_rx()
804 if (!crypt && (fc & IEEE80211_FCTL_PROTECTED)) { in hostap_80211_rx()
823 (keyidx = hostap_rx_frame_decrypt(local, skb, crypt)) < 0) in hostap_80211_rx()
912 (keyidx = hostap_rx_frame_decrypt(local, skb, crypt)) < 0) in hostap_80211_rx()
976 hostap_rx_frame_decrypt_msdu(local, skb, keyidx, crypt)) in hostap_80211_rx()
980 if (crypt && !(fc & IEEE80211_FCTL_PROTECTED) && !local->open_wep) { in hostap_80211_rx()