Home
last modified time | relevance | path

Searched refs:crypto (Results 1 – 25 of 50) sorted by relevance

12

/drivers/crypto/ccp/
DMakefile10 obj-$(CONFIG_CRYPTO_DEV_CCP_CRYPTO) += ccp-crypto.o
11 ccp-crypto-objs := ccp-crypto-main.o \
12 ccp-crypto-aes.o \
13 ccp-crypto-aes-cmac.o \
14 ccp-crypto-aes-xts.o \
15 ccp-crypto-sha.o
/drivers/net/wireless/ralink/rt2x00/
Drt2x00mac.c433 static void memcpy_tkip(struct rt2x00lib_crypto *crypto, u8 *key, u8 key_len) in memcpy_tkip() argument
436 memcpy(crypto->key, in memcpy_tkip()
438 sizeof(crypto->key)); in memcpy_tkip()
441 memcpy(crypto->tx_mic, in memcpy_tkip()
443 sizeof(crypto->tx_mic)); in memcpy_tkip()
446 memcpy(crypto->rx_mic, in memcpy_tkip()
448 sizeof(crypto->rx_mic)); in memcpy_tkip()
457 struct rt2x00lib_crypto *crypto, in rt2x00mac_set_key()
459 struct rt2x00lib_crypto crypto; in rt2x00mac_set_key() local
481 memset(&crypto, 0, sizeof(crypto)); in rt2x00mac_set_key()
[all …]
Drt73usb.c265 struct rt2x00lib_crypto *crypto, in rt73usb_config_shared_key() argument
273 if (crypto->cmd == SET_KEY) { in rt73usb_config_shared_key()
284 mask = (0xf << crypto->bssidx); in rt73usb_config_shared_key()
297 memcpy(key_entry.key, crypto->key, in rt73usb_config_shared_key()
299 memcpy(key_entry.tx_mic, crypto->tx_mic, in rt73usb_config_shared_key()
301 memcpy(key_entry.rx_mic, crypto->rx_mic, in rt73usb_config_shared_key()
320 rt2x00_set_field32(&reg, field, crypto->cipher); in rt73usb_config_shared_key()
327 rt2x00_set_field32(&reg, field, crypto->cipher); in rt73usb_config_shared_key()
352 if (crypto->cmd == SET_KEY) in rt73usb_config_shared_key()
354 else if (crypto->cmd == DISABLE_KEY) in rt73usb_config_shared_key()
[all …]
Drt61pci.c318 struct rt2x00lib_crypto *crypto, in rt61pci_config_shared_key() argument
326 if (crypto->cmd == SET_KEY) { in rt61pci_config_shared_key()
337 mask = (0xf << crypto->bssidx); in rt61pci_config_shared_key()
350 memcpy(key_entry.key, crypto->key, in rt61pci_config_shared_key()
352 memcpy(key_entry.tx_mic, crypto->tx_mic, in rt61pci_config_shared_key()
354 memcpy(key_entry.rx_mic, crypto->rx_mic, in rt61pci_config_shared_key()
373 rt2x00_set_field32(&reg, field, crypto->cipher); in rt61pci_config_shared_key()
380 rt2x00_set_field32(&reg, field, crypto->cipher); in rt61pci_config_shared_key()
405 if (crypto->cmd == SET_KEY) in rt61pci_config_shared_key()
407 else if (crypto->cmd == DISABLE_KEY) in rt61pci_config_shared_key()
[all …]
/drivers/staging/rtl8192e/
DKconfig15 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/
DKconfig3 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
223 tristate "Driver HIFN 795x crypto accelerator chips"
230 This option allows you to have support for HIFN 795x crypto adapters.
237 on the HIFN 795x crypto adapters.
239 source drivers/crypto/caam/Kconfig
278 tristate "Driver for IXP4xx crypto hardware acceleration"
285 Driver for the IXP4xx NPE crypto engine.
288 tristate "Driver AMCC PPC4xx crypto accelerator"
[all …]
Dixp4xx_crypto.c194 struct crypto_alg crypto; member
203 struct aead_alg crypto; member
247 return container_of(tfm->__crt_alg, struct ixp_alg,crypto)->cfg_enc; in cipher_cfg_enc()
252 return container_of(tfm->__crt_alg, struct ixp_alg,crypto)->cfg_dec; in cipher_cfg_dec()
257 return container_of(tfm->__crt_alg, struct ixp_alg, crypto)->hash; in ix_hash()
1191 .crypto = {
1206 .crypto = {
1218 .crypto = {
1232 .crypto = {
1244 .crypto = {
[all …]
/drivers/crypto/sunxi-ss/
Dsun4i-ss-core.c87 .alg.crypto = {
109 .alg.crypto = {
131 .alg.crypto = {
153 .alg.crypto = {
174 .alg.crypto = {
196 .alg.crypto = {
344 err = crypto_register_alg(&ss_algs[i].alg.crypto); in sun4i_ss_probe()
347 ss_algs[i].alg.crypto.cra_name); in sun4i_ss_probe()
368 crypto_unregister_alg(&ss_algs[i].alg.crypto); in sun4i_ss_probe()
392 crypto_unregister_alg(&ss_algs[i].alg.crypto); in sun4i_ss_remove()
/drivers/crypto/qat/
DKconfig21 for accelerating crypto and compression workloads.
32 for accelerating crypto and compression workloads.
43 for accelerating crypto and compression workloads.
56 Virtual Function for accelerating crypto and compression workloads.
68 Virtual Function for accelerating crypto and compression workloads.
80 Virtual Function for accelerating crypto and compression workloads.
/drivers/crypto/ux500/
DKconfig8 tristate "UX500 crypto driver for CRYP block"
14 This selects the crypto driver for the UX500_CRYP hardware. It supports
18 tristate "UX500 crypto driver for HASH block"
28 bool "Activate ux500 platform debug-mode for crypto and hash block"
/drivers/net/wireless/marvell/mwifiex/
Duap_cmd.c61 for (i = 0; i < params->crypto.n_akm_suites; i++) { in mwifiex_set_secure_params()
62 switch (params->crypto.akm_suites[i]) { in mwifiex_set_secure_params()
64 if (params->crypto.wpa_versions & in mwifiex_set_secure_params()
69 if (params->crypto.wpa_versions & in mwifiex_set_secure_params()
76 if (params->crypto.wpa_versions & in mwifiex_set_secure_params()
81 if (params->crypto.wpa_versions & in mwifiex_set_secure_params()
91 for (i = 0; i < params->crypto.n_ciphers_pairwise; i++) { in mwifiex_set_secure_params()
92 switch (params->crypto.ciphers_pairwise[i]) { in mwifiex_set_secure_params()
97 if (params->crypto.wpa_versions & NL80211_WPA_VERSION_1) in mwifiex_set_secure_params()
100 if (params->crypto.wpa_versions & NL80211_WPA_VERSION_2) in mwifiex_set_secure_params()
[all …]
/drivers/crypto/rockchip/
Drk3288_crypto_ablkcipher.c339 algt = container_of(alg, struct rk_crypto_tmp, alg.crypto); in rk_ablk_cra_init()
361 .alg.crypto = {
386 .alg.crypto = {
412 .alg.crypto = {
437 .alg.crypto = {
463 .alg.crypto = {
489 .alg.crypto = {
Drk3288_crypto.c239 &rk_cipher_algs[i]->alg.crypto); in rk_crypto_register()
251 crypto_unregister_alg(&rk_cipher_algs[k]->alg.crypto); in rk_crypto_register()
264 crypto_unregister_alg(&rk_cipher_algs[i]->alg.crypto); in rk_crypto_unregister()
/drivers/crypto/ux500/cryp/
Dcryp_core.c1090 struct crypto_alg crypto; member
1099 crypto); in cryp_cra_init()
1110 .crypto = {
1135 .crypto = {
1160 .crypto = {
1186 .crypto = {
1212 .crypto = {
1238 .crypto = {
1263 .crypto = {
1288 .crypto = {
[all …]
/drivers/crypto/vmx/
DMakefile1 obj-$(CONFIG_CRYPTO_DEV_VMX_ENCRYPT) += vmx-crypto.o
2 vmx-crypto-objs := vmx.o aesp8-ppc.o ghashp8-ppc.o aes.o aes_cbc.o aes_ctr.o aes_xts.o ghash.o
DKconfig9 choose 'M' here, this module will be called vmx-crypto.
/drivers/crypto/nx/
DMakefile1 obj-$(CONFIG_CRYPTO_DEV_NX_ENCRYPT) += nx-crypto.o
2 nx-crypto-objs := nx.o \
/drivers/staging/lustre/lnet/libcfs/
DMakefile7 libcfs-linux-objs += linux-crypto.o
8 libcfs-linux-objs += linux-crypto-adler.o
/drivers/crypto/caam/
DKconfig83 Selecting this will offload crypto for users of the
84 scatterlist crypto API (such as the linux native IPSec
97 scatterlist crypto API to the SEC4 via job ring.
/drivers/block/drbd/
Ddrbd_nl.c2318 struct crypto { struct
2356 alloc_crypto(struct crypto *crypto, struct net_conf *new_net_conf) in alloc_crypto() argument
2361 rv = alloc_ahash(&crypto->csums_tfm, new_net_conf->csums_alg, in alloc_crypto()
2365 rv = alloc_ahash(&crypto->verify_tfm, new_net_conf->verify_alg, in alloc_crypto()
2369 rv = alloc_ahash(&crypto->integrity_tfm, new_net_conf->integrity_alg, in alloc_crypto()
2377 rv = alloc_shash(&crypto->cram_hmac_tfm, hmac_name, in alloc_crypto()
2384 static void free_crypto(struct crypto *crypto) in free_crypto() argument
2386 crypto_free_shash(crypto->cram_hmac_tfm); in free_crypto()
2387 crypto_free_ahash(crypto->integrity_tfm); in free_crypto()
2388 crypto_free_ahash(crypto->csums_tfm); in free_crypto()
[all …]
/drivers/s390/
DMakefile5 obj-y += cio/ block/ char/ crypto/ net/ scsi/ virtio/
/drivers/crypto/qat/qat_common/
Dicp_qat_fw.h261 #define ICP_QAT_FW_COMN_RESP_STATUS_BUILD(crypto, comp, xlat, eolb) \ argument
262 ((((crypto) & QAT_COMN_RESP_CRYPTO_STATUS_MASK) << \
/drivers/crypto/qce/
Dcipher.h59 return container_of(alg, struct qce_alg_template, alg.crypto); in to_cipher_tmpl()
/drivers/staging/wilc1000/
Dwilc_wfi_cfgoperations.c717 if (sme->crypto.cipher_group != NO_ENCRYPT) { in connect()
718 if (sme->crypto.cipher_group == WLAN_CIPHER_SUITE_WEP40) { in connect()
733 } else if (sme->crypto.cipher_group == WLAN_CIPHER_SUITE_WEP104) { in connect()
748 } else if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_2) { in connect()
749 if (sme->crypto.cipher_group == WLAN_CIPHER_SUITE_TKIP) in connect()
753 } else if (sme->crypto.wpa_versions & NL80211_WPA_VERSION_1) { in connect()
754 if (sme->crypto.cipher_group == WLAN_CIPHER_SUITE_TKIP) in connect()
766 if ((sme->crypto.wpa_versions & NL80211_WPA_VERSION_1) in connect()
767 || (sme->crypto.wpa_versions & NL80211_WPA_VERSION_2)) { in connect()
768 for (i = 0; i < sme->crypto.n_ciphers_pairwise; i++) { in connect()
[all …]
/drivers/usb/wusbcore/
DMakefile9 crypto.o \

12