Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/intel/ipw2x00/
H A Dlibipw_tx.c141 struct libipw_crypt_data *crypt = in libipw_encrypt_fragment() local
142 ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; in libipw_encrypt_fragment()
145 if (crypt == NULL) in libipw_encrypt_fragment()
150 atomic_inc(&crypt->refcnt); in libipw_encrypt_fragment()
152 if (crypt->ops && crypt->ops->encrypt_mpdu) in libipw_encrypt_fragment()
153 res = crypt->ops->encrypt_mpdu(frag, hdr_len, crypt->priv); in libipw_encrypt_fragment()
155 atomic_dec(&crypt->refcnt); in libipw_encrypt_fragment()
258 struct libipw_crypt_data *crypt; in libipw_xmit() local
282 crypt = ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; in libipw_xmit()
287 host_encrypt = ieee->host_encrypt && encrypt && crypt; in libipw_xmit()
[all …]
H A Dlibipw_crypto.c66 struct libipw_crypt_data *crypt = info->crypt[i]; in libipw_crypt_info_free() local
67 if (crypt) { in libipw_crypt_info_free()
68 if (crypt->ops) { in libipw_crypt_info_free()
69 crypt->ops->deinit(crypt->priv); in libipw_crypt_info_free()
70 module_put(crypt->ops->owner); in libipw_crypt_info_free()
72 kfree(crypt); in libipw_crypt_info_free()
73 info->crypt[i] = NULL; in libipw_crypt_info_free()
130 struct libipw_crypt_data **crypt) in libipw_crypt_delayed_deinit() argument
135 if (*crypt == NULL) in libipw_crypt_delayed_deinit()
138 tmp = *crypt; in libipw_crypt_delayed_deinit()
[all …]
H A Dlibipw_wx.c303 struct libipw_crypt_data **crypt; in libipw_wx_set_encode() local
322 crypt = &ieee->crypt_info.crypt[key]; in libipw_wx_set_encode()
325 if (key_provided && *crypt) { in libipw_wx_set_encode()
328 libipw_crypt_delayed_deinit(&ieee->crypt_info, crypt); in libipw_wx_set_encode()
335 if (ieee->crypt_info.crypt[i] != NULL) { in libipw_wx_set_encode()
339 &ieee->crypt_info.crypt[i]); in libipw_wx_set_encode()
357 if (*crypt != NULL && (*crypt)->ops != NULL && in libipw_wx_set_encode()
358 strcmp((*crypt)->ops->name, "WEP") != 0) { in libipw_wx_set_encode()
361 libipw_crypt_delayed_deinit(&ieee->crypt_info, crypt); in libipw_wx_set_encode()
364 if (*crypt == NULL && host_crypto) { in libipw_wx_set_encode()
[all …]
H A Dlibipw_rx.c266 struct libipw_crypt_data *crypt) in libipw_rx_frame_decrypt() argument
271 if (crypt == NULL || crypt->ops->decrypt_mpdu == NULL) in libipw_rx_frame_decrypt()
277 atomic_inc(&crypt->refcnt); in libipw_rx_frame_decrypt()
278 res = crypt->ops->decrypt_mpdu(skb, hdrlen, crypt->priv); in libipw_rx_frame_decrypt()
279 atomic_dec(&crypt->refcnt); in libipw_rx_frame_decrypt()
298 struct libipw_crypt_data *crypt) in libipw_rx_frame_decrypt_msdu() argument
303 if (crypt == NULL || crypt->ops->decrypt_msdu == NULL) in libipw_rx_frame_decrypt_msdu()
309 atomic_inc(&crypt->refcnt); in libipw_rx_frame_decrypt_msdu()
310 res = crypt->ops->decrypt_msdu(skb, keyidx, hdrlen, crypt->priv); in libipw_rx_frame_decrypt_msdu()
311 atomic_dec(&crypt->refcnt); in libipw_rx_frame_decrypt_msdu()
[all …]
H A Dipw2100.c4043 DUMP_VAR(ieee->crypt_info.crypt[priv->ieee->crypt_info.tx_keyidx], "p"); in internals_show()
7566 struct libipw_crypt_data *crypt; in ipw2100_wx_set_auth() local
7581 crypt = priv->ieee->crypt_info.crypt[priv->ieee->crypt_info.tx_keyidx]; in ipw2100_wx_set_auth()
7582 if (!crypt || !crypt->ops->set_flags || !crypt->ops->get_flags) in ipw2100_wx_set_auth()
7585 flags = crypt->ops->get_flags(crypt->priv); in ipw2100_wx_set_auth()
7592 crypt->ops->set_flags(flags, crypt->priv); in ipw2100_wx_set_auth()
7658 struct libipw_crypt_data *crypt; in ipw2100_wx_get_auth() local
7672 crypt = priv->ieee->crypt_info.crypt[priv->ieee->crypt_info.tx_keyidx]; in ipw2100_wx_get_auth()
7673 if (!crypt || !crypt->ops->get_flags) { in ipw2100_wx_get_auth()
7679 param->value = (crypt->ops->get_flags(crypt->priv) & in ipw2100_wx_get_auth()
H A Dlibipw.h763 struct libipw_crypt_data *crypt[NUM_WEP_KEYS]; member
1072 struct libipw_crypt_data **crypt);
H A Dipw2200.c6559 struct libipw_crypt_data *crypt; in ipw_wx_set_auth() local
6581 crypt = priv->ieee->crypt_info.crypt[priv->ieee->crypt_info.tx_keyidx]; in ipw_wx_set_auth()
6582 if (!crypt || !crypt->ops->set_flags || !crypt->ops->get_flags) in ipw_wx_set_auth()
6585 flags = crypt->ops->get_flags(crypt->priv); in ipw_wx_set_auth()
6592 crypt->ops->set_flags(flags, crypt->priv); in ipw_wx_set_auth()
6658 struct libipw_crypt_data *crypt; in ipw_wx_get_auth() local
6672 crypt = priv->ieee->crypt_info.crypt[priv->ieee->crypt_info.tx_keyidx]; in ipw_wx_get_auth()
6673 if (!crypt || !crypt->ops->get_flags) in ipw_wx_get_auth()
6676 param->value = (crypt->ops->get_flags(crypt->priv) & in ipw_wx_get_auth()
/linux/Documentation/admin-guide/device-mapper/
H A Ddm-crypt.rst2 dm-crypt
5 Device-Mapper's "crypt" target provides transparent encryption of block devices
29 Cipher format also supports direct specification with kernel crypt API
73 The kernel keyring key description crypt target should look for
102 Block discard requests (a.k.a. TRIM) are passed through the crypt device.
117 Set dm-crypt workqueues and the writer thread to high priority. This
118 improves throughput and latency of dm-crypt while degrading general
130 Bypass dm-crypt internal workqueue and process read requests synchronously.
133 Bypass dm-crypt internal workqueue and process write requests synchronously.
176 is received, dm-crypt will split the request. The splitting improves
[all …]
H A Ddm-init.rst46 `crypt` allowed
92 "crypt"::
94 dm-crypt,,8,ro,
95 0 1048576 crypt aes-xts-plain64
/linux/Documentation/filesystems/
H A Decryptfs.rst45 files (i.e., /root/crypt). Then, create the mount point directory
46 (i.e., /mnt/crypt). Now it's time to mount eCryptfs::
48 mount -t ecryptfs /root/crypt /mnt/crypt
55 echo "Hello, World" > /mnt/crypt/hello.txt
58 /root/crypt that is at least 12288 bytes in size (depending on your
65 Then umount /mnt/crypt and mount again per the instructions given
70 cat /mnt/crypt/hello.txt
H A Dfscrypt.rst25 Unlike dm-crypt, fscrypt operates at the filesystem level rather than
710 filesystem with one key should consider using dm-crypt instead.
1242 Alternatively, encrypted swap can use a dm-crypt device.
1386 attaching the hardware-wrapped key to the bio crypt contexts. As is
/linux/Documentation/translations/zh_CN/filesystems/
H A Dubifs-authentication.rst30 其他全盘加密系统(如 dm-crypt)可以覆盖所有文件系统元数据,这类系统虽然能
32 基于 Linux 块 IO 层的 dm-crypt 等文件系统,可通过 dm-integrity 或
34 功能也可与 dm-crypt 结合使用[CRYPTSETUP2]。
343 [CRYPTSETUP2] https://www.saout.de/pipermail/dm-crypt/2017-November/005745.html
/linux/Documentation/power/
H A Dswsusp-dmcrypt.rst2 How to use dm-crypt and swsusp together
10 You know how dm-crypt works. If not, visit the following web page:
11 http://www.saout.de/misc/dm-crypt/
26 up dm-crypt and then asks swsusp to resume from the encrypted
29 The most important thing is that you set up dm-crypt in such
53 you create an initrd that reads the required dm-crypt setup
H A Dswsusp.rst321 First of all: it is not a replacement for dm-crypt encrypted swap.
/linux/Documentation/translations/zh_CN/security/
H A Dself-protection.rst122 如,CONFIG_MODULE_SIG_FORCE或通过LoadPin保护的dm-crypt),以防
/linux/Documentation/crypto/
H A Ddescore-readme.rst69 since i was interested in fast des filters rather than crypt(3)
112 it's 39%-106% slower. because he was interested in fast crypt(3) and
120 fast crypt(3) package from denmark:
123 crypt function and i didn't feel like ripping it out and measuring
145 as in crypt above, the des routine is buried in a loop. it's
146 also very modified for crypt. his iteration code uses 16k
187 a while later i ran across the great crypt(3) package mentioned above.
197 to crypt(3) in his tables - i didn't check.
/linux/Documentation/translations/zh_CN/core-api/
H A Dworkqueue.rst382 dm-crypt 的性能测试清楚地阐明了这一取舍。
387 以默认配置打开的一个 dm-crypt 设备。
/linux/kernel/
H A DKconfig.kexec119 bool "Support saving crash dump to dm-crypt encrypted volume"
126 /sys/kernel/config/crash_dm_crypt_keys to make the dm crypt keys
/linux/drivers/net/netdevsim/
H A Dnetdevsim.h48 bool crypt; member
/linux/crypto/
H A DKconfig447 See https://info.isl.ntt.co.jp/crypt/eng/camellia/ for further information.
710 narrow block cipher mode for dm-crypt. Use it with cipher
828 dm-crypt. It uses the hash of the block encryption key as the
840 associated data (AAD) region (which is how dm-crypt uses it.)
/linux/tools/testing/selftests/net/
H A Drtnetlink.sh935 sa[0] spi=0x00000009 proto=0x32 salt=0x61626364 crypt=1
938 sa[1] spi=0x00000009 proto=0x32 salt=0x61626364 crypt=1
/linux/Documentation/core-api/
H A Dworkqueue.rst462 testing with dm-crypt clearly illustrates this trade-off.
466 ``/dev/dm-0`` is a dm-crypt device created on NVME SSD (Samsung 990 PRO) and
/linux/Documentation/security/
H A Dself-protection.rst138 ``CONFIG_MODULE_SIG_FORCE``, or dm-crypt with LoadPin), to keep from having
/linux/Documentation/
H A D.renames.txt160 device-mapper/dm-crypt admin-guide/device-mapper/dm-crypt
/linux/drivers/md/
H A Ddm-crypt.c3718 module_dm(crypt);