crypt 100 crypto/cryptd.c err = crypt(&desc, req->dst, req->src, req->nbytes); crypt 188 crypto/lrw.c return crypt(desc, &w, ctx, crypt 199 crypto/lrw.c return crypt(desc, &w, ctx, crypt 153 crypto/xts.c return crypt(desc, &w, ctx, crypto_cipher_alg(ctx->tweak)->cia_encrypt, crypt 164 crypto/xts.c return crypt(desc, &w, ctx, crypto_cipher_alg(ctx->tweak)->cia_encrypt, crypt 1054 include/net/ieee80211.h struct ieee80211_crypt_data *crypt[WEP_KEYS]; crypt 87 net/ieee80211/ieee80211_crypt.c if (*crypt == NULL) crypt 90 net/ieee80211/ieee80211_crypt.c tmp = *crypt; crypt 91 net/ieee80211/ieee80211_crypt.c *crypt = NULL; crypt 213 net/ieee80211/ieee80211_module.c struct ieee80211_crypt_data *crypt = ieee->crypt[i]; crypt 214 net/ieee80211/ieee80211_module.c if (crypt) { crypt 215 net/ieee80211/ieee80211_module.c if (crypt->ops) { crypt 216 net/ieee80211/ieee80211_module.c crypt->ops->deinit(crypt->priv); crypt 217 net/ieee80211/ieee80211_module.c module_put(crypt->ops->owner); crypt 219 net/ieee80211/ieee80211_module.c kfree(crypt); crypt 220 net/ieee80211/ieee80211_module.c ieee->crypt[i] = NULL; crypt 275 net/ieee80211/ieee80211_rx.c if (crypt == NULL || crypt->ops->decrypt_mpdu == NULL) crypt 281 net/ieee80211/ieee80211_rx.c atomic_inc(&crypt->refcnt); crypt 282 net/ieee80211/ieee80211_rx.c res = crypt->ops->decrypt_mpdu(skb, hdrlen, crypt->priv); crypt 283 net/ieee80211/ieee80211_rx.c atomic_dec(&crypt->refcnt); crypt 311 net/ieee80211/ieee80211_rx.c if (crypt == NULL || crypt->ops->decrypt_msdu == NULL) crypt 317 net/ieee80211/ieee80211_rx.c atomic_inc(&crypt->refcnt); crypt 318 net/ieee80211/ieee80211_rx.c res = crypt->ops->decrypt_msdu(skb, keyidx, hdrlen, crypt->priv); crypt 319 net/ieee80211/ieee80211_rx.c atomic_dec(&crypt->refcnt); crypt 358 net/ieee80211/ieee80211_rx.c struct ieee80211_crypt_data *crypt = NULL; crypt 442 net/ieee80211/ieee80211_rx.c crypt = ieee->crypt[keyidx]; crypt 455 net/ieee80211/ieee80211_rx.c (void)hostap_handle_sta_crypto(local, hdr, &crypt, crypt 461 net/ieee80211/ieee80211_rx.c if (crypt && (crypt->ops == NULL || crypt 462 net/ieee80211/ieee80211_rx.c crypt->ops->decrypt_mpdu == NULL)) crypt 463 net/ieee80211/ieee80211_rx.c crypt = NULL; crypt 465 net/ieee80211/ieee80211_rx.c if (!crypt && (fc & IEEE80211_FCTL_PROTECTED)) { crypt 483 net/ieee80211/ieee80211_rx.c (keyidx = hostap_rx_frame_decrypt(ieee, skb, crypt)) < 0) { crypt 591 net/ieee80211/ieee80211_rx.c (keyidx = ieee80211_rx_frame_decrypt(ieee, skb, crypt)) < 0) crypt 655 net/ieee80211/ieee80211_rx.c ieee80211_rx_frame_decrypt_msdu(ieee, skb, keyidx, crypt)) crypt 659 net/ieee80211/ieee80211_rx.c if (crypt && !(fc & IEEE80211_FCTL_PROTECTED) && !ieee->open_wep) { crypt 675 net/ieee80211/ieee80211_rx.c if (crypt && !(fc & IEEE80211_FCTL_PROTECTED) && !ieee->open_wep && crypt 155 net/ieee80211/ieee80211_tx.c struct ieee80211_crypt_data *crypt = ieee->crypt[ieee->tx_keyidx]; crypt 158 net/ieee80211/ieee80211_tx.c if (crypt == NULL) crypt 163 net/ieee80211/ieee80211_tx.c atomic_inc(&crypt->refcnt); crypt 165 net/ieee80211/ieee80211_tx.c if (crypt->ops && crypt->ops->encrypt_mpdu) crypt 166 net/ieee80211/ieee80211_tx.c res = crypt->ops->encrypt_mpdu(frag, hdr_len, crypt->priv); crypt 168 net/ieee80211/ieee80211_tx.c atomic_dec(&crypt->refcnt); crypt 273 net/ieee80211/ieee80211_tx.c struct ieee80211_crypt_data *crypt; crypt 297 net/ieee80211/ieee80211_tx.c crypt = ieee->crypt[ieee->tx_keyidx]; crypt 302 net/ieee80211/ieee80211_tx.c host_encrypt = ieee->host_encrypt && encrypt && crypt; crypt 303 net/ieee80211/ieee80211_tx.c host_encrypt_msdu = ieee->host_encrypt_msdu && encrypt && crypt; crypt 304 net/ieee80211/ieee80211_tx.c host_build_iv = ieee->host_build_iv && encrypt && crypt; crypt 353 net/ieee80211/ieee80211_tx.c crypt && crypt->ops && crypt->ops->encrypt_msdu) { crypt 355 net/ieee80211/ieee80211_tx.c int len = bytes + hdr_len + crypt->ops->extra_msdu_prefix_len + crypt 356 net/ieee80211/ieee80211_tx.c crypt->ops->extra_msdu_postfix_len; crypt 362 net/ieee80211/ieee80211_tx.c skb_reserve(skb_new, crypt->ops->extra_msdu_prefix_len); crypt 368 net/ieee80211/ieee80211_tx.c res = crypt->ops->encrypt_msdu(skb_new, hdr_len, crypt->priv); crypt 376 net/ieee80211/ieee80211_tx.c bytes += crypt->ops->extra_msdu_prefix_len + crypt 377 net/ieee80211/ieee80211_tx.c crypt->ops->extra_msdu_postfix_len; crypt 402 net/ieee80211/ieee80211_tx.c bytes_per_frag -= crypt->ops->extra_mpdu_prefix_len + crypt 403 net/ieee80211/ieee80211_tx.c crypt->ops->extra_mpdu_postfix_len; crypt 472 net/ieee80211/ieee80211_tx.c crypt->ops->extra_mpdu_prefix_len); crypt 506 net/ieee80211/ieee80211_tx.c atomic_inc(&crypt->refcnt); crypt 507 net/ieee80211/ieee80211_tx.c if (crypt->ops->build_iv) crypt 508 net/ieee80211/ieee80211_tx.c crypt->ops->build_iv(skb_frag, hdr_len, crypt 511 net/ieee80211/ieee80211_tx.c crypt->priv); crypt 512 net/ieee80211/ieee80211_tx.c atomic_dec(&crypt->refcnt); crypt 315 net/ieee80211/ieee80211_wx.c struct ieee80211_crypt_data **crypt; crypt 334 net/ieee80211/ieee80211_wx.c crypt = &ieee->crypt[key]; crypt 337 net/ieee80211/ieee80211_wx.c if (key_provided && *crypt) { crypt 340 net/ieee80211/ieee80211_wx.c ieee80211_crypt_delayed_deinit(ieee, crypt); crypt 347 net/ieee80211/ieee80211_wx.c if (ieee->crypt[i] != NULL) { crypt 351 net/ieee80211/ieee80211_wx.c &ieee->crypt[i]); crypt 369 net/ieee80211/ieee80211_wx.c if (*crypt != NULL && (*crypt)->ops != NULL && crypt 370 net/ieee80211/ieee80211_wx.c strcmp((*crypt)->ops->name, "WEP") != 0) { crypt 373 net/ieee80211/ieee80211_wx.c ieee80211_crypt_delayed_deinit(ieee, crypt); crypt 376 net/ieee80211/ieee80211_wx.c if (*crypt == NULL && host_crypto) { crypt 401 net/ieee80211/ieee80211_wx.c *crypt = new_crypt; crypt 415 net/ieee80211/ieee80211_wx.c if (*crypt) crypt 416 net/ieee80211/ieee80211_wx.c (*crypt)->ops->set_key(sec.keys[key], len, NULL, crypt 417 net/ieee80211/ieee80211_wx.c (*crypt)->priv); crypt 426 net/ieee80211/ieee80211_wx.c len = (*crypt)->ops->get_key(sec.keys[key], WEP_KEY_LEN, crypt 427 net/ieee80211/ieee80211_wx.c NULL, (*crypt)->priv); crypt 433 net/ieee80211/ieee80211_wx.c (*crypt)->ops->set_key(sec.keys[key], 13, NULL, crypt 434 net/ieee80211/ieee80211_wx.c (*crypt)->priv); crypt 488 net/ieee80211/ieee80211_wx.c struct ieee80211_crypt_data *crypt; crypt 501 net/ieee80211/ieee80211_wx.c crypt = ieee->crypt[key]; crypt 535 net/ieee80211/ieee80211_wx.c struct ieee80211_crypt_data **crypt; crypt 550 net/ieee80211/ieee80211_wx.c crypt = &ieee->crypt[idx]; crypt 557 net/ieee80211/ieee80211_wx.c crypt = &ieee->crypt[idx]; crypt 565 net/ieee80211/ieee80211_wx.c if (*crypt) crypt 566 net/ieee80211/ieee80211_wx.c ieee80211_crypt_delayed_deinit(ieee, crypt); crypt 569 net/ieee80211/ieee80211_wx.c if (ieee->crypt[i] != NULL) crypt 621 net/ieee80211/ieee80211_wx.c if (*crypt == NULL || (*crypt)->ops != ops) { crypt 624 net/ieee80211/ieee80211_wx.c ieee80211_crypt_delayed_deinit(ieee, crypt); crypt 639 net/ieee80211/ieee80211_wx.c *crypt = new_crypt; crypt 642 net/ieee80211/ieee80211_wx.c if (ext->key_len > 0 && (*crypt)->ops->set_key && crypt 643 net/ieee80211/ieee80211_wx.c (*crypt)->ops->set_key(ext->key, ext->key_len, ext->rx_seq, crypt 644 net/ieee80211/ieee80211_wx.c (*crypt)->priv) < 0) {