/drivers/net/wireless/rt2x00/ |
D | rt2x00mac.c | 438 static void memcpy_tkip(struct rt2x00lib_crypto *crypto, u8 *key, u8 key_len) in memcpy_tkip() argument 441 memcpy(crypto->key, in memcpy_tkip() 443 sizeof(crypto->key)); in memcpy_tkip() 446 memcpy(crypto->tx_mic, in memcpy_tkip() 448 sizeof(crypto->tx_mic)); in memcpy_tkip() 451 memcpy(crypto->rx_mic, in memcpy_tkip() 453 sizeof(crypto->rx_mic)); in memcpy_tkip() 462 struct rt2x00lib_crypto *crypto, in rt2x00mac_set_key() 464 struct rt2x00lib_crypto crypto; in rt2x00mac_set_key() local 486 memset(&crypto, 0, sizeof(crypto)); in rt2x00mac_set_key() [all …]
|
D | rt73usb.c | 268 struct rt2x00lib_crypto *crypto, in rt73usb_config_shared_key() argument 276 if (crypto->cmd == SET_KEY) { in rt73usb_config_shared_key() 287 mask = (0xf << crypto->bssidx); in rt73usb_config_shared_key() 300 memcpy(key_entry.key, crypto->key, in rt73usb_config_shared_key() 302 memcpy(key_entry.tx_mic, crypto->tx_mic, in rt73usb_config_shared_key() 304 memcpy(key_entry.rx_mic, crypto->rx_mic, in rt73usb_config_shared_key() 323 rt2x00_set_field32(®, field, crypto->cipher); in rt73usb_config_shared_key() 330 rt2x00_set_field32(®, field, crypto->cipher); in rt73usb_config_shared_key() 355 if (crypto->cmd == SET_KEY) in rt73usb_config_shared_key() 357 else if (crypto->cmd == DISABLE_KEY) in rt73usb_config_shared_key() [all …]
|
D | rt61pci.c | 321 struct rt2x00lib_crypto *crypto, in rt61pci_config_shared_key() argument 329 if (crypto->cmd == SET_KEY) { in rt61pci_config_shared_key() 340 mask = (0xf << crypto->bssidx); in rt61pci_config_shared_key() 353 memcpy(key_entry.key, crypto->key, in rt61pci_config_shared_key() 355 memcpy(key_entry.tx_mic, crypto->tx_mic, in rt61pci_config_shared_key() 357 memcpy(key_entry.rx_mic, crypto->rx_mic, in rt61pci_config_shared_key() 376 rt2x00_set_field32(®, field, crypto->cipher); in rt61pci_config_shared_key() 383 rt2x00_set_field32(®, field, crypto->cipher); in rt61pci_config_shared_key() 408 if (crypto->cmd == SET_KEY) in rt61pci_config_shared_key() 410 else if (crypto->cmd == DISABLE_KEY) in rt61pci_config_shared_key() [all …]
|
D | rt2800lib.h | 181 struct rt2x00lib_crypto *crypto, 184 struct rt2x00lib_crypto *crypto,
|
D | rt2800lib.c | 1054 struct rt2x00lib_crypto *crypto, in rt2800_config_wcid_attr_cipher() argument 1063 if (crypto->cmd == SET_KEY) { in rt2800_config_wcid_attr_cipher() 1073 (crypto->cipher & 0x7)); in rt2800_config_wcid_attr_cipher() 1075 (crypto->cipher & 0x8) >> 3); in rt2800_config_wcid_attr_cipher() 1076 rt2x00_set_field32(®, MAC_WCID_ATTRIBUTE_RX_WIUDF, crypto->cipher); in rt2800_config_wcid_attr_cipher() 1091 if ((crypto->cipher == CIPHER_TKIP) || in rt2800_config_wcid_attr_cipher() 1092 (crypto->cipher == CIPHER_TKIP_NO_MIC) || in rt2800_config_wcid_attr_cipher() 1093 (crypto->cipher == CIPHER_AES)) in rt2800_config_wcid_attr_cipher() 1101 struct rt2x00lib_crypto *crypto, in rt2800_config_shared_key() argument 1109 if (crypto->cmd == SET_KEY) { in rt2800_config_shared_key() [all …]
|
D | rt2500usb.c | 345 struct rt2x00lib_crypto *crypto, in rt2500usb_config_key() argument 352 if (crypto->cmd == SET_KEY) { in rt2500usb_config_key() 386 if (key->hw_key_idx > 0 && crypto->cipher != curr_cipher) in rt2500usb_config_key() 390 crypto->key, sizeof(crypto->key)); in rt2500usb_config_key() 410 rt2x00_set_field16(®, TXRX_CSR0_ALGORITHM, crypto->cipher); in rt2500usb_config_key() 414 if (crypto->cmd == SET_KEY) in rt2500usb_config_key() 416 else if (crypto->cmd == DISABLE_KEY) in rt2500usb_config_key()
|
D | rt2x00.h | 611 struct rt2x00lib_crypto *crypto, 614 struct rt2x00lib_crypto *crypto,
|
/drivers/staging/rtl8192e/ |
D | Kconfig | 15 tristate "Support for rtllib CCMP crypto" 20 CCMP crypto driver for rtllib. 25 tristate "Support for rtllib TKIP crypto" 31 TKIP crypto driver for rtllib. 36 tristate "Support for rtllib WEP crypto" 41 TKIP crypto driver for rtllib.
|
/drivers/crypto/ |
D | Kconfig | 3 bool "Hardware crypto devices" 6 Say Y here to get to see options for hardware crypto devices and 17 Some VIA processors come with an integrated crypto engine 190 tristate "Driver HIFN 795x crypto accelerator chips" 198 This option allows you to have support for HIFN 795x crypto adapters. 205 on the HIFN 795x crypto adapters. 207 source drivers/crypto/caam/Kconfig 226 tristate "Driver for IXP4xx crypto hardware acceleration" 233 Driver for the IXP4xx NPE crypto engine. 236 tristate "Driver AMCC PPC4xx crypto accelerator" [all …]
|
D | ixp4xx_crypto.c | 193 struct crypto_alg crypto; member 251 return container_of(tfm->__crt_alg, struct ixp_alg,crypto)->cfg_enc; in cipher_cfg_enc() 256 return container_of(tfm->__crt_alg, struct ixp_alg,crypto)->cfg_dec; in cipher_cfg_dec() 261 return container_of(tfm->__crt_alg, struct ixp_alg, crypto)->hash; in ix_hash() 1232 .crypto = { 1247 .crypto = { 1259 .crypto = { 1273 .crypto = { 1285 .crypto = { 1299 .crypto = { [all …]
|
D | talitos.c | 1969 struct crypto_alg crypto; member 1978 .alg.crypto = { 1997 .alg.crypto = { 2017 .alg.crypto = { 2036 .alg.crypto = { 2056 .alg.crypto = { 2075 .alg.crypto = { 2095 .alg.crypto = { 2114 .alg.crypto = { 2134 .alg.crypto = { [all …]
|
/drivers/crypto/ux500/ |
D | Kconfig | 8 tristate "UX500 crypto driver for CRYP block" 12 This selects the crypto driver for the UX500_CRYP hardware. It supports 16 tristate "UX500 crypto driver for HASH block" 25 bool "Activate ux500 platform debug-mode for crypto and hash block"
|
/drivers/net/wireless/mwifiex/ |
D | uap_cmd.c | 60 for (i = 0; i < params->crypto.n_akm_suites; i++) { in mwifiex_set_secure_params() 61 switch (params->crypto.akm_suites[i]) { in mwifiex_set_secure_params() 63 if (params->crypto.wpa_versions & in mwifiex_set_secure_params() 68 if (params->crypto.wpa_versions & in mwifiex_set_secure_params() 75 if (params->crypto.wpa_versions & in mwifiex_set_secure_params() 80 if (params->crypto.wpa_versions & in mwifiex_set_secure_params() 90 for (i = 0; i < params->crypto.n_ciphers_pairwise; i++) { in mwifiex_set_secure_params() 91 switch (params->crypto.ciphers_pairwise[i]) { in mwifiex_set_secure_params() 96 if (params->crypto.wpa_versions & NL80211_WPA_VERSION_1) in mwifiex_set_secure_params() 99 if (params->crypto.wpa_versions & NL80211_WPA_VERSION_2) in mwifiex_set_secure_params() [all …]
|
/drivers/crypto/nx/ |
D | Makefile | 1 obj-$(CONFIG_CRYPTO_DEV_NX_ENCRYPT) += nx-crypto.o 2 nx-crypto-objs := nx.o \
|
/drivers/block/drbd/ |
D | drbd_nl.c | 1901 struct crypto { struct 1924 alloc_crypto(struct crypto *crypto, struct net_conf *new_conf) in alloc_crypto() argument 1929 rv = alloc_hash(&crypto->csums_tfm, new_conf->csums_alg, in alloc_crypto() 1933 rv = alloc_hash(&crypto->verify_tfm, new_conf->verify_alg, in alloc_crypto() 1937 rv = alloc_hash(&crypto->integrity_tfm, new_conf->integrity_alg, in alloc_crypto() 1945 rv = alloc_hash(&crypto->cram_hmac_tfm, hmac_name, in alloc_crypto() 1952 static void free_crypto(struct crypto *crypto) in free_crypto() argument 1954 crypto_free_hash(crypto->cram_hmac_tfm); in free_crypto() 1955 crypto_free_hash(crypto->integrity_tfm); in free_crypto() 1956 crypto_free_hash(crypto->csums_tfm); in free_crypto() [all …]
|
/drivers/crypto/ux500/cryp/ |
D | cryp_core.c | 1075 struct crypto_alg crypto; member 1084 crypto); in cryp_cra_init() 1095 .crypto = { 1120 .crypto = { 1145 .crypto = { 1171 .crypto = { 1197 .crypto = { 1223 .crypto = { 1248 .crypto = { 1273 .crypto = { [all …]
|
/drivers/crypto/caam/ |
D | Kconfig | 70 Selecting this will offload crypto for users of the 71 scatterlist crypto API (such as the linux native IPSec 84 scatterlist crypto API to the SEC4 via job ring.
|
/drivers/s390/ |
D | Makefile | 5 obj-y += cio/ block/ char/ crypto/ net/ scsi/ kvm/
|
/drivers/net/wireless/ath/ath6kl/ |
D | cfg80211.c | 547 ath6kl_set_wpa_version(vif, sme->crypto.wpa_versions); in ath6kl_cfg80211_connect() 555 if (sme->crypto.n_ciphers_pairwise) in ath6kl_cfg80211_connect() 556 ath6kl_set_cipher(vif, sme->crypto.ciphers_pairwise[0], true); in ath6kl_cfg80211_connect() 560 ath6kl_set_cipher(vif, sme->crypto.cipher_group, false); in ath6kl_cfg80211_connect() 562 if (sme->crypto.n_akm_suites) in ath6kl_cfg80211_connect() 563 ath6kl_set_key_mgmt(vif, sme->crypto.akm_suites[0]); in ath6kl_cfg80211_connect() 2815 for (i = 0; i < info->crypto.n_akm_suites; i++) { in ath6kl_start_ap() 2816 switch (info->crypto.akm_suites[i]) { in ath6kl_start_ap() 2818 if (info->crypto.wpa_versions & NL80211_WPA_VERSION_1) in ath6kl_start_ap() 2820 if (info->crypto.wpa_versions & NL80211_WPA_VERSION_2) in ath6kl_start_ap() [all …]
|
/drivers/staging/sep/ |
D | Kconfig | 7 to the kernel crypto infrastructure
|
/drivers/usb/wusbcore/ |
D | Makefile | 9 crypto.o \
|
/drivers/net/wireless/brcm80211/brcmfmac/ |
D | wl_cfg80211.c | 1283 if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_1) in brcmf_set_wpa_version() 1285 else if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_2) in brcmf_set_wpa_version() 1296 sec->wpa_versions = sme->crypto.wpa_versions; in brcmf_set_wpa_version() 1349 if (sme->crypto.n_ciphers_pairwise) { in brcmf_set_set_cipher() 1350 switch (sme->crypto.ciphers_pairwise[0]) { in brcmf_set_set_cipher() 1366 sme->crypto.ciphers_pairwise[0]); in brcmf_set_set_cipher() 1370 if (sme->crypto.cipher_group) { in brcmf_set_set_cipher() 1371 switch (sme->crypto.cipher_group) { in brcmf_set_set_cipher() 1387 sme->crypto.cipher_group); in brcmf_set_set_cipher() 1405 sec->cipher_pairwise = sme->crypto.ciphers_pairwise[0]; in brcmf_set_set_cipher() [all …]
|
/drivers/ |
D | Makefile | 118 obj-$(CONFIG_CRYPTO) += crypto/
|
/drivers/net/wireless/ |
D | rndis_wlan.c | 2166 groupwise = rndis_cipher_to_alg(sme->crypto.cipher_group); in rndis_connect() 2167 for (i = 0; i < sme->crypto.n_ciphers_pairwise; i++) in rndis_connect() 2169 rndis_cipher_to_alg(sme->crypto.ciphers_pairwise[i]); in rndis_connect() 2171 if (sme->crypto.n_ciphers_pairwise > 0 && in rndis_connect() 2177 for (i = 0; i < sme->crypto.n_akm_suites; i++) in rndis_connect() 2179 rndis_akm_suite_to_key_mgmt(sme->crypto.akm_suites[i]); in rndis_connect() 2181 if (sme->crypto.n_akm_suites > 0 && in rndis_connect() 2189 sme->privacy, sme->crypto.wpa_versions, sme->auth_type, in rndis_connect() 2202 ret = set_auth_mode(usbdev, sme->crypto.wpa_versions, sme->auth_type, in rndis_connect()
|
/drivers/staging/wlan-ng/ |
D | cfg80211.c | 490 int is_wep = (sme->crypto.cipher_group == WLAN_CIPHER_SUITE_WEP40) || in prism2_connect() 491 (sme->crypto.cipher_group == WLAN_CIPHER_SUITE_WEP104); in prism2_connect()
|