crypto 89 arch/arm/mach-dove/common.c struct clk *nand, *camera, *i2s0, *i2s1, *crypto, *ac97, *pdma; crypto 105 arch/arm/mach-dove/common.c crypto = dove_register_gate("crypto", "tclk", CLOCK_GATING_BIT_CRYPTO); crypto 130 arch/arm/mach-dove/common.c orion_clkdev_add(NULL, "mv_crypto", crypto); crypto 868 arch/s390/include/asm/kvm_host.h struct kvm_s390_crypto crypto; crypto 927 arch/s390/kvm/kvm-s390.c kvm->arch.crypto.crycb->aes_wrapping_key_mask, crypto 928 arch/s390/kvm/kvm-s390.c sizeof(kvm->arch.crypto.crycb->aes_wrapping_key_mask)); crypto 929 arch/s390/kvm/kvm-s390.c kvm->arch.crypto.aes_kw = 1; crypto 938 arch/s390/kvm/kvm-s390.c kvm->arch.crypto.crycb->dea_wrapping_key_mask, crypto 939 arch/s390/kvm/kvm-s390.c sizeof(kvm->arch.crypto.crycb->dea_wrapping_key_mask)); crypto 940 arch/s390/kvm/kvm-s390.c kvm->arch.crypto.dea_kw = 1; crypto 948 arch/s390/kvm/kvm-s390.c kvm->arch.crypto.aes_kw = 0; crypto 949 arch/s390/kvm/kvm-s390.c memset(kvm->arch.crypto.crycb->aes_wrapping_key_mask, 0, crypto 950 arch/s390/kvm/kvm-s390.c sizeof(kvm->arch.crypto.crycb->aes_wrapping_key_mask)); crypto 958 arch/s390/kvm/kvm-s390.c kvm->arch.crypto.dea_kw = 0; crypto 959 arch/s390/kvm/kvm-s390.c memset(kvm->arch.crypto.crycb->dea_wrapping_key_mask, 0, crypto 960 arch/s390/kvm/kvm-s390.c sizeof(kvm->arch.crypto.crycb->dea_wrapping_key_mask)); crypto 968 arch/s390/kvm/kvm-s390.c kvm->arch.crypto.apie = 1; crypto 975 arch/s390/kvm/kvm-s390.c kvm->arch.crypto.apie = 0; crypto 2292 arch/s390/kvm/kvm-s390.c kvm->arch.crypto.crycbd = (__u32)(unsigned long) kvm->arch.crypto.crycb; crypto 2295 arch/s390/kvm/kvm-s390.c kvm->arch.crypto.crycbd &= ~(CRYCB_FORMAT_MASK); crypto 2302 arch/s390/kvm/kvm-s390.c kvm->arch.crypto.crycbd |= CRYCB_FORMAT2; crypto 2304 arch/s390/kvm/kvm-s390.c kvm->arch.crypto.crycbd |= CRYCB_FORMAT1; crypto 2310 arch/s390/kvm/kvm-s390.c struct kvm_s390_crypto_cb *crycb = kvm->arch.crypto.crycb; crypto 2315 arch/s390/kvm/kvm-s390.c switch (kvm->arch.crypto.crycbd & CRYCB_FORMAT_MASK) { crypto 2352 arch/s390/kvm/kvm-s390.c memset(&kvm->arch.crypto.crycb->apcb0, 0, crypto 2353 arch/s390/kvm/kvm-s390.c sizeof(kvm->arch.crypto.crycb->apcb0)); crypto 2354 arch/s390/kvm/kvm-s390.c memset(&kvm->arch.crypto.crycb->apcb1, 0, crypto 2355 arch/s390/kvm/kvm-s390.c sizeof(kvm->arch.crypto.crycb->apcb1)); crypto 2376 arch/s390/kvm/kvm-s390.c kvm->arch.crypto.crycb = &kvm->arch.sie_page2->crycb; crypto 2383 arch/s390/kvm/kvm-s390.c kvm->arch.crypto.aes_kw = 1; crypto 2384 arch/s390/kvm/kvm-s390.c kvm->arch.crypto.dea_kw = 1; crypto 2385 arch/s390/kvm/kvm-s390.c get_random_bytes(kvm->arch.crypto.crycb->aes_wrapping_key_mask, crypto 2386 arch/s390/kvm/kvm-s390.c sizeof(kvm->arch.crypto.crycb->aes_wrapping_key_mask)); crypto 2387 arch/s390/kvm/kvm-s390.c get_random_bytes(kvm->arch.crypto.crycb->dea_wrapping_key_mask, crypto 2388 arch/s390/kvm/kvm-s390.c sizeof(kvm->arch.crypto.crycb->dea_wrapping_key_mask)); crypto 2923 arch/s390/kvm/kvm-s390.c if (!vcpu->kvm->arch.crypto.apie && !test_kvm_facility(vcpu->kvm, 76)) crypto 2926 arch/s390/kvm/kvm-s390.c vcpu->arch.sie_block->crycbd = vcpu->kvm->arch.crypto.crycbd; crypto 2931 arch/s390/kvm/kvm-s390.c if (vcpu->kvm->arch.crypto.apie) crypto 2935 arch/s390/kvm/kvm-s390.c if (vcpu->kvm->arch.crypto.aes_kw) { crypto 2942 arch/s390/kvm/kvm-s390.c if (vcpu->kvm->arch.crypto.dea_kw) crypto 649 arch/s390/kvm/priv.c if (!(vcpu->kvm->arch.crypto.crycbd & 0x02) && (reg0 & 0x0000c0f0UL)) crypto 661 arch/s390/kvm/priv.c if (vcpu->kvm->arch.crypto.pqap_hook) { crypto 662 arch/s390/kvm/priv.c if (!try_module_get(vcpu->kvm->arch.crypto.pqap_hook->owner)) crypto 664 arch/s390/kvm/priv.c ret = vcpu->kvm->arch.crypto.pqap_hook->hook(vcpu); crypto 665 arch/s390/kvm/priv.c module_put(vcpu->kvm->arch.crypto.pqap_hook->owner); crypto 316 arch/s390/kvm/vsie.c vcpu->kvm->arch.crypto.crycb, crypto 341 arch/s390/kvm/vsie.c vcpu->kvm->arch.crypto.crycb->dea_wrapping_key_mask; crypto 2390 drivers/block/drbd/drbd_nl.c alloc_crypto(struct crypto *crypto, struct net_conf *new_net_conf) crypto 2395 drivers/block/drbd/drbd_nl.c rv = alloc_shash(&crypto->csums_tfm, new_net_conf->csums_alg, crypto 2399 drivers/block/drbd/drbd_nl.c rv = alloc_shash(&crypto->verify_tfm, new_net_conf->verify_alg, crypto 2403 drivers/block/drbd/drbd_nl.c rv = alloc_shash(&crypto->integrity_tfm, new_net_conf->integrity_alg, crypto 2411 drivers/block/drbd/drbd_nl.c rv = alloc_shash(&crypto->cram_hmac_tfm, hmac_name, crypto 2418 drivers/block/drbd/drbd_nl.c static void free_crypto(struct crypto *crypto) crypto 2420 drivers/block/drbd/drbd_nl.c crypto_free_shash(crypto->cram_hmac_tfm); crypto 2421 drivers/block/drbd/drbd_nl.c crypto_free_shash(crypto->integrity_tfm); crypto 2422 drivers/block/drbd/drbd_nl.c crypto_free_shash(crypto->csums_tfm); crypto 2423 drivers/block/drbd/drbd_nl.c crypto_free_shash(crypto->verify_tfm); crypto 2435 drivers/block/drbd/drbd_nl.c struct crypto crypto = { }; crypto 2493 drivers/block/drbd/drbd_nl.c retcode = alloc_crypto(&crypto, new_net_conf); crypto 2501 drivers/block/drbd/drbd_nl.c connection->csums_tfm = crypto.csums_tfm; crypto 2502 drivers/block/drbd/drbd_nl.c crypto.csums_tfm = NULL; crypto 2506 drivers/block/drbd/drbd_nl.c connection->verify_tfm = crypto.verify_tfm; crypto 2507 drivers/block/drbd/drbd_nl.c crypto.verify_tfm = NULL; crypto 2511 drivers/block/drbd/drbd_nl.c connection->integrity_tfm = crypto.integrity_tfm; crypto 2517 drivers/block/drbd/drbd_nl.c connection->cram_hmac_tfm = crypto.cram_hmac_tfm; crypto 2537 drivers/block/drbd/drbd_nl.c free_crypto(&crypto); crypto 2576 drivers/block/drbd/drbd_nl.c struct crypto crypto = { }; crypto 2645 drivers/block/drbd/drbd_nl.c retcode = alloc_crypto(&crypto, new_net_conf); crypto 2663 drivers/block/drbd/drbd_nl.c connection->cram_hmac_tfm = crypto.cram_hmac_tfm; crypto 2664 drivers/block/drbd/drbd_nl.c connection->integrity_tfm = crypto.integrity_tfm; crypto 2665 drivers/block/drbd/drbd_nl.c connection->csums_tfm = crypto.csums_tfm; crypto 2666 drivers/block/drbd/drbd_nl.c connection->verify_tfm = crypto.verify_tfm; crypto 2707 drivers/block/drbd/drbd_nl.c free_crypto(&crypto); crypto 3591 drivers/crypto/bcm/cipher.c .alg.crypto = { crypto 3612 drivers/crypto/bcm/cipher.c .alg.crypto = { crypto 3633 drivers/crypto/bcm/cipher.c .alg.crypto = { crypto 3654 drivers/crypto/bcm/cipher.c .alg.crypto = { crypto 3675 drivers/crypto/bcm/cipher.c .alg.crypto = { crypto 3696 drivers/crypto/bcm/cipher.c .alg.crypto = { crypto 3717 drivers/crypto/bcm/cipher.c .alg.crypto = { crypto 3738 drivers/crypto/bcm/cipher.c .alg.crypto = { crypto 3759 drivers/crypto/bcm/cipher.c .alg.crypto = { crypto 3780 drivers/crypto/bcm/cipher.c .alg.crypto = { crypto 3801 drivers/crypto/bcm/cipher.c .alg.crypto = { crypto 3822 drivers/crypto/bcm/cipher.c .alg.crypto = { crypto 4294 drivers/crypto/bcm/cipher.c cipher_alg = container_of(alg, struct iproc_alg_s, alg.crypto); crypto 4530 drivers/crypto/bcm/cipher.c struct crypto_alg *crypto = &driver_alg->alg.crypto; crypto 4538 drivers/crypto/bcm/cipher.c crypto->cra_module = THIS_MODULE; crypto 4539 drivers/crypto/bcm/cipher.c crypto->cra_priority = cipher_pri; crypto 4540 drivers/crypto/bcm/cipher.c crypto->cra_alignmask = 0; crypto 4541 drivers/crypto/bcm/cipher.c crypto->cra_ctxsize = sizeof(struct iproc_ctx_s); crypto 4543 drivers/crypto/bcm/cipher.c crypto->cra_init = ablkcipher_cra_init; crypto 4544 drivers/crypto/bcm/cipher.c crypto->cra_exit = generic_cra_exit; crypto 4545 drivers/crypto/bcm/cipher.c crypto->cra_type = &crypto_ablkcipher_type; crypto 4546 drivers/crypto/bcm/cipher.c crypto->cra_flags = CRYPTO_ALG_TYPE_ABLKCIPHER | CRYPTO_ALG_ASYNC | crypto 4549 drivers/crypto/bcm/cipher.c crypto->cra_ablkcipher.setkey = ablkcipher_setkey; crypto 4550 drivers/crypto/bcm/cipher.c crypto->cra_ablkcipher.encrypt = ablkcipher_encrypt; crypto 4551 drivers/crypto/bcm/cipher.c crypto->cra_ablkcipher.decrypt = ablkcipher_decrypt; crypto 4553 drivers/crypto/bcm/cipher.c err = crypto_register_alg(crypto); crypto 4557 drivers/crypto/bcm/cipher.c pr_debug(" registered ablkcipher %s\n", crypto->cra_driver_name); crypto 4684 drivers/crypto/bcm/cipher.c crypto_unregister_alg(&driver_algs[j].alg.crypto); crypto 4841 drivers/crypto/bcm/cipher.c crypto_unregister_alg(&driver_algs[i].alg.crypto); crypto 4843 drivers/crypto/bcm/cipher.c driver_algs[i].alg.crypto.cra_driver_name); crypto 105 drivers/crypto/bcm/cipher.h struct crypto_alg crypto; crypto 55 drivers/crypto/cavium/nitrox/nitrox_aead.c memset(&fctx->crypto, 0, sizeof(fctx->crypto)); crypto 56 drivers/crypto/cavium/nitrox/nitrox_aead.c memcpy(fctx->crypto.u.key, key, keylen); crypto 198 drivers/crypto/cavium/nitrox/nitrox_aead.c memcpy(fctx->crypto.iv, areq->iv, GCM_AES_SALT_SIZE); crypto 229 drivers/crypto/cavium/nitrox/nitrox_aead.c memcpy(fctx->crypto.iv, areq->iv, GCM_AES_SALT_SIZE); crypto 319 drivers/crypto/cavium/nitrox/nitrox_aead.c memzero_explicit(&fctx->crypto, sizeof(struct crypto_keys)); crypto 344 drivers/crypto/cavium/nitrox/nitrox_aead.c memcpy(fctx->crypto.iv, key + keylen, GCM_AES_SALT_SIZE); crypto 189 drivers/crypto/cavium/nitrox/nitrox_req.h struct crypto_keys crypto; crypto 82 drivers/crypto/cavium/nitrox/nitrox_skcipher.c memzero_explicit(&fctx->crypto, sizeof(struct crypto_keys)); crypto 119 drivers/crypto/cavium/nitrox/nitrox_skcipher.c memcpy(fctx->crypto.u.key, key, keylen); crypto 314 drivers/crypto/cavium/nitrox/nitrox_skcipher.c memcpy(fctx->crypto.iv, key + (keylen - CTR_RFC3686_NONCE_SIZE), crypto 575 drivers/crypto/chelsio/chcr_algo.c container_of(alg, struct chcr_alg_template, alg.crypto); crypto 3707 drivers/crypto/chelsio/chcr_algo.c .alg.crypto = { crypto 3726 drivers/crypto/chelsio/chcr_algo.c .alg.crypto = { crypto 3745 drivers/crypto/chelsio/chcr_algo.c .alg.crypto = { crypto 3765 drivers/crypto/chelsio/chcr_algo.c .alg.crypto = { crypto 4250 drivers/crypto/chelsio/chcr_algo.c &driver_algs[i].alg.crypto); crypto 4287 drivers/crypto/chelsio/chcr_algo.c driver_algs[i].alg.crypto.cra_priority = crypto 4289 drivers/crypto/chelsio/chcr_algo.c driver_algs[i].alg.crypto.cra_module = THIS_MODULE; crypto 4290 drivers/crypto/chelsio/chcr_algo.c driver_algs[i].alg.crypto.cra_flags = crypto 4293 drivers/crypto/chelsio/chcr_algo.c driver_algs[i].alg.crypto.cra_ctxsize = crypto 4296 drivers/crypto/chelsio/chcr_algo.c driver_algs[i].alg.crypto.cra_alignmask = 0; crypto 4297 drivers/crypto/chelsio/chcr_algo.c driver_algs[i].alg.crypto.cra_type = crypto 4299 drivers/crypto/chelsio/chcr_algo.c err = crypto_register_alg(&driver_algs[i].alg.crypto); crypto 4300 drivers/crypto/chelsio/chcr_algo.c name = driver_algs[i].alg.crypto.cra_driver_name; crypto 207 drivers/crypto/chelsio/chcr_core.c if (lld->crypto & ULP_CRYPTO_IPSEC_INLINE) crypto 305 drivers/crypto/chelsio/chcr_crypto.h struct crypto_alg crypto; crypto 189 drivers/crypto/ixp4xx_crypto.c struct crypto_alg crypto; crypto 198 drivers/crypto/ixp4xx_crypto.c struct aead_alg crypto; crypto 242 drivers/crypto/ixp4xx_crypto.c return container_of(tfm->__crt_alg, struct ixp_alg,crypto)->cfg_enc; crypto 247 drivers/crypto/ixp4xx_crypto.c return container_of(tfm->__crt_alg, struct ixp_alg,crypto)->cfg_dec; crypto 252 drivers/crypto/ixp4xx_crypto.c return container_of(tfm->__crt_alg, struct ixp_alg, crypto)->hash; crypto 1214 drivers/crypto/ixp4xx_crypto.c .crypto = { crypto 1228 drivers/crypto/ixp4xx_crypto.c .crypto = { crypto 1240 drivers/crypto/ixp4xx_crypto.c .crypto = { crypto 1254 drivers/crypto/ixp4xx_crypto.c .crypto = { crypto 1267 drivers/crypto/ixp4xx_crypto.c .crypto = { crypto 1280 drivers/crypto/ixp4xx_crypto.c .crypto = { crypto 1292 drivers/crypto/ixp4xx_crypto.c .crypto = { crypto 1305 drivers/crypto/ixp4xx_crypto.c .crypto = { crypto 1323 drivers/crypto/ixp4xx_crypto.c .crypto = { crypto 1335 drivers/crypto/ixp4xx_crypto.c .crypto = { crypto 1348 drivers/crypto/ixp4xx_crypto.c .crypto = { crypto 1360 drivers/crypto/ixp4xx_crypto.c .crypto = { crypto 1373 drivers/crypto/ixp4xx_crypto.c .crypto = { crypto 1385 drivers/crypto/ixp4xx_crypto.c .crypto = { crypto 1424 drivers/crypto/ixp4xx_crypto.c struct crypto_alg *cra = &ixp4xx_algos[i].crypto; crypto 1462 drivers/crypto/ixp4xx_crypto.c struct aead_alg *cra = &ixp4xx_aeads[i].crypto; crypto 1502 drivers/crypto/ixp4xx_crypto.c crypto_unregister_aead(&ixp4xx_aeads[i].crypto); crypto 1507 drivers/crypto/ixp4xx_crypto.c crypto_unregister_alg(&ixp4xx_algos[i].crypto); crypto 261 drivers/crypto/qat/qat_common/icp_qat_fw.h #define ICP_QAT_FW_COMN_RESP_STATUS_BUILD(crypto, comp, xlat, eolb) \ crypto 262 drivers/crypto/qat/qat_common/icp_qat_fw.h ((((crypto) & QAT_COMN_RESP_CRYPTO_STATUS_MASK) << \ crypto 365 drivers/crypto/qce/ablkcipher.c alg = &tmpl->alg.crypto; crypto 413 drivers/crypto/qce/ablkcipher.c crypto_unregister_alg(&tmpl->alg.crypto); crypto 51 drivers/crypto/qce/cipher.h return container_of(alg, struct qce_alg_template, alg.crypto); crypto 82 drivers/crypto/qce/common.h struct crypto_alg crypto; crypto 268 drivers/crypto/rockchip/rk3288_crypto.c &rk_cipher_algs[i]->alg.crypto); crypto 280 drivers/crypto/rockchip/rk3288_crypto.c crypto_unregister_alg(&rk_cipher_algs[k]->alg.crypto); crypto 293 drivers/crypto/rockchip/rk3288_crypto.c crypto_unregister_alg(&rk_cipher_algs[i]->alg.crypto); crypto 259 drivers/crypto/rockchip/rk3288_crypto.h struct crypto_alg crypto; crypto 384 drivers/crypto/rockchip/rk3288_crypto_ablkcipher.c algt = container_of(alg, struct rk_crypto_tmp, alg.crypto); crypto 406 drivers/crypto/rockchip/rk3288_crypto_ablkcipher.c .alg.crypto = { crypto 431 drivers/crypto/rockchip/rk3288_crypto_ablkcipher.c .alg.crypto = { crypto 457 drivers/crypto/rockchip/rk3288_crypto_ablkcipher.c .alg.crypto = { crypto 482 drivers/crypto/rockchip/rk3288_crypto_ablkcipher.c .alg.crypto = { crypto 508 drivers/crypto/rockchip/rk3288_crypto_ablkcipher.c .alg.crypto = { crypto 534 drivers/crypto/rockchip/rk3288_crypto_ablkcipher.c .alg.crypto = { crypto 182 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c algt = container_of(alg, struct sun4i_ss_alg_template, alg.crypto); crypto 183 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c if (areq->cryptlen % algt->alg.crypto.base.cra_blocksize) crypto 493 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c alg.crypto.base); crypto 79 drivers/crypto/sunxi-ss/sun4i-ss-core.c .alg.crypto = { crypto 101 drivers/crypto/sunxi-ss/sun4i-ss-core.c .alg.crypto = { crypto 122 drivers/crypto/sunxi-ss/sun4i-ss-core.c .alg.crypto = { crypto 144 drivers/crypto/sunxi-ss/sun4i-ss-core.c .alg.crypto = { crypto 165 drivers/crypto/sunxi-ss/sun4i-ss-core.c .alg.crypto = { crypto 187 drivers/crypto/sunxi-ss/sun4i-ss-core.c .alg.crypto = { crypto 349 drivers/crypto/sunxi-ss/sun4i-ss-core.c err = crypto_register_skcipher(&ss_algs[i].alg.crypto); crypto 352 drivers/crypto/sunxi-ss/sun4i-ss-core.c ss_algs[i].alg.crypto.base.cra_name); crypto 380 drivers/crypto/sunxi-ss/sun4i-ss-core.c crypto_unregister_skcipher(&ss_algs[i].alg.crypto); crypto 407 drivers/crypto/sunxi-ss/sun4i-ss-core.c crypto_unregister_skcipher(&ss_algs[i].alg.crypto); crypto 151 drivers/crypto/sunxi-ss/sun4i-ss.h struct skcipher_alg crypto; crypto 2256 drivers/crypto/talitos.c struct crypto_alg crypto; crypto 2703 drivers/crypto/talitos.c .alg.crypto = { crypto 2719 drivers/crypto/talitos.c .alg.crypto = { crypto 2737 drivers/crypto/talitos.c .alg.crypto = { crypto 2755 drivers/crypto/talitos.c .alg.crypto = { crypto 2771 drivers/crypto/talitos.c .alg.crypto = { crypto 2789 drivers/crypto/talitos.c .alg.crypto = { crypto 2806 drivers/crypto/talitos.c .alg.crypto = { crypto 3047 drivers/crypto/talitos.c algt.alg.crypto); crypto 3160 drivers/crypto/talitos.c alg = &t_alg->algt.alg.crypto; crypto 3466 drivers/crypto/talitos.c &t_alg->algt.alg.crypto); crypto 3467 drivers/crypto/talitos.c alg = &t_alg->algt.alg.crypto; crypto 1061 drivers/crypto/ux500/cryp/cryp_core.c struct crypto_alg crypto; crypto 1070 drivers/crypto/ux500/cryp/cryp_core.c crypto); crypto 1081 drivers/crypto/ux500/cryp/cryp_core.c .crypto = { crypto 1106 drivers/crypto/ux500/cryp/cryp_core.c .crypto = { crypto 1131 drivers/crypto/ux500/cryp/cryp_core.c .crypto = { crypto 1157 drivers/crypto/ux500/cryp/cryp_core.c .crypto = { crypto 1183 drivers/crypto/ux500/cryp/cryp_core.c .crypto = { crypto 1208 drivers/crypto/ux500/cryp/cryp_core.c .crypto = { crypto 1233 drivers/crypto/ux500/cryp/cryp_core.c .crypto = { crypto 1258 drivers/crypto/ux500/cryp/cryp_core.c .crypto = { crypto 1296 drivers/crypto/ux500/cryp/cryp_core.c ret = crypto_register_alg(&cryp_algs[i].crypto); crypto 1300 drivers/crypto/ux500/cryp/cryp_core.c cryp_algs[i].crypto.cra_driver_name); crypto 1307 drivers/crypto/ux500/cryp/cryp_core.c crypto_unregister_alg(&cryp_algs[i].crypto); crypto 1321 drivers/crypto/ux500/cryp/cryp_core.c crypto_unregister_alg(&cryp_algs[i].crypto); crypto 394 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h unsigned char crypto; /* HW capability for crypto */ crypto 1289 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h return adap->params.crypto; crypto 1294 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h return (adap->params.offload || adap->params.crypto); crypto 4867 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c adap->params.crypto = ntohs(caps_cmd.cryptocaps); crypto 5091 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c adap->params.crypto = 0; crypto 5294 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c adap->params.crypto = 0; crypto 665 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c lld->crypto = adap->params.crypto; crypto 687 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c lld->ulp_crypto = adap->params.crypto; crypto 334 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h unsigned char crypto; /* crypto support */ crypto 1336 drivers/net/hyperv/hyperv_net.h u32 crypto; crypto 546 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_set_wpa_version(vif, sme->crypto.wpa_versions); crypto 554 drivers/net/wireless/ath/ath6kl/cfg80211.c if (sme->crypto.n_ciphers_pairwise) crypto 555 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_set_cipher(vif, sme->crypto.ciphers_pairwise[0], true); crypto 559 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_set_cipher(vif, sme->crypto.cipher_group, false); crypto 561 drivers/net/wireless/ath/ath6kl/cfg80211.c if (sme->crypto.n_akm_suites) crypto 562 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_set_key_mgmt(vif, sme->crypto.akm_suites[0]); crypto 2824 drivers/net/wireless/ath/ath6kl/cfg80211.c for (i = 0; i < info->crypto.n_akm_suites; i++) { crypto 2825 drivers/net/wireless/ath/ath6kl/cfg80211.c switch (info->crypto.akm_suites[i]) { crypto 2827 drivers/net/wireless/ath/ath6kl/cfg80211.c if (info->crypto.wpa_versions & NL80211_WPA_VERSION_1) crypto 2829 drivers/net/wireless/ath/ath6kl/cfg80211.c if (info->crypto.wpa_versions & NL80211_WPA_VERSION_2) crypto 2833 drivers/net/wireless/ath/ath6kl/cfg80211.c if (info->crypto.wpa_versions & NL80211_WPA_VERSION_1) crypto 2835 drivers/net/wireless/ath/ath6kl/cfg80211.c if (info->crypto.wpa_versions & NL80211_WPA_VERSION_2) crypto 2844 drivers/net/wireless/ath/ath6kl/cfg80211.c for (i = 0; i < info->crypto.n_ciphers_pairwise; i++) { crypto 2845 drivers/net/wireless/ath/ath6kl/cfg80211.c switch (info->crypto.ciphers_pairwise[i]) { crypto 2864 drivers/net/wireless/ath/ath6kl/cfg80211.c } else if (info->crypto.n_ciphers_pairwise == 1) { crypto 2865 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_set_cipher(vif, info->crypto.ciphers_pairwise[0], true); crypto 2868 drivers/net/wireless/ath/ath6kl/cfg80211.c switch (info->crypto.cipher_group) { crypto 2886 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_set_cipher(vif, info->crypto.cipher_group, false); crypto 1112 drivers/net/wireless/ath/wil6210/cfg80211.c wil_print_crypto(wil, &sme->crypto); crypto 2119 drivers/net/wireless/ath/wil6210/cfg80211.c struct cfg80211_crypto_settings *crypto = &info->crypto; crypto 2165 drivers/net/wireless/ath/wil6210/cfg80211.c wil_print_crypto(wil, crypto); crypto 1504 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_1) crypto 1506 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c else if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_2) crypto 1517 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c sec->wpa_versions = sme->crypto.wpa_versions; crypto 1569 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (sme->crypto.n_ciphers_pairwise) { crypto 1570 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c switch (sme->crypto.ciphers_pairwise[0]) { crypto 1586 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c sme->crypto.ciphers_pairwise[0]); crypto 1590 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (sme->crypto.cipher_group) { crypto 1591 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c switch (sme->crypto.cipher_group) { crypto 1607 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c sme->crypto.cipher_group); crypto 1627 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c sec->cipher_pairwise = sme->crypto.ciphers_pairwise[0]; crypto 1628 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c sec->cipher_group = sme->crypto.cipher_group; crypto 1651 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (!sme->crypto.n_akm_suites) crypto 1660 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c switch (sme->crypto.akm_suites[0]) { crypto 1671 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c sme->crypto.cipher_group); crypto 1675 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c switch (sme->crypto.akm_suites[0]) { crypto 1702 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c sme->crypto.cipher_group); crypto 1801 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c sme->crypto.ciphers_pairwise[0]); crypto 1983 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (sme->crypto.psk) { crypto 2002 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c err = brcmf_set_pmk(ifp, sme->crypto.psk, crypto 1327 drivers/net/wireless/marvell/libertas/cfg.c sme->crypto.cipher_group, crypto 1336 drivers/net/wireless/marvell/libertas/cfg.c switch (sme->crypto.cipher_group) { crypto 1375 drivers/net/wireless/marvell/libertas/cfg.c lbs_enable_rsn(priv, sme->crypto.cipher_group != 0); crypto 1379 drivers/net/wireless/marvell/libertas/cfg.c sme->crypto.cipher_group); crypto 2248 drivers/net/wireless/marvell/mwifiex/cfg80211.c if (sme->crypto.n_ciphers_pairwise) { crypto 2250 drivers/net/wireless/marvell/mwifiex/cfg80211.c sme->crypto.ciphers_pairwise[0]; crypto 2254 drivers/net/wireless/marvell/mwifiex/cfg80211.c if (sme->crypto.cipher_group) { crypto 2255 drivers/net/wireless/marvell/mwifiex/cfg80211.c priv->sec_info.encryption_mode = sme->crypto.cipher_group; crypto 61 drivers/net/wireless/marvell/mwifiex/uap_cmd.c for (i = 0; i < params->crypto.n_akm_suites; i++) { crypto 62 drivers/net/wireless/marvell/mwifiex/uap_cmd.c switch (params->crypto.akm_suites[i]) { crypto 64 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if (params->crypto.wpa_versions & crypto 69 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if (params->crypto.wpa_versions & crypto 76 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if (params->crypto.wpa_versions & crypto 81 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if (params->crypto.wpa_versions & crypto 91 drivers/net/wireless/marvell/mwifiex/uap_cmd.c for (i = 0; i < params->crypto.n_ciphers_pairwise; i++) { crypto 92 drivers/net/wireless/marvell/mwifiex/uap_cmd.c switch (params->crypto.ciphers_pairwise[i]) { crypto 97 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if (params->crypto.wpa_versions & NL80211_WPA_VERSION_1) crypto 100 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if (params->crypto.wpa_versions & NL80211_WPA_VERSION_2) crypto 105 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if (params->crypto.wpa_versions & NL80211_WPA_VERSION_1) crypto 108 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if (params->crypto.wpa_versions & NL80211_WPA_VERSION_2) crypto 116 drivers/net/wireless/marvell/mwifiex/uap_cmd.c switch (params->crypto.cipher_group) { crypto 250 drivers/net/wireless/quantenna/qtnfmac/commands.c aen->wpa_versions = cpu_to_le32(s->crypto.wpa_versions); crypto 251 drivers/net/wireless/quantenna/qtnfmac/commands.c aen->cipher_group = cpu_to_le32(s->crypto.cipher_group); crypto 252 drivers/net/wireless/quantenna/qtnfmac/commands.c aen->n_ciphers_pairwise = cpu_to_le32(s->crypto.n_ciphers_pairwise); crypto 255 drivers/net/wireless/quantenna/qtnfmac/commands.c cpu_to_le32(s->crypto.ciphers_pairwise[i]); crypto 256 drivers/net/wireless/quantenna/qtnfmac/commands.c aen->n_akm_suites = cpu_to_le32(s->crypto.n_akm_suites); crypto 258 drivers/net/wireless/quantenna/qtnfmac/commands.c aen->akm_suites[i] = cpu_to_le32(s->crypto.akm_suites[i]); crypto 259 drivers/net/wireless/quantenna/qtnfmac/commands.c aen->control_port = s->crypto.control_port; crypto 260 drivers/net/wireless/quantenna/qtnfmac/commands.c aen->control_port_no_encrypt = s->crypto.control_port_no_encrypt; crypto 262 drivers/net/wireless/quantenna/qtnfmac/commands.c cpu_to_le16(be16_to_cpu(s->crypto.control_port_ethertype)); crypto 2249 drivers/net/wireless/quantenna/qtnfmac/commands.c aen->wpa_versions = cpu_to_le32(sme->crypto.wpa_versions); crypto 2250 drivers/net/wireless/quantenna/qtnfmac/commands.c aen->cipher_group = cpu_to_le32(sme->crypto.cipher_group); crypto 2251 drivers/net/wireless/quantenna/qtnfmac/commands.c aen->n_ciphers_pairwise = cpu_to_le32(sme->crypto.n_ciphers_pairwise); crypto 2255 drivers/net/wireless/quantenna/qtnfmac/commands.c cpu_to_le32(sme->crypto.ciphers_pairwise[i]); crypto 2257 drivers/net/wireless/quantenna/qtnfmac/commands.c aen->n_akm_suites = cpu_to_le32(sme->crypto.n_akm_suites); crypto 2260 drivers/net/wireless/quantenna/qtnfmac/commands.c aen->akm_suites[i] = cpu_to_le32(sme->crypto.akm_suites[i]); crypto 2262 drivers/net/wireless/quantenna/qtnfmac/commands.c aen->control_port = sme->crypto.control_port; crypto 2264 drivers/net/wireless/quantenna/qtnfmac/commands.c sme->crypto.control_port_no_encrypt; crypto 2266 drivers/net/wireless/quantenna/qtnfmac/commands.c cpu_to_le16(be16_to_cpu(sme->crypto.control_port_ethertype)); crypto 320 drivers/net/wireless/ralink/rt2x00/rt2500usb.c struct rt2x00lib_crypto *crypto, crypto 327 drivers/net/wireless/ralink/rt2x00/rt2500usb.c if (crypto->cmd == SET_KEY) { crypto 361 drivers/net/wireless/ralink/rt2x00/rt2500usb.c if (key->hw_key_idx > 0 && crypto->cipher != curr_cipher) crypto 365 drivers/net/wireless/ralink/rt2x00/rt2500usb.c crypto->key, sizeof(crypto->key)); crypto 385 drivers/net/wireless/ralink/rt2x00/rt2500usb.c rt2x00_set_field16(®, TXRX_CSR0_ALGORITHM, crypto->cipher); crypto 389 drivers/net/wireless/ralink/rt2x00/rt2500usb.c if (crypto->cmd == SET_KEY) crypto 391 drivers/net/wireless/ralink/rt2x00/rt2500usb.c else if (crypto->cmd == DISABLE_KEY) crypto 1621 drivers/net/wireless/ralink/rt2x00/rt2800lib.c struct rt2x00lib_crypto *crypto, crypto 1630 drivers/net/wireless/ralink/rt2x00/rt2800lib.c if (crypto->cmd == SET_KEY) { crypto 1640 drivers/net/wireless/ralink/rt2x00/rt2800lib.c (crypto->cipher & 0x7)); crypto 1642 drivers/net/wireless/ralink/rt2x00/rt2800lib.c (crypto->cipher & 0x8) >> 3); crypto 1643 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field32(®, MAC_WCID_ATTRIBUTE_RX_WIUDF, crypto->cipher); crypto 1657 drivers/net/wireless/ralink/rt2x00/rt2800lib.c if (crypto->cmd == SET_KEY) { crypto 1660 drivers/net/wireless/ralink/rt2x00/rt2800lib.c if ((crypto->cipher == CIPHER_TKIP) || crypto 1661 drivers/net/wireless/ralink/rt2x00/rt2800lib.c (crypto->cipher == CIPHER_TKIP_NO_MIC) || crypto 1662 drivers/net/wireless/ralink/rt2x00/rt2800lib.c (crypto->cipher == CIPHER_AES)) crypto 1674 drivers/net/wireless/ralink/rt2x00/rt2800lib.c struct rt2x00lib_crypto *crypto, crypto 1682 drivers/net/wireless/ralink/rt2x00/rt2800lib.c if (crypto->cmd == SET_KEY) { crypto 1683 drivers/net/wireless/ralink/rt2x00/rt2800lib.c key->hw_key_idx = (4 * crypto->bssidx) + key->keyidx; crypto 1685 drivers/net/wireless/ralink/rt2x00/rt2800lib.c memcpy(key_entry.key, crypto->key, crypto 1687 drivers/net/wireless/ralink/rt2x00/rt2800lib.c memcpy(key_entry.tx_mic, crypto->tx_mic, crypto 1689 drivers/net/wireless/ralink/rt2x00/rt2800lib.c memcpy(key_entry.rx_mic, crypto->rx_mic, crypto 1711 drivers/net/wireless/ralink/rt2x00/rt2800lib.c (crypto->cmd == SET_KEY) * crypto->cipher); crypto 1717 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_config_wcid(rt2x00dev, crypto->address, key->hw_key_idx); crypto 1719 drivers/net/wireless/ralink/rt2x00/rt2800lib.c crypto->bssidx); crypto 1720 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_config_wcid_attr_cipher(rt2x00dev, crypto, key); crypto 1727 drivers/net/wireless/ralink/rt2x00/rt2800lib.c struct rt2x00lib_crypto *crypto, crypto 1733 drivers/net/wireless/ralink/rt2x00/rt2800lib.c if (crypto->cmd == SET_KEY) { crypto 1738 drivers/net/wireless/ralink/rt2x00/rt2800lib.c if (crypto->wcid > WCID_END) crypto 1740 drivers/net/wireless/ralink/rt2x00/rt2800lib.c key->hw_key_idx = crypto->wcid; crypto 1742 drivers/net/wireless/ralink/rt2x00/rt2800lib.c memcpy(key_entry.key, crypto->key, crypto 1744 drivers/net/wireless/ralink/rt2x00/rt2800lib.c memcpy(key_entry.tx_mic, crypto->tx_mic, crypto 1746 drivers/net/wireless/ralink/rt2x00/rt2800lib.c memcpy(key_entry.rx_mic, crypto->rx_mic, crypto 1757 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_config_wcid_attr_cipher(rt2x00dev, crypto, key); crypto 209 drivers/net/wireless/ralink/rt2x00/rt2800lib.h struct rt2x00lib_crypto *crypto, crypto 212 drivers/net/wireless/ralink/rt2x00/rt2800lib.h struct rt2x00lib_crypto *crypto, crypto 596 drivers/net/wireless/ralink/rt2x00/rt2x00.h struct rt2x00lib_crypto *crypto, crypto 599 drivers/net/wireless/ralink/rt2x00/rt2x00.h struct rt2x00lib_crypto *crypto, crypto 417 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c static void memcpy_tkip(struct rt2x00lib_crypto *crypto, u8 *key, u8 key_len) crypto 420 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c memcpy(crypto->key, crypto 422 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c sizeof(crypto->key)); crypto 425 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c memcpy(crypto->tx_mic, crypto 427 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c sizeof(crypto->tx_mic)); crypto 430 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c memcpy(crypto->rx_mic, crypto 432 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c sizeof(crypto->rx_mic)); crypto 441 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c struct rt2x00lib_crypto *crypto, crypto 443 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c struct rt2x00lib_crypto crypto; crypto 465 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c memset(&crypto, 0, sizeof(crypto)); crypto 467 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c crypto.bssidx = rt2x00lib_get_bssidx(rt2x00dev, vif); crypto 468 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c crypto.cipher = rt2x00crypto_key_to_cipher(key); crypto 469 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c if (crypto.cipher == CIPHER_NONE) crypto 471 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c if (crypto.cipher == CIPHER_TKIP && rt2x00_is_usb(rt2x00dev)) crypto 474 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c crypto.cmd = cmd; crypto 477 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c crypto.address = sta->addr; crypto 479 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c crypto.wcid = sta_priv->wcid; crypto 481 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c crypto.address = bcast_addr; crypto 483 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c if (crypto.cipher == CIPHER_TKIP) crypto 484 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c memcpy_tkip(&crypto, &key->key[0], key->keylen); crypto 486 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c memcpy(crypto.key, &key->key[0], key->keylen); crypto 514 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c return set_key(rt2x00dev, &crypto, key); crypto 310 drivers/net/wireless/ralink/rt2x00/rt61pci.c struct rt2x00lib_crypto *crypto, crypto 322 drivers/net/wireless/ralink/rt2x00/rt61pci.c struct rt2x00lib_crypto *crypto, crypto 330 drivers/net/wireless/ralink/rt2x00/rt61pci.c if (crypto->cmd == SET_KEY) { crypto 353 drivers/net/wireless/ralink/rt2x00/rt61pci.c memcpy(key_entry.key, crypto->key, crypto 355 drivers/net/wireless/ralink/rt2x00/rt61pci.c memcpy(key_entry.tx_mic, crypto->tx_mic, crypto 357 drivers/net/wireless/ralink/rt2x00/rt61pci.c memcpy(key_entry.rx_mic, crypto->rx_mic, crypto 361 drivers/net/wireless/ralink/rt2x00/rt61pci.c memcpy(&addr_entry, crypto->address, ETH_ALEN); crypto 362 drivers/net/wireless/ralink/rt2x00/rt61pci.c addr_entry.cipher = crypto->cipher; crypto 378 drivers/net/wireless/ralink/rt2x00/rt61pci.c reg |= (1 << crypto->bssidx); crypto 403 drivers/net/wireless/ralink/rt2x00/rt61pci.c if (crypto->cmd == SET_KEY) crypto 405 drivers/net/wireless/ralink/rt2x00/rt61pci.c else if (crypto->cmd == DISABLE_KEY) crypto 412 drivers/net/wireless/ralink/rt2x00/rt61pci.c if (crypto->cmd == SET_KEY) crypto 414 drivers/net/wireless/ralink/rt2x00/rt61pci.c else if (crypto->cmd == DISABLE_KEY) crypto 257 drivers/net/wireless/ralink/rt2x00/rt73usb.c struct rt2x00lib_crypto *crypto, crypto 265 drivers/net/wireless/ralink/rt2x00/rt73usb.c if (crypto->cmd == SET_KEY) { crypto 276 drivers/net/wireless/ralink/rt2x00/rt73usb.c mask = (0xf << crypto->bssidx); crypto 289 drivers/net/wireless/ralink/rt2x00/rt73usb.c memcpy(key_entry.key, crypto->key, crypto 291 drivers/net/wireless/ralink/rt2x00/rt73usb.c memcpy(key_entry.tx_mic, crypto->tx_mic, crypto 293 drivers/net/wireless/ralink/rt2x00/rt73usb.c memcpy(key_entry.rx_mic, crypto->rx_mic, crypto 312 drivers/net/wireless/ralink/rt2x00/rt73usb.c rt2x00_set_field32(®, field, crypto->cipher); crypto 319 drivers/net/wireless/ralink/rt2x00/rt73usb.c rt2x00_set_field32(®, field, crypto->cipher); crypto 344 drivers/net/wireless/ralink/rt2x00/rt73usb.c if (crypto->cmd == SET_KEY) crypto 346 drivers/net/wireless/ralink/rt2x00/rt73usb.c else if (crypto->cmd == DISABLE_KEY) crypto 354 drivers/net/wireless/ralink/rt2x00/rt73usb.c struct rt2x00lib_crypto *crypto, crypto 362 drivers/net/wireless/ralink/rt2x00/rt73usb.c if (crypto->cmd == SET_KEY) { crypto 385 drivers/net/wireless/ralink/rt2x00/rt73usb.c memcpy(key_entry.key, crypto->key, crypto 387 drivers/net/wireless/ralink/rt2x00/rt73usb.c memcpy(key_entry.tx_mic, crypto->tx_mic, crypto 389 drivers/net/wireless/ralink/rt2x00/rt73usb.c memcpy(key_entry.rx_mic, crypto->rx_mic, crypto 400 drivers/net/wireless/ralink/rt2x00/rt73usb.c memcpy(&addr_entry, crypto->address, ETH_ALEN); crypto 401 drivers/net/wireless/ralink/rt2x00/rt73usb.c addr_entry.cipher = crypto->cipher; crypto 413 drivers/net/wireless/ralink/rt2x00/rt73usb.c reg |= (1 << crypto->bssidx); crypto 438 drivers/net/wireless/ralink/rt2x00/rt73usb.c if (crypto->cmd == SET_KEY) crypto 440 drivers/net/wireless/ralink/rt2x00/rt73usb.c else if (crypto->cmd == DISABLE_KEY) crypto 447 drivers/net/wireless/ralink/rt2x00/rt73usb.c if (crypto->cmd == SET_KEY) crypto 449 drivers/net/wireless/ralink/rt2x00/rt73usb.c else if (crypto->cmd == DISABLE_KEY) crypto 2154 drivers/net/wireless/rndis_wlan.c groupwise = rndis_cipher_to_alg(sme->crypto.cipher_group); crypto 2155 drivers/net/wireless/rndis_wlan.c for (i = 0; i < sme->crypto.n_ciphers_pairwise; i++) crypto 2157 drivers/net/wireless/rndis_wlan.c rndis_cipher_to_alg(sme->crypto.ciphers_pairwise[i]); crypto 2159 drivers/net/wireless/rndis_wlan.c if (sme->crypto.n_ciphers_pairwise > 0 && crypto 2165 drivers/net/wireless/rndis_wlan.c for (i = 0; i < sme->crypto.n_akm_suites; i++) crypto 2167 drivers/net/wireless/rndis_wlan.c rndis_akm_suite_to_key_mgmt(sme->crypto.akm_suites[i]); crypto 2169 drivers/net/wireless/rndis_wlan.c if (sme->crypto.n_akm_suites > 0 && crypto 2177 drivers/net/wireless/rndis_wlan.c sme->privacy, sme->crypto.wpa_versions, sme->auth_type, crypto 2190 drivers/net/wireless/rndis_wlan.c ret = set_auth_mode(usbdev, sme->crypto.wpa_versions, sme->auth_type, crypto 291 drivers/s390/crypto/vfio_ap_ops.c if (!vcpu->kvm->arch.crypto.pqap_hook) crypto 293 drivers/s390/crypto/vfio_ap_ops.c matrix_mdev = container_of(vcpu->kvm->arch.crypto.pqap_hook, crypto 1051 drivers/s390/crypto/vfio_ap_ops.c kvm->arch.crypto.pqap_hook = &matrix_mdev->pqap_hook; crypto 1107 drivers/s390/crypto/vfio_ap_ops.c if (!matrix_mdev->kvm->arch.crypto.crycbd) crypto 1227 drivers/s390/crypto/vfio_ap_ops.c matrix_mdev->kvm->arch.crypto.pqap_hook = NULL; crypto 2122 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c ret = rtw_cfg80211_set_wpa_version(psecuritypriv, sme->crypto.wpa_versions); crypto 2137 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (sme->crypto.n_ciphers_pairwise) { crypto 2138 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c ret = rtw_cfg80211_set_cipher(psecuritypriv, sme->crypto.ciphers_pairwise[0], true); crypto 2203 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c ret = rtw_cfg80211_set_cipher(psecuritypriv, sme->crypto.cipher_group, false); crypto 2207 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (sme->crypto.n_akm_suites) { crypto 2208 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c ret = rtw_cfg80211_set_key_mgt(psecuritypriv, sme->crypto.akm_suites[0]); crypto 440 drivers/staging/wilc1000/wilc_hif.c struct cfg80211_crypto_settings *crypto) crypto 563 drivers/staging/wilc1000/wilc_hif.c param->rsn_grp_policy = crypto->cipher_group & 0xFF; crypto 564 drivers/staging/wilc1000/wilc_hif.c for (i = 0; i < crypto->n_ciphers_pairwise && i < 3; i++) crypto 565 drivers/staging/wilc1000/wilc_hif.c param->p_suites[i] = crypto->ciphers_pairwise[i] & 0xFF; crypto 567 drivers/staging/wilc1000/wilc_hif.c for (i = 0; i < crypto->n_akm_suites && i < 3; i++) crypto 568 drivers/staging/wilc1000/wilc_hif.c param->akm_suites[i] = crypto->akm_suites[i] & 0xFF; crypto 232 drivers/staging/wilc1000/wilc_hif.h struct cfg80211_crypto_settings *crypto); crypto 285 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c cipher_group = sme->crypto.cipher_group; crypto 307 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c } else if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_2) { crypto 312 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c } else if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_1) { crypto 325 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if ((sme->crypto.wpa_versions & NL80211_WPA_VERSION_1) || crypto 326 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c (sme->crypto.wpa_versions & NL80211_WPA_VERSION_2)) { crypto 327 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c for (i = 0; i < sme->crypto.n_ciphers_pairwise; i++) { crypto 328 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c u32 ciphers_pairwise = sme->crypto.ciphers_pairwise[i]; crypto 350 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (sme->crypto.n_akm_suites) { crypto 351 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (sme->crypto.akm_suites[0] == WLAN_AKM_SUITE_8021X) crypto 374 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c join_params = wilc_parse_join_bss_param(bss, &sme->crypto); crypto 442 drivers/staging/wlan-ng/cfg80211.c int is_wep = (sme->crypto.cipher_group == WLAN_CIPHER_SUITE_WEP40) || crypto 443 drivers/staging/wlan-ng/cfg80211.c (sme->crypto.cipher_group == WLAN_CIPHER_SUITE_WEP104); crypto 1001 include/net/cfg80211.h struct cfg80211_crypto_settings crypto; crypto 2339 include/net/cfg80211.h struct cfg80211_crypto_settings crypto; crypto 2539 include/net/cfg80211.h struct cfg80211_crypto_settings crypto; crypto 1030 net/mac80211/cfg.c sdata->control_port_protocol = params->crypto.control_port_ethertype; crypto 1031 net/mac80211/cfg.c sdata->control_port_no_encrypt = params->crypto.control_port_no_encrypt; crypto 1033 net/mac80211/cfg.c params->crypto.control_port_over_nl80211; crypto 1035 net/mac80211/cfg.c ¶ms->crypto, crypto 1040 net/mac80211/cfg.c params->crypto.control_port_ethertype; crypto 1042 net/mac80211/cfg.c params->crypto.control_port_no_encrypt; crypto 1044 net/mac80211/cfg.c params->crypto.control_port_over_nl80211; crypto 1047 net/mac80211/cfg.c ¶ms->crypto, crypto 2216 net/mac80211/ieee80211_i.h struct cfg80211_crypto_settings *crypto, crypto 5289 net/mac80211/mlme.c for (i = 0; i < req->crypto.n_ciphers_pairwise; i++) { crypto 5290 net/mac80211/mlme.c if (req->crypto.ciphers_pairwise[i] == WLAN_CIPHER_SUITE_WEP40 || crypto 5291 net/mac80211/mlme.c req->crypto.ciphers_pairwise[i] == WLAN_CIPHER_SUITE_TKIP || crypto 5292 net/mac80211/mlme.c req->crypto.ciphers_pairwise[i] == WLAN_CIPHER_SUITE_WEP104) { crypto 5411 net/mac80211/mlme.c if (req->crypto.control_port) crypto 5416 net/mac80211/mlme.c sdata->control_port_protocol = req->crypto.control_port_ethertype; crypto 5417 net/mac80211/mlme.c sdata->control_port_no_encrypt = req->crypto.control_port_no_encrypt; crypto 5419 net/mac80211/mlme.c req->crypto.control_port_over_nl80211; crypto 5420 net/mac80211/mlme.c sdata->encrypt_headroom = ieee80211_cs_headroom(local, &req->crypto, crypto 3601 net/mac80211/util.c struct cfg80211_crypto_settings *crypto, crypto 3608 net/mac80211/util.c for (i = 0; i < crypto->n_ciphers_pairwise; i++) { crypto 3609 net/mac80211/util.c cs = ieee80211_cs_get(local, crypto->ciphers_pairwise[i], crypto 3616 net/mac80211/util.c cs = ieee80211_cs_get(local, crypto->cipher_group, iftype); crypto 4703 net/wireless/nl80211.c err = nl80211_crypto_settings(rdev, info, ¶ms.crypto, crypto 9285 net/wireless/nl80211.c err = nl80211_crypto_settings(rdev, info, &req.crypto, 1); crypto 9915 net/wireless/nl80211.c err = nl80211_crypto_settings(rdev, info, &connect.crypto, crypto 190 net/wireless/sme.c req.crypto = params->crypto; crypto 1222 net/wireless/sme.c if (connect->crypto.cipher_group == 0) crypto 1223 net/wireless/sme.c connect->crypto.cipher_group = cipher; crypto 1225 net/wireless/sme.c if (connect->crypto.n_ciphers_pairwise == 0) { crypto 1226 net/wireless/sme.c connect->crypto.n_ciphers_pairwise = 1; crypto 1227 net/wireless/sme.c connect->crypto.ciphers_pairwise[0] = cipher; crypto 1231 net/wireless/sme.c connect->crypto.wep_keys = connkeys->params; crypto 1232 net/wireless/sme.c connect->crypto.wep_tx_key = connkeys->def; crypto 537 net/wireless/trace.h __entry->wpa_ver = settings->crypto.wpa_versions; crypto 1312 net/wireless/trace.h __entry->wpa_versions = sme->crypto.wpa_versions; crypto 952 net/wireless/wext-compat.c wdev->wext.connect.crypto.wpa_versions &= crypto 956 net/wireless/wext-compat.c wdev->wext.connect.crypto.wpa_versions |= crypto 960 net/wireless/wext-compat.c wdev->wext.connect.crypto.wpa_versions |= crypto 969 net/wireless/wext-compat.c wdev->wext.connect.crypto.cipher_group = crypto 972 net/wireless/wext-compat.c wdev->wext.connect.crypto.cipher_group = crypto 975 net/wireless/wext-compat.c wdev->wext.connect.crypto.cipher_group = crypto 978 net/wireless/wext-compat.c wdev->wext.connect.crypto.cipher_group = crypto 981 net/wireless/wext-compat.c wdev->wext.connect.crypto.cipher_group = crypto 984 net/wireless/wext-compat.c wdev->wext.connect.crypto.cipher_group = 0; crypto 994 net/wireless/wext-compat.c u32 *ciphers_pairwise = wdev->wext.connect.crypto.ciphers_pairwise; crypto 1023 net/wireless/wext-compat.c wdev->wext.connect.crypto.n_ciphers_pairwise = nr_ciphers; crypto 1038 net/wireless/wext-compat.c wdev->wext.connect.crypto.akm_suites[nr_akm_suites] = crypto 1044 net/wireless/wext-compat.c wdev->wext.connect.crypto.akm_suites[nr_akm_suites] = crypto 1049 net/wireless/wext-compat.c wdev->wext.connect.crypto.n_akm_suites = nr_akm_suites; crypto 190 net/wireless/wext-sme.c wdev->wext.connect.crypto.control_port = false; crypto 191 net/wireless/wext-sme.c wdev->wext.connect.crypto.control_port_ethertype =