Home
last modified time | relevance | path

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

123456

/linux-2.6.39/drivers/net/wireless/rt2x00/
Drt2x00mac.c467 static void memcpy_tkip(struct rt2x00lib_crypto *crypto, u8 *key, u8 key_len) in memcpy_tkip() argument
470 memcpy(crypto->key, in memcpy_tkip()
472 sizeof(crypto->key)); in memcpy_tkip()
475 memcpy(crypto->tx_mic, in memcpy_tkip()
477 sizeof(crypto->tx_mic)); in memcpy_tkip()
480 memcpy(crypto->rx_mic, in memcpy_tkip()
482 sizeof(crypto->rx_mic)); in memcpy_tkip()
491 struct rt2x00lib_crypto *crypto, in rt2x00mac_set_key()
493 struct rt2x00lib_crypto crypto; in rt2x00mac_set_key() local
504 memset(&crypto, 0, sizeof(crypto)); in rt2x00mac_set_key()
[all …]
Drt73usb.c268 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(&reg, field, crypto->cipher); in rt73usb_config_shared_key()
330 rt2x00_set_field32(&reg, 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 …]
Drt61pci.c320 struct rt2x00lib_crypto *crypto, in rt61pci_config_shared_key() argument
328 if (crypto->cmd == SET_KEY) { in rt61pci_config_shared_key()
339 mask = (0xf << crypto->bssidx); in rt61pci_config_shared_key()
352 memcpy(key_entry.key, crypto->key, in rt61pci_config_shared_key()
354 memcpy(key_entry.tx_mic, crypto->tx_mic, in rt61pci_config_shared_key()
356 memcpy(key_entry.rx_mic, crypto->rx_mic, in rt61pci_config_shared_key()
375 rt2x00_set_field32(&reg, field, crypto->cipher); in rt61pci_config_shared_key()
382 rt2x00_set_field32(&reg, field, crypto->cipher); in rt61pci_config_shared_key()
407 if (crypto->cmd == SET_KEY) in rt61pci_config_shared_key()
409 else if (crypto->cmd == DISABLE_KEY) in rt61pci_config_shared_key()
[all …]
Drt2800lib.c1001 struct rt2x00lib_crypto *crypto, in rt2800_config_wcid_attr() argument
1011 if (crypto->cmd == SET_KEY) { in rt2800_config_wcid_attr()
1021 (crypto->cipher & 0x7)); in rt2800_config_wcid_attr()
1023 (crypto->cipher & 0x8) >> 3); in rt2800_config_wcid_attr()
1025 (crypto->bssidx & 0x7)); in rt2800_config_wcid_attr()
1027 (crypto->bssidx & 0x8) >> 3); in rt2800_config_wcid_attr()
1028 rt2x00_set_field32(&reg, MAC_WCID_ATTRIBUTE_RX_WIUDF, crypto->cipher); in rt2800_config_wcid_attr()
1037 if ((crypto->cipher == CIPHER_TKIP) || in rt2800_config_wcid_attr()
1038 (crypto->cipher == CIPHER_TKIP_NO_MIC) || in rt2800_config_wcid_attr()
1039 (crypto->cipher == CIPHER_AES)) in rt2800_config_wcid_attr()
[all …]
/linux-2.6.39/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
83 that contains all parts of the crypto device driver (ap bus,
187 tristate "Driver HIFN 795x crypto accelerator chips"
194 This option allows you to have support for HIFN 795x crypto adapters.
201 on the HIFN 795x crypto adapters.
220 tristate "Driver for IXP4xx crypto hardware acceleration"
227 Driver for the IXP4xx NPE crypto engine.
230 tristate "Driver AMCC PPC4xx crypto accelerator"
[all …]
Dixp4xx_crypto.c192 struct crypto_alg crypto; member
250 return container_of(tfm->__crt_alg, struct ixp_alg,crypto)->cfg_enc; in cipher_cfg_enc()
255 return container_of(tfm->__crt_alg, struct ixp_alg,crypto)->cfg_dec; in cipher_cfg_dec()
260 return container_of(tfm->__crt_alg, struct ixp_alg, crypto)->hash; in ix_hash()
1231 .crypto = {
1246 .crypto = {
1258 .crypto = {
1272 .crypto = {
1284 .crypto = {
1298 .crypto = {
[all …]
/linux-2.6.39/Documentation/
Dcoccinelle.txt170 /home/user/linux/crypto/ctr.c:188:9-16: ERR_CAST can be used with alg
171 /home/user/linux/crypto/authenc.c:619:9-16: ERR_CAST can be used with auth
172 /home/user/linux/crypto/xts.c:227:9-16: ERR_CAST can be used with alg
200 diff -u -p a/crypto/ctr.c b/crypto/ctr.c
201 --- a/crypto/ctr.c 2010-05-26 10:49:38.000000000 +0200
202 +++ b/crypto/ctr.c 2010-06-03 23:44:49.000000000 +0200
243 diff -u -p /home/user/linux/crypto/ctr.c /tmp/nothing
244 --- /home/user/linux/crypto/ctr.c 2010-05-26 10:49:38.000000000 +0200
288 * TODO [[view:/home/user/linux/crypto/ctr.c::face=ovl-face1::linb=188::colb=9::cole=16][ERR_CAST ca…
289 * TODO [[view:/home/user/linux/crypto/authenc.c::face=ovl-face1::linb=619::colb=9::cole=16][ERR_CAS…
[all …]
Ddmaengine.txt1 See Documentation/crypto/async-tx-api.txt
/linux-2.6.39/Documentation/filesystems/pohmelfs/
Dinfo.txt4 All but index, number of crypto threads and maximum IO size can changed via remount.
36 Number of crypto processing threads. Threads are used both for RX and TX traffic.
37 Default is 2, or no threads if crypto operations are not supported.
41 the number of pages, allocated for crypto processing (each crypto thread has
46 If specified, mount will fail if the server does not support requested crypto operations.
47 By default mount will disable non-matching crypto operations.
Dnetwork_protocol.txt8 __u16 csize; /* Attached crypto information size */
41 NETFS_CAPABILITIES, /* Capabilities of the client, for example supported crypto */
57 @csize, @cpad - size and padding size of the (attached if needed) crypto information.
200 Used to exchange crypto capabilities with server.
201 If crypto capabilities are not supported by server, then client will disable it
204 @id - superblock index. Used to specify crypto information for group of servers.
/linux-2.6.39/drivers/staging/pohmelfs/
Dconfig.c489 struct pohmelfs_crypto *crypto = (struct pohmelfs_crypto *)msg->data; in pohmelfs_cn_crypto() local
494 __func__, crypto->idx, crypto->strlen, crypto->type, in pohmelfs_cn_crypto()
495 crypto->keysize, (char *)crypto->data); in pohmelfs_cn_crypto()
498 g = pohmelfs_find_create_config_group(crypto->idx); in pohmelfs_cn_crypto()
504 switch (crypto->type) { in pohmelfs_cn_crypto()
506 err = pohmelfs_crypto_hash_init(g, crypto); in pohmelfs_cn_crypto()
509 err = pohmelfs_crypto_cipher_init(g, crypto); in pohmelfs_cn_crypto()
DMakefile3 pohmelfs-y := inode.o config.o dir.o net.o path_entry.o trans.o crypto.o lock.o mcache.o
/linux-2.6.39/Documentation/device-mapper/
Ddm-crypt.txt5 using the kernel crypto API.
17 /proc/crypto contains supported crypto modes
/linux-2.6.39/drivers/staging/rtl8192u/ieee80211/
DMakefile89 …11_crypt_wep-rsl.o ieee80211_crypt_tkip-rsl.o ieee80211_crypt_ccmp-rsl.o crypto-rsl.o ieee80211-rs…
109 crypto-rsl.o: arc4.o api.o autoload.o cipher.o compress.o digest.o scatterwalk.o proc.o
118 @install -p -m 644 crypto-rsl.o $(MODDESTDIR)
/linux-2.6.39/net/wireless/
Dwext-compat.c971 wdev->wext.connect.crypto.wpa_versions &= in cfg80211_set_wpa_version()
975 wdev->wext.connect.crypto.wpa_versions |= in cfg80211_set_wpa_version()
979 wdev->wext.connect.crypto.wpa_versions |= in cfg80211_set_wpa_version()
988 wdev->wext.connect.crypto.cipher_group = in cfg80211_set_cipher_group()
991 wdev->wext.connect.crypto.cipher_group = in cfg80211_set_cipher_group()
994 wdev->wext.connect.crypto.cipher_group = in cfg80211_set_cipher_group()
997 wdev->wext.connect.crypto.cipher_group = in cfg80211_set_cipher_group()
1000 wdev->wext.connect.crypto.cipher_group = in cfg80211_set_cipher_group()
1003 wdev->wext.connect.crypto.cipher_group = 0; in cfg80211_set_cipher_group()
1013 u32 *ciphers_pairwise = wdev->wext.connect.crypto.ciphers_pairwise; in cfg80211_set_cipher_pairwise()
[all …]
/linux-2.6.39/drivers/s390/
DMakefile5 obj-y += cio/ block/ char/ crypto/ net/ scsi/ kvm/
/linux-2.6.39/drivers/net/wireless/iwmc3200wifi/
Dcfg80211.c586 ret = iwm_set_wpa_version(iwm, sme->crypto.wpa_versions); in iwm_cfg80211_connect()
594 if (sme->crypto.n_ciphers_pairwise) { in iwm_cfg80211_connect()
595 ret = iwm_set_cipher(iwm, sme->crypto.ciphers_pairwise[0], in iwm_cfg80211_connect()
601 ret = iwm_set_cipher(iwm, sme->crypto.cipher_group, false); in iwm_cfg80211_connect()
605 if (sme->crypto.n_akm_suites) { in iwm_cfg80211_connect()
606 ret = iwm_set_key_mgt(iwm, sme->crypto.akm_suites[0]); in iwm_cfg80211_connect()
622 key_param.cipher = sme->crypto.ciphers_pairwise[0]; in iwm_cfg80211_connect()
/linux-2.6.39/arch/s390/
DKbuild3 obj-y += crypto/
/linux-2.6.39/Documentation/crypto/
Dapi-intro.txt47 Support for hardware crypto devices via an asynchronous interface is
52 #include <linux/crypto.h>
123 linux-crypto@vger.kernel.org
132 http://gondor.apana.org.au/~herbert/crypto/
173 Original developers of the crypto algorithms:
/linux-2.6.39/fs/ecryptfs/
DMakefile7 ecryptfs-objs := dentry.o file.o inode.o main.o super.o mmap.o read_write.o crypto.o keystore.o mes…
/linux-2.6.39/arch/x86/
DKbuild13 obj-y += crypto/
/linux-2.6.39/drivers/staging/sep/
DTODO2 - Check whether it can be plugged into any of the kernel crypto API
/linux-2.6.39/net/ceph/
DMakefile11 crypto.o armor.o \
/linux-2.6.39/Documentation/power/
Dswsusp-dmcrypt.txt16 system for crypto setup and/or rescue purposes. You may even have
17 an initrd that does your current crypto setup already.
63 of your crypto devices, again by reading the setup from the
132 mini system on /dev/hda1 to set the whole crypto up (it is up to
/linux-2.6.39/drivers/usb/wusbcore/
DMakefile9 crypto.o \

123456