Searched refs:crypto (Results 1 - 200 of 598) sorted by relevance

123

/linux-4.1.27/drivers/crypto/ccp/
H A DMakefile5 obj-$(CONFIG_CRYPTO_DEV_CCP_CRYPTO) += ccp-crypto.o
6 ccp-crypto-objs := ccp-crypto-main.o \
7 ccp-crypto-aes.o \
8 ccp-crypto-aes-cmac.o \
9 ccp-crypto-aes-xts.o \
10 ccp-crypto-sha.o
H A Dccp-crypto.h2 * AMD Cryptographic Coprocessor (CCP) crypto API support
20 #include <linux/crypto.h>
21 #include <crypto/algapi.h>
22 #include <crypto/aes.h>
23 #include <crypto/ctr.h>
24 #include <crypto/hash.h>
25 #include <crypto/sha.h>
H A Dccp-crypto-aes.c2 * AMD Cryptographic Coprocessor (CCP) AES crypto API support
17 #include <linux/crypto.h>
18 #include <crypto/algapi.h>
19 #include <crypto/aes.h>
20 #include <crypto/ctr.h>
21 #include <crypto/scatterwalk.h>
23 #include "ccp-crypto.h"
H A Dccp-crypto-aes-cmac.c2 * AMD Cryptographic Coprocessor (CCP) AES CMAC crypto API support
17 #include <linux/crypto.h>
18 #include <crypto/algapi.h>
19 #include <crypto/aes.h>
20 #include <crypto/hash.h>
21 #include <crypto/internal/hash.h>
22 #include <crypto/scatterwalk.h>
24 #include "ccp-crypto.h"
H A Dccp-crypto-sha.c2 * AMD Cryptographic Coprocessor (CCP) SHA crypto API support
17 #include <linux/crypto.h>
18 #include <crypto/algapi.h>
19 #include <crypto/hash.h>
20 #include <crypto/internal/hash.h>
21 #include <crypto/sha.h>
22 #include <crypto/scatterwalk.h>
24 #include "ccp-crypto.h"
H A Dccp-crypto-aes-xts.c2 * AMD Cryptographic Coprocessor (CCP) AES XTS crypto API support
17 #include <linux/crypto.h>
18 #include <crypto/algapi.h>
19 #include <crypto/aes.h>
20 #include <crypto/scatterwalk.h>
22 #include "ccp-crypto.h"
H A Dccp-crypto-main.c2 * AMD Cryptographic Coprocessor (CCP) crypto API support
19 #include <crypto/internal/hash.h>
21 #include "ccp-crypto.h"
26 MODULE_DESCRIPTION("AMD Cryptographic Coprocessor crypto API support");
262 * ccp_crypto_enqueue_request - queue an crypto async request for processing
/linux-4.1.27/drivers/crypto/caam/
H A Dcompat.h13 #include <linux/crypto.h>
28 #include <crypto/algapi.h>
29 #include <crypto/null.h>
30 #include <crypto/aes.h>
31 #include <crypto/ctr.h>
32 #include <crypto/des.h>
33 #include <crypto/sha.h>
34 #include <crypto/md5.h>
35 #include <crypto/aead.h>
36 #include <crypto/authenc.h>
37 #include <crypto/scatterwalk.h>
38 #include <crypto/internal/skcipher.h>
39 #include <crypto/internal/hash.h>
/linux-4.1.27/drivers/crypto/nx/
H A DMakefile1 obj-$(CONFIG_CRYPTO_DEV_NX_ENCRYPT) += nx-crypto.o
2 nx-crypto-objs := nx.o \
H A Dnx_debugfs.c28 #include <linux/crypto.h>
29 #include <crypto/hash.h>
42 * Documentation/ABI/testing/debugfs-pfo-nx-crypto
H A Dnx.c22 #include <crypto/internal/hash.h>
23 #include <crypto/hash.h>
24 #include <crypto/aes.h>
25 #include <crypto/sha.h>
26 #include <crypto/algapi.h>
27 #include <crypto/scatterwalk.h>
32 #include <linux/crypto.h>
46 * @nx_ctx: the crypto context handle
258 * @nx_ctx: NX crypto context for the lists we're building
466 * we're ready to register our crypto algorithms.
495 * nx_register_algs - register algorithms with the crypto API
501 * out crypto algorithms.
589 * nx_crypto_ctx_init - create and initialize a crypto api context
591 * @nx_ctx: the crypto api context
598 pr_err("Attempt to initialize NX crypto context while device " nx_crypto_ctx_init()
635 /* entry points from the crypto tfm initializers */ nx_crypto_ctx_aes_ccm_init()
680 * nx_crypto_ctx_exit - destroy a crypto api context
682 * @tfm: the crypto transform pointer for the context
684 * As crypto API contexts are destroyed, this exit hook is called to free the
H A Dnx-aes-cbc.c22 #include <crypto/aes.h>
23 #include <crypto/algapi.h>
26 #include <linux/crypto.h>
H A Dnx-aes-ecb.c22 #include <crypto/aes.h>
23 #include <crypto/algapi.h>
26 #include <linux/crypto.h>
H A Dnx-aes-ctr.c22 #include <crypto/aes.h>
23 #include <crypto/ctr.h>
24 #include <crypto/algapi.h>
27 #include <linux/crypto.h>
H A Dnx-aes-ccm.c22 #include <crypto/internal/aead.h>
23 #include <crypto/aes.h>
24 #include <crypto/algapi.h>
25 #include <crypto/scatterwalk.h>
28 #include <linux/crypto.h>
119 /* taken from crypto/ccm.c */ set_msg_len()
138 /* taken from crypto/ccm.c */ crypto_ccm_check_iv()
148 /* based on code from crypto/ccm.c */ generate_b0()
H A Dnx.h5 #include <crypto/ctr.h>
7 #define NX_NAME "nx-crypto"
/linux-4.1.27/arch/x86/include/asm/crypto/
H A Daes.h4 #include <linux/crypto.h>
5 #include <crypto/aes.h>
H A Dtwofish.h4 #include <linux/crypto.h>
5 #include <crypto/twofish.h>
6 #include <crypto/lrw.h>
7 #include <crypto/b128ops.h>
H A Dserpent-avx.h4 #include <linux/crypto.h>
5 #include <crypto/serpent.h>
H A Dserpent-sse2.h4 #include <linux/crypto.h>
5 #include <crypto/serpent.h>
H A Dglue_helper.h9 #include <linux/crypto.h>
11 #include <crypto/b128ops.h>
/linux-4.1.27/arch/arm/crypto/
H A Dsha1.h4 #include <linux/crypto.h>
5 #include <crypto/sha.h>
H A Dsha256_glue.h4 #include <linux/crypto.h>
H A Dsha1-ce-glue.c11 #include <crypto/internal/hash.h>
12 #include <crypto/sha.h>
13 #include <crypto/sha1_base.h>
14 #include <linux/crypto.h>
H A Dsha2-ce-glue.c11 #include <crypto/internal/hash.h>
12 #include <crypto/sha.h>
13 #include <crypto/sha256_base.h>
14 #include <linux/crypto.h>
H A Dsha256_glue.c18 #include <crypto/internal/hash.h>
19 #include <linux/crypto.h>
26 #include <crypto/sha.h>
27 #include <crypto/sha256_base.h>
H A Dsha1_glue.c19 #include <crypto/internal/hash.h>
24 #include <crypto/sha.h>
25 #include <crypto/sha1_base.h>
H A Dsha1_neon_glue.c21 #include <crypto/internal/hash.h>
27 #include <crypto/sha.h>
28 #include <crypto/sha1_base.h>
H A Dsha256_neon_glue.c17 #include <crypto/internal/hash.h>
21 #include <crypto/sha.h>
22 #include <crypto/sha256_base.h>
H A Daes_glue.c6 #include <linux/crypto.h>
7 #include <crypto/aes.h>
H A DMakefile18 ifeq ($(call as-instr,.fpu crypto-neon-fp-armv8,y,n),y)
H A Dghash-ce-glue.c15 #include <crypto/cryptd.h>
16 #include <crypto/internal/hash.h>
17 #include <crypto/gf128mul.h>
18 #include <linux/crypto.h>
/linux-4.1.27/drivers/s390/crypto/
H A DMakefile2 # S/390 crypto devices
H A Dzcrypt_msgtype50.c179 * @zdev: crypto device pointer
180 * @zreq: crypto request pointer
237 * @zdev: crypto device pointer
238 * @zreq: crypto request pointer
320 * @zdev: crypto device pointer
379 * This function is called from the AP bus code after a crypto request
508 * The crypto operations for message type 50.
H A Dzcrypt_pcica.c78 * @zdev: crypto device pointer
79 * @zreq: crypto request pointer
127 * @zdev: crypto device pointer
128 * @zreq: crypto request pointer
187 * @zdev: crypto device pointer
242 * This function is called from the AP bus code after a crypto request
356 * The crypto operations for a PCICA card.
H A Dzcrypt_api.h81 * Large random numbers are pulled in 4096 byte chunks from the crypto cards
114 int speed_rating; /* Speed of the crypto device. */
H A Dzcrypt_pcicc.c148 * @zdev: crypto device pointer
149 * @zreq: crypto request pointer
235 * @zdev: crypto device pointer
236 * @zreq: crypto request pointer
299 * @zdev: crypto device pointer
409 /* Copy the crypto response to user space. */ convert_type86()
445 * This function is called from the AP bus code after a crypto request
563 * The crypto operations for a PCICC card.
/linux-4.1.27/crypto/
H A Dcrypto_wq.c2 * Workqueue for crypto subsystem
16 #include <crypto/algapi.h>
17 #include <crypto/crypto_wq.h>
24 kcrypto_wq = alloc_workqueue("crypto", crypto_wq_init()
40 MODULE_DESCRIPTION("Workqueue for crypto subsystem");
H A Dsha1_generic.c19 #include <crypto/internal/hash.h>
25 #include <crypto/sha.h>
26 #include <crypto/sha1_base.h>
H A Dpcompress.c22 #include <linux/crypto.h>
30 #include <crypto/compress.h>
31 #include <crypto/internal/compress.h>
H A Dablk_helper.c28 #include <linux/crypto.h>
32 #include <crypto/algapi.h>
33 #include <crypto/cryptd.h>
34 #include <crypto/ablk_helper.h>
H A Dghash-generic.c15 #include <crypto/algapi.h>
16 #include <crypto/gf128mul.h>
17 #include <crypto/internal/hash.h>
18 #include <linux/crypto.h>
H A Dproc.c18 #include <linux/crypto.h>
40 .procname = "crypto",
150 proc_create("crypto", 0, NULL, &proc_crypto_ops); crypto_init_proc()
157 remove_proc_entry("crypto", NULL); crypto_exit_proc()
H A Dmcryptd.c2 * Software multibuffer async crypto daemon.
6 * Adapted from crypto daemon.
15 #include <crypto/algapi.h>
16 #include <crypto/internal/hash.h>
17 #include <crypto/internal/aead.h>
18 #include <crypto/mcryptd.h>
19 #include <crypto/crypto_wq.h>
121 * crypto daemon is the only task running.
508 pr_debug("crypto: mcryptd hash alg: %s\n", alg->cra_name); mcryptd_create_hash()
636 /* alignment is to be done by multi-buffer crypto algorithm if needed */ shash_ahash_mcryptd_update()
648 /* alignment is to be done by multi-buffer crypto algorithm if needed */ shash_ahash_mcryptd_finup()
660 /* alignment is to be done by multi-buffer crypto algorithm if needed */ shash_ahash_mcryptd_final()
726 MODULE_DESCRIPTION("Software async multibuffer crypto daemon");
H A Dcrypto_null.c20 #include <crypto/null.h>
21 #include <crypto/internal/hash.h>
22 #include <crypto/internal/skcipher.h>
H A Dcompress.c15 #include <linux/crypto.h>
H A Dhash_info.c14 #include <crypto/hash_info.h>
H A Dkrng.c13 #include <crypto/internal/rng.h>
H A Dsha512_generic.c13 #include <crypto/internal/hash.h>
18 #include <linux/crypto.h>
20 #include <crypto/sha.h>
21 #include <crypto/sha512_base.h>
H A DMakefile5 obj-$(CONFIG_CRYPTO) += crypto.o
6 crypto-y := api.o cipher.o compress.o memneq.o
H A Darc4.c17 #include <linux/crypto.h>
18 #include <crypto/algapi.h>
H A Dblowfish_generic.c23 #include <linux/crypto.h>
25 #include <crypto/blowfish.h>
H A Dcrc32.c29 * This is crypto api shash wrappers to crc32_le.
33 #include <crypto/internal/hash.h>
H A Dmd5.c18 #include <crypto/internal/hash.h>
19 #include <crypto/md5.h>
H A Dlrw.c20 #include <crypto/algapi.h>
28 #include <crypto/b128ops.h>
29 #include <crypto/gf128mul.h>
30 #include <crypto/lrw.h>
H A Dxts.c16 #include <crypto/algapi.h>
24 #include <crypto/xts.h>
25 #include <crypto/b128ops.h>
26 #include <crypto/gf128mul.h>
H A Dcrypto_user.c22 #include <linux/crypto.h>
28 #include <crypto/internal/aead.h>
29 #include <crypto/internal/skcipher.h>
37 /* The crypto netlink socket */
322 * removing the module is not possible, so we restrict to crypto crypto_del_alg()
/linux-4.1.27/include/crypto/internal/
H A Drng.h2 * RNG: Random Number Generator algorithms under the crypto API
16 #include <crypto/algapi.h>
17 #include <crypto/rng.h>
H A Daead.h16 #include <crypto/aead.h>
17 #include <crypto/algapi.h>
H A Dcompress.h23 #include <crypto/compress.h>
H A Dskcipher.h16 #include <crypto/algapi.h>
17 #include <crypto/skcipher.h>
/linux-4.1.27/fs/ecryptfs/
H A DMakefile8 crypto.o keystore.o kthread.o debug.o
/linux-4.1.27/drivers/crypto/vmx/
H A 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 ghash.o
H A Daesp8-ppc.h2 #include <crypto/aes.h>
H A Dghash.c24 #include <linux/crypto.h>
28 #include <crypto/aes.h>
29 #include <crypto/scatterwalk.h>
30 #include <crypto/internal/hash.h>
31 #include <crypto/b128ops.h>
H A Dvmx.c26 #include <linux/crypto.h>
28 #include <crypto/internal/hash.h>
H A Daes_cbc.c24 #include <linux/crypto.h>
28 #include <crypto/aes.h>
29 #include <crypto/scatterwalk.h>
H A Daes_ctr.c24 #include <linux/crypto.h>
28 #include <crypto/aes.h>
29 #include <crypto/scatterwalk.h>
H A Daes.c24 #include <linux/crypto.h>
28 #include <crypto/aes.h>
/linux-4.1.27/include/crypto/
H A Dcast5.h5 #include <linux/crypto.h>
6 #include <crypto/cast_common.h>
H A Dhash_info.h16 #include <crypto/sha.h>
17 #include <crypto/md5.h>
21 /* not defined in include/crypto/ */
27 /* not defined in include/crypto/ */
32 /* not defined in include/crypto/ */
H A Dblowfish.h9 #include <linux/crypto.h>
H A Dablk_helper.h8 #include <linux/crypto.h>
10 #include <crypto/cryptd.h>
H A Dcast6.h5 #include <linux/crypto.h>
6 #include <crypto/cast_common.h>
H A Dserpent.h9 #include <linux/crypto.h>
H A Dxts.h4 #include <crypto/b128ops.h>
H A Dcryptd.h2 * Software async crypto daemon
15 #include <linux/crypto.h>
17 #include <crypto/hash.h>
H A Dmcryptd.h2 * Software async multibuffer crypto daemon headers
13 #include <linux/crypto.h>
15 #include <crypto/hash.h>
H A Dsha1_base.h11 #include <crypto/internal/hash.h>
12 #include <crypto/sha.h>
13 #include <linux/crypto.h>
H A Dsha256_base.h11 #include <crypto/internal/hash.h>
12 #include <crypto/sha.h>
13 #include <linux/crypto.h>
H A Daes.h9 #include <linux/crypto.h>
H A Dpcrypt.h2 * pcrypt - Parallel crypto engine.
24 #include <linux/crypto.h>
H A Ddrbg.h45 #include <crypto/hash.h>
47 #include <linux/crypto.h>
49 #include <crypto/internal/rng.h>
50 #include <crypto/rng.h>
86 char cra_name[CRYPTO_MAX_ALG_NAME]; /* mapping to kernel crypto API */
87 /* kernel crypto API backend cipher name */
180 * kernel crypto API input data structure for DRBG generate in case dlen
191 * This is a wrapper to the kernel crypto API function of
220 * This is a wrapper to the kernel crypto API function of
252 * This is a wrapper to the kernel crypto API function of
H A Dsha512_base.h11 #include <crypto/internal/hash.h>
12 #include <crypto/sha.h>
13 #include <linux/crypto.h>
H A Dlrw.h4 #include <crypto/b128ops.h>
H A Drng.h2 * RNG: Random Number Generator algorithms under the crypto API
16 #include <linux/crypto.h>
27 * CRYPTO_ALG_TYPE_RNG (listed as type "rng" in /proc/crypto)
49 * is a kernel crypto API use case for the get_random_bytes() function of the
H A Dpublic_key.h3 * See Documentation/crypto/asymmetric-keys.txt
19 #include <crypto/hash_info.h>
H A Dskcipher.h16 #include <linux/crypto.h>
24 * @creq: The crypto request itself
/linux-4.1.27/drivers/usb/wusbcore/
H A DMakefile9 crypto.o \
H A Dcrypto.c24 * crypto modules to construct keys and payload blocks in a way
35 * you tell I know jack about crypto?). So we just funnel it into the
38 * We leave a crypto test module so we can verify that vectors match,
48 #include <linux/crypto.h>
168 * the previous crypto result (16 bytes) and crypt it, repeat the next
174 * See rfc3610. Linux crypto has a CBC implementation, but the
456 * the scatterlists for crypto get confused and we get wusb_key_derive_verify()
495 * Initialize crypto system
515 /* FIXME: free cached crypto transforms */ wusb_crypto_exit()
/linux-4.1.27/net/ceph/
H A DMakefile11 crypto.o armor.o \
H A Dauth_x.h8 #include "crypto.h"
H A Dcrypto.h29 /* crypto.c */
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/
H A DMakefile8 libcfs-linux-objs += linux-crypto.o
9 libcfs-linux-objs += linux-crypto-adler.o
/linux-4.1.27/arch/mips/cavium-octeon/crypto/
H A Docteon-crypto.c13 #include "octeon-crypto.h"
16 * Enable access to Octeon's COP2 crypto hardware for kernel use. Wrap any
17 * crypto operations in calls to octeon_crypto_enable/disable in order to make
19 * hardware crypto operations. Allocate the state parameter on the stack.
48 * Disable access to Octeon's COP2 crypto hardware in the kernel. This must be
H A Docteon-sha1.c8 * Based on crypto/sha1_generic.c, which is:
21 #include <crypto/sha.h>
27 #include <crypto/internal/hash.h>
29 #include "octeon-crypto.h"
131 * Small updates never reach the crypto engine, so the generic sha1 is octeon_sha1_update()
H A Docteon-md5.c8 * Based on crypto/md5.c, which is:
22 #include <crypto/md5.h>
30 #include <crypto/internal/hash.h>
32 #include "octeon-crypto.h"
H A Docteon-sha256.c8 * Based on crypto/sha256_generic.c, which is:
22 #include <crypto/sha.h>
28 #include <crypto/internal/hash.h>
30 #include "octeon-crypto.h"
143 * Small updates never reach the crypto engine, so the generic sha256 is octeon_sha256_update()
H A Docteon-sha512.c8 * Based on crypto/sha512_generic.c, which is:
21 #include <crypto/sha.h>
27 #include <crypto/internal/hash.h>
29 #include "octeon-crypto.h"
157 * Small updates never reach the crypto engine, so the generic sha512 is octeon_sha512_update()
/linux-4.1.27/drivers/net/wireless/orinoco/
H A Dmic.c9 #include <linux/crypto.h>
15 /* Michael MIC crypto setup */
22 "crypto API michael_mic\n"); orinoco_mic_init()
30 "crypto API michael_mic\n"); orinoco_mic_init()
/linux-4.1.27/arch/x86/um/shared/sysdep/
H A Dkernel-offsets.h4 #include <linux/crypto.h>
/linux-4.1.27/arch/sparc/crypto/
H A Dcrop_devid.c4 /* This is a dummy device table linked into all of the crypto
H A Dmd5_glue.c1 /* Glue code for MD5 hashing optimized for sparc64 crypto opcodes.
3 * This is based largely upon arch/x86/crypto/sha1_ssse3_glue.c
4 * and crypto/md5.c which are:
16 #include <crypto/internal/hash.h>
22 #include <crypto/md5.h>
H A Dcrc32c_glue.c1 /* Glue code for CRC32C optimized for sparc64 crypto opcodes.
3 * This is based largely upon arch/x86/crypto/crc32c-intel.c
18 #include <crypto/internal/hash.h>
H A Dsha1_glue.c1 /* Glue code for SHA1 hashing optimized for sparc64 crypto opcodes.
3 * This is based largely upon arch/x86/crypto/sha1_ssse3_glue.c
13 #include <crypto/internal/hash.h>
19 #include <crypto/sha.h>
H A Dsha256_glue.c1 /* Glue code for SHA256 hashing optimized for sparc64 crypto opcodes.
3 * This is based largely upon crypto/sha256_generic.c
13 #include <crypto/internal/hash.h>
19 #include <crypto/sha.h>
H A Dsha512_glue.c1 /* Glue code for SHA512 hashing optimized for sparc64 crypto opcodes.
3 * This is based largely upon crypto/sha512_generic.c
12 #include <crypto/internal/hash.h>
18 #include <crypto/sha.h>
/linux-4.1.27/fs/ext4/
H A DMakefile15 ext4-$(CONFIG_EXT4_FS_ENCRYPTION) += crypto_policy.o crypto.o \
H A Dcrypto_fname.c6 * This contains functions for filename crypto management in ext4
14 #include <crypto/hash.h>
15 #include <crypto/sha.h>
18 #include <linux/crypto.h>
259 * Frees up a crypto context.
278 * Return: The crypto context onto free list. If the free list is above a
281 * TODO: Currently we directly free the crypto context. Eventually we should
332 * Allocates a free crypto context and initializes it to hold
333 * the crypto material for the inode.
344 /* Check if the crypto policy is set on the inode */ ext4_get_fname_crypto_ctx()
352 /* Get a crypto context based on the key. ext4_get_fname_crypto_ctx()
380 KERN_DEBUG "%s: error (%d) allocating crypto tfm\n", ext4_get_fname_crypto_ctx()
388 KERN_DEBUG "%s: could not allocate crypto tfm\n", ext4_get_fname_crypto_ctx()
420 /* Since our crypto objectives for filename encryption ext4_get_fname_crypto_ctx()
491 * Allocates an output buffer that is sufficient for the crypto operation
519 * Frees the buffer allocated for crypto operation.
H A Dcrypto.c2 * linux/fs/ext4/crypto.c
21 #include <crypto/hash.h>
22 #include <crypto/sha.h>
25 #include <linux/crypto.h>
48 "Number of crypto pages to preallocate");
51 "Number of crypto contexts to preallocate");
109 * @inode: The inode for which we are doing the crypto
129 * initialized crypto tfm, so it's probably a worthwhile ext4_get_crypto_ctx()
184 /* There shouldn't be a bounce page attached to the crypto ext4_get_crypto_ctx()
329 "%s: unsupported crypto algorithm: %d\n", ext4_page_crypto()
/linux-4.1.27/crypto/asymmetric_keys/
H A Dpublic_key.h3 * See Documentation/crypto/asymmetric-keys.txt
14 #include <crypto/public_key.h>
H A Dverify_pefile.h13 #include <crypto/pkcs7.h>
14 #include <crypto/hash_info.h>
H A Dpkcs7_parser.h1 /* PKCS#7 crypto data parser internal definitions
13 #include <crypto/pkcs7.h>
26 bool unsupported_crypto; /* T if not usable due to missing crypto */
H A Dpublic_key.c1 /* In-software asymmetric public-key crypto subtype
3 * See Documentation/crypto/asymmetric-keys.txt
H A Dx509_parser.h13 #include <crypto/public_key.h>
44 bool unsupported_crypto; /* T if can't be verified due to missing crypto */
H A Dsignature.c18 #include <crypto/public_key.h>
/linux-4.1.27/arch/s390/crypto/
H A Dsha.h18 #include <linux/crypto.h>
19 #include <crypto/sha.h>
H A Dsha1_s390.c15 * Derived from "crypto/sha1_generic.c"
26 #include <crypto/internal/hash.h>
29 #include <crypto/sha.h>
H A Dsha256_s390.c16 #include <crypto/internal/hash.h>
19 #include <crypto/sha.h>
H A Dsha512_s390.c15 #include <crypto/internal/hash.h>
16 #include <crypto/sha.h>
/linux-4.1.27/arch/arm64/crypto/
H A DMakefile2 # linux/arch/arm64/crypto/Makefile
21 CFLAGS_aes-ce-cipher.o += -march=armv8-a+crypto
H A Dsha1-ce-glue.c13 #include <crypto/internal/hash.h>
14 #include <crypto/sha.h>
15 #include <crypto/sha1_base.h>
17 #include <linux/crypto.h>
H A Dsha2-ce-glue.c13 #include <crypto/internal/hash.h>
14 #include <crypto/sha.h>
15 #include <crypto/sha256_base.h>
17 #include <linux/crypto.h>
H A Daes-ce.S2 * linux/arch/arm64/crypto/aes-ce.S - AES cipher for ARMv8 with
17 .arch armv8-a+crypto
H A Dghash-ce-glue.c13 #include <crypto/internal/hash.h>
15 #include <linux/crypto.h>
H A Daes-ce-ccm-glue.c13 #include <crypto/aes.h>
14 #include <crypto/algapi.h>
15 #include <crypto/scatterwalk.h>
16 #include <linux/crypto.h>
/linux-4.1.27/drivers/crypto/qce/
H A Dcore.h20 * struct qce_device - crypto engine device structure
21 * @queue: crypto request queue
32 * @burst_size: the crypto burst size
55 * struct qce_algo_ops - algorithm operations per crypto type
H A Dcommon.h17 #include <linux/crypto.h>
19 #include <crypto/aes.h>
20 #include <crypto/hash.h>
90 struct crypto_alg crypto; member in union:qce_alg_template::__anon3849
H A Dcipher.h42 * @cryptlen: crypto length
63 return container_of(alg, struct qce_alg_template, alg.crypto); to_cipher_tmpl()
H A Dsha.h17 #include <crypto/scatterwalk.h>
18 #include <crypto/sha.h>
H A Dcore.c20 #include <crypto/algapi.h>
21 #include <crypto/internal/hash.h>
22 #include <crypto/sha.h>
267 { .compatible = "qcom,crypto-v5.1", },
283 MODULE_DESCRIPTION("Qualcomm crypto engine driver");
H A Dablkcipher.c17 #include <crypto/aes.h>
18 #include <crypto/algapi.h>
19 #include <crypto/des.h>
357 alg = &tmpl->alg.crypto; qce_ablkcipher_register_one()
404 crypto_unregister_alg(&tmpl->alg.crypto); qce_ablkcipher_unregister()
/linux-4.1.27/arch/x86/purgatory/
H A Dsha256.h15 #include <crypto/sha.h>
/linux-4.1.27/arch/mips/cavium-octeon/
H A DMakefile19 obj-y += crypto/
/linux-4.1.27/arch/powerpc/crypto/
H A DMakefile2 # powerpc/crypto/Makefile
H A Dsha1.c9 * Derived from "crypto/sha1.c"
20 #include <crypto/internal/hash.h>
26 #include <crypto/sha.h>
H A Dmd5-glue.c15 #include <crypto/internal/hash.h>
21 #include <crypto/md5.h>
/linux-4.1.27/net/mac80211/
H A Daes_gmac.h12 #include <linux/crypto.h>
H A Daes_ccm.h13 #include <linux/crypto.h>
H A Daes_cmac.h12 #include <linux/crypto.h>
H A Daes_gcm.h12 #include <linux/crypto.h>
H A Dtkip.h13 #include <linux/crypto.h>
H A Daes_gmac.c12 #include <linux/crypto.h>
14 #include <crypto/aes.h>
H A Daes_ccm.c14 #include <linux/crypto.h>
16 #include <crypto/aes.h>
H A Daes_gcm.c11 #include <linux/crypto.h>
13 #include <crypto/aes.h>
H A Daes_cmac.c12 #include <linux/crypto.h>
15 #include <crypto/aes.h>
/linux-4.1.27/drivers/crypto/amcc/
H A Dcrypto4xx_sa.c30 #include <linux/crypto.h>
31 #include <crypto/algapi.h>
32 #include <crypto/des.h>
H A Dcrypto4xx_alg.c17 * This file implements the Linux crypto algorithms.
24 #include <linux/crypto.h>
26 #include <crypto/internal/hash.h>
28 #include <crypto/algapi.h>
29 #include <crypto/aes.h>
30 #include <crypto/sha.h>
H A Dcrypto4xx_core.h25 #include <crypto/internal/hash.h>
66 struct crypto_async_request *async_req; /* base crypto request
/linux-4.1.27/arch/s390/include/asm/
H A Disc.h22 #define AP_ISC 6 /* adjunct processor (crypto) devices */
/linux-4.1.27/drivers/crypto/
H A Dixp4xx_crypto.c2 * Intel IXP4xx NPE-C crypto driver
15 #include <linux/crypto.h>
23 #include <crypto/ctr.h>
24 #include <crypto/des.h>
25 #include <crypto/aes.h>
26 #include <crypto/sha.h>
27 #include <crypto/algapi.h>
28 #include <crypto/aead.h>
29 #include <crypto/authenc.h>
30 #include <crypto/scatterwalk.h>
193 struct crypto_alg crypto; member in struct:ixp_alg
237 return container_of(tfm->__crt_alg, struct ixp_alg,crypto)->cfg_enc; cipher_cfg_enc()
242 return container_of(tfm->__crt_alg, struct ixp_alg,crypto)->cfg_dec; cipher_cfg_dec()
247 return container_of(tfm->__crt_alg, struct ixp_alg, crypto)->hash; ix_hash()
430 printk(KERN_ERR "ixp_crypto: No HW crypto available\n"); init_ixp_crypto()
463 printk(KERN_ERR "Firmware of %s lacks crypto support\n", init_ixp_crypto()
1213 .crypto = {
1228 .crypto = {
1240 .crypto = {
1254 .crypto = {
1266 .crypto = {
1280 .crypto = {
1292 .crypto = {
1306 .crypto = {
1322 .crypto = {
1335 .crypto = {
1348 .crypto = {
1361 .crypto = {
1374 .crypto = {
1387 .crypto = {
1427 struct crypto_alg *cra = &ixp4xx_algos[i].crypto; ixp_module_init()
1485 crypto_unregister_alg(&ixp4xx_algos[i].crypto); ixp_module_exit()
1496 MODULE_DESCRIPTION("IXP4xx hardware crypto");
H A Dtalitos.c33 #include <linux/crypto.h>
44 #include <crypto/algapi.h>
45 #include <crypto/aes.h>
46 #include <crypto/des.h>
47 #include <crypto/sha.h>
48 #include <crypto/md5.h>
49 #include <crypto/aead.h>
50 #include <crypto/authenc.h>
51 #include <crypto/skcipher.h>
52 #include <crypto/hash.h>
53 #include <crypto/internal/hash.h>
54 #include <crypto/scatterwalk.h>
634 * crypto alg
1912 struct crypto_alg crypto; member in union:talitos_alg_template::__anon3850
1921 .alg.crypto = {
1940 .alg.crypto = {
1960 .alg.crypto = {
1979 .alg.crypto = {
1999 .alg.crypto = {
2018 .alg.crypto = {
2038 .alg.crypto = {
2057 .alg.crypto = {
2077 .alg.crypto = {
2096 .alg.crypto = {
2116 .alg.crypto = {
2135 .alg.crypto = {
2156 .alg.crypto = {
2173 .alg.crypto = {
2392 algt.alg.crypto); talitos_cra_init()
2467 crypto_unregister_alg(&t_alg->algt.alg.crypto); talitos_remove()
2518 alg = &t_alg->algt.alg.crypto; talitos_alg_alloc()
2527 alg = &t_alg->algt.alg.crypto; talitos_alg_alloc()
2750 /* register crypto algorithms the device supports */ talitos_probe()
2768 &t_alg->algt.alg.crypto); talitos_probe()
2769 name = t_alg->algt.alg.crypto.cra_driver_name; talitos_probe()
2787 dev_info(dev, "%s algorithms registered in /proc/crypto\n", talitos_probe()
H A Dbfin_crc.c24 #include <linux/crypto.h>
26 #include <crypto/scatterwalk.h>
27 #include <crypto/algapi.h>
28 #include <crypto/hash.h>
29 #include <crypto/internal/hash.h>
681 "Can't register crypto ahash device\n"); bfin_crypto_crc_probe()
740 pr_info("Blackfin hardware CRC crypto driver\n"); bfin_crypto_crc_mod_init()
766 MODULE_DESCRIPTION("Blackfin CRC hardware crypto driver");
/linux-4.1.27/arch/x86/crypto/
H A Daes_glue.c7 #include <crypto/aes.h>
8 #include <asm/crypto/aes.h>
H A Dserpent_sse2_glue.c10 * CBC & ECB parts based on code (crypto/cbc.c,ecb.c) by:
12 * CTR part based on code (crypto/ctr.c) by:
35 #include <linux/crypto.h>
37 #include <crypto/ablk_helper.h>
38 #include <crypto/algapi.h>
39 #include <crypto/serpent.h>
40 #include <crypto/cryptd.h>
41 #include <crypto/b128ops.h>
42 #include <crypto/ctr.h>
43 #include <crypto/lrw.h>
44 #include <crypto/xts.h>
45 #include <asm/crypto/serpent-sse2.h>
46 #include <asm/crypto/glue_helper.h>
H A Dserpent_avx2_glue.c15 #include <linux/crypto.h>
17 #include <crypto/ablk_helper.h>
18 #include <crypto/algapi.h>
19 #include <crypto/ctr.h>
20 #include <crypto/lrw.h>
21 #include <crypto/xts.h>
22 #include <crypto/serpent.h>
25 #include <asm/crypto/serpent-avx.h>
26 #include <asm/crypto/glue_helper.h>
H A Dtwofish_avx_glue.c29 #include <linux/crypto.h>
31 #include <crypto/ablk_helper.h>
32 #include <crypto/algapi.h>
33 #include <crypto/twofish.h>
34 #include <crypto/cryptd.h>
35 #include <crypto/b128ops.h>
36 #include <crypto/ctr.h>
37 #include <crypto/lrw.h>
38 #include <crypto/xts.h>
42 #include <asm/crypto/twofish.h>
43 #include <asm/crypto/glue_helper.h>
44 #include <crypto/scatterwalk.h>
H A Dserpent_avx_glue.c29 #include <linux/crypto.h>
31 #include <crypto/ablk_helper.h>
32 #include <crypto/algapi.h>
33 #include <crypto/serpent.h>
34 #include <crypto/cryptd.h>
35 #include <crypto/b128ops.h>
36 #include <crypto/ctr.h>
37 #include <crypto/lrw.h>
38 #include <crypto/xts.h>
41 #include <asm/crypto/serpent-avx.h>
42 #include <asm/crypto/glue_helper.h>
H A Dcamellia_aesni_avx_glue.c15 #include <linux/crypto.h>
17 #include <crypto/ablk_helper.h>
18 #include <crypto/algapi.h>
19 #include <crypto/ctr.h>
20 #include <crypto/lrw.h>
21 #include <crypto/xts.h>
24 #include <asm/crypto/camellia.h>
25 #include <asm/crypto/glue_helper.h>
H A Dtwofish_glue_3way.c24 #include <linux/crypto.h>
28 #include <crypto/algapi.h>
29 #include <crypto/twofish.h>
30 #include <crypto/b128ops.h>
31 #include <asm/crypto/twofish.h>
32 #include <asm/crypto/glue_helper.h>
33 #include <crypto/lrw.h>
34 #include <crypto/xts.h>
H A Dcast6_avx_glue.c29 #include <linux/crypto.h>
31 #include <crypto/ablk_helper.h>
32 #include <crypto/algapi.h>
33 #include <crypto/cast6.h>
34 #include <crypto/cryptd.h>
35 #include <crypto/b128ops.h>
36 #include <crypto/ctr.h>
37 #include <crypto/lrw.h>
38 #include <crypto/xts.h>
41 #include <asm/crypto/glue_helper.h>
H A Dcast5_avx_glue.c27 #include <linux/crypto.h>
29 #include <crypto/ablk_helper.h>
30 #include <crypto/algapi.h>
31 #include <crypto/cast5.h>
32 #include <crypto/cryptd.h>
33 #include <crypto/ctr.h>
36 #include <asm/crypto/glue_helper.h>
H A Dglue_helper.c6 * CBC & ECB parts based on code (crypto/cbc.c,ecb.c) by:
8 * CTR part based on code (crypto/ctr.c) by:
29 #include <crypto/b128ops.h>
30 #include <crypto/lrw.h>
31 #include <crypto/xts.h>
32 #include <asm/crypto/glue_helper.h>
33 #include <crypto/scatterwalk.h>
H A Dghash-clmulni-intel_glue.c17 #include <linux/crypto.h>
18 #include <crypto/algapi.h>
19 #include <crypto/cryptd.h>
20 #include <crypto/gf128mul.h>
21 #include <crypto/internal/hash.h>
H A Dsha1_ssse3_glue.c24 #include <crypto/internal/hash.h>
30 #include <crypto/sha.h>
31 #include <crypto/sha1_base.h>
H A Dsha256_ssse3_glue.c32 #include <crypto/internal/hash.h>
38 #include <crypto/sha.h>
39 #include <crypto/sha256_base.h>
H A Dsha512_ssse3_glue.c30 #include <crypto/internal/hash.h>
36 #include <crypto/sha.h>
37 #include <crypto/sha512_base.h>
H A Dcamellia_aesni_avx2_glue.c15 #include <linux/crypto.h>
17 #include <crypto/ablk_helper.h>
18 #include <crypto/algapi.h>
19 #include <crypto/ctr.h>
20 #include <crypto/lrw.h>
21 #include <crypto/xts.h>
24 #include <asm/crypto/camellia.h>
25 #include <asm/crypto/glue_helper.h>
H A Dfpu.c14 #include <crypto/algapi.h>
20 #include <linux/crypto.h>
H A Dsalsa20_glue.c21 #include <crypto/algapi.h>
23 #include <linux/crypto.h>
H A Dtwofish_glue.c41 #include <crypto/twofish.h>
42 #include <linux/crypto.h>
H A Dblowfish_glue.c6 * CBC & ECB parts based on code (crypto/cbc.c,ecb.c) by:
8 * CTR part based on code (crypto/ctr.c) by:
29 #include <crypto/blowfish.h>
30 #include <linux/crypto.h>
34 #include <crypto/algapi.h>
H A Ddes3_ede_glue.c6 * CBC & ECB parts based on code (crypto/cbc.c,ecb.c) by:
8 * CTR part based on code (crypto/ctr.c) by:
24 #include <crypto/des.h>
25 #include <linux/crypto.h>
29 #include <crypto/algapi.h>
H A Dcrc32-pclmul_glue.c27 * Wrappers for kernel crypto shash api to pclmulqdq crc32 imlementation.
34 #include <crypto/internal/hash.h>
/linux-4.1.27/security/apparmor/
H A Dcrypto.c18 #include <crypto/hash.h>
21 #include "include/crypto.h"
H A DMakefile8 apparmor-$(CONFIG_SECURITY_APPARMOR_HASH) += crypto.o
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_crypt.h21 * This file defines the interface to the ieee80211 crypto module.
31 /* init new crypto context (e.g., allocate private data space,
36 /* deinitialize crypto context and free allocated private data */
H A Dieee80211_crypt.c2 * Host AP crypto routines
23 MODULE_DESCRIPTION("HostAP crypto");
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/linux/
H A Dlinux-crypto-adler.c29 * This is crypto api shash wrappers to zlib_adler32.
34 #include <crypto/internal/hash.h>
35 #include "linux-crypto.h"
H A Dlinux-crypto.c30 #include <linux/crypto.h>
33 #include "linux-crypto.h"
61 CDEBUG(D_INFO, "Failed to alloc crypto hash %s\n", cfs_crypto_hash_alloc()
87 CDEBUG(D_INFO, "Using crypto hash: %s (%s) speed %d MB/s\n", cfs_crypto_hash_alloc()
/linux-4.1.27/drivers/staging/rtl8192e/
H A Drtllib_crypt.h20 /* This file defines the interface to the rtllib crypto module.
/linux-4.1.27/fs/btrfs/
H A Dhash.c14 #include <crypto/hash.h>
/linux-4.1.27/lib/
H A Dcrc-t10dif.c16 #include <crypto/hash.h>
H A Ddigsig.c24 #include <linux/crypto.h>
25 #include <crypto/hash.h>
26 #include <crypto/sha.h>
H A Dlibcrc32c.c34 #include <crypto/hash.h>
/linux-4.1.27/include/keys/
H A Dasymmetric-parser.h3 * See Documentation/crypto/asymmetric-keys.txt
/linux-4.1.27/drivers/char/hw_random/
H A Dppc4xx-rng.c61 /* Find the main crypto device node and map it to turn the TRNG on */ ppc4xx_rng_enable()
62 ctrl = of_find_compatible_node(NULL, NULL, "amcc,ppc4xx-crypto"); ppc4xx_rng_enable()
/linux-4.1.27/include/linux/sunrpc/
H A Dgss_krb5.h39 #include <linux/crypto.h>
47 /* Maximum key length (in bytes) for the supported crypto algorithms*/
50 /* Maximum checksum function output for the supported crypto algorithms */
53 /* Maximum blocksize for the supported crypto algorithms */
62 const char *encrypt_name; /* crypto encrypt name */
63 const char *cksum_name; /* crypto checksum name */
185 /* per Kerberos v5 protocol spec crypto types from the wire.
186 * these get mapped to linux kernel crypto routines.
/linux-4.1.27/drivers/net/wireless/rt2x00/
H A Drt2x00mac.c436 static void memcpy_tkip(struct rt2x00lib_crypto *crypto, u8 *key, u8 key_len) memcpy_tkip() argument
439 memcpy(crypto->key, memcpy_tkip()
441 sizeof(crypto->key)); memcpy_tkip()
444 memcpy(crypto->tx_mic, memcpy_tkip()
446 sizeof(crypto->tx_mic)); memcpy_tkip()
449 memcpy(crypto->rx_mic, memcpy_tkip()
451 sizeof(crypto->rx_mic)); memcpy_tkip()
460 struct rt2x00lib_crypto *crypto, rt2x00mac_set_key()
462 struct rt2x00lib_crypto crypto; rt2x00mac_set_key() local
484 memset(&crypto, 0, sizeof(crypto)); rt2x00mac_set_key()
486 crypto.bssidx = rt2x00lib_get_bssidx(rt2x00dev, vif); rt2x00mac_set_key()
487 crypto.cipher = rt2x00crypto_key_to_cipher(key); rt2x00mac_set_key()
488 if (crypto.cipher == CIPHER_NONE) rt2x00mac_set_key()
490 if (crypto.cipher == CIPHER_TKIP && rt2x00_is_usb(rt2x00dev)) rt2x00mac_set_key()
493 crypto.cmd = cmd; rt2x00mac_set_key()
496 crypto.address = sta->addr; rt2x00mac_set_key()
498 crypto.wcid = sta_priv->wcid; rt2x00mac_set_key()
500 crypto.address = bcast_addr; rt2x00mac_set_key()
502 if (crypto.cipher == CIPHER_TKIP) rt2x00mac_set_key()
503 memcpy_tkip(&crypto, &key->key[0], key->keylen); rt2x00mac_set_key()
505 memcpy(crypto.key, &key->key[0], key->keylen); rt2x00mac_set_key()
533 return set_key(rt2x00dev, &crypto, key); rt2x00mac_set_key()
/linux-4.1.27/drivers/net/wireless/mwifiex/
H A Duap_cmd.c60 for (i = 0; i < params->crypto.n_akm_suites; i++) { mwifiex_set_secure_params()
61 switch (params->crypto.akm_suites[i]) { mwifiex_set_secure_params()
63 if (params->crypto.wpa_versions & mwifiex_set_secure_params()
68 if (params->crypto.wpa_versions & mwifiex_set_secure_params()
75 if (params->crypto.wpa_versions & mwifiex_set_secure_params()
80 if (params->crypto.wpa_versions & mwifiex_set_secure_params()
90 for (i = 0; i < params->crypto.n_ciphers_pairwise; i++) { mwifiex_set_secure_params()
91 switch (params->crypto.ciphers_pairwise[i]) { mwifiex_set_secure_params()
96 if (params->crypto.wpa_versions & NL80211_WPA_VERSION_1) mwifiex_set_secure_params()
99 if (params->crypto.wpa_versions & NL80211_WPA_VERSION_2) mwifiex_set_secure_params()
104 if (params->crypto.wpa_versions & NL80211_WPA_VERSION_1) mwifiex_set_secure_params()
107 if (params->crypto.wpa_versions & NL80211_WPA_VERSION_2) mwifiex_set_secure_params()
115 switch (params->crypto.cipher_group) { mwifiex_set_secure_params()
/linux-4.1.27/arch/sparc/include/asm/
H A Delf_64.h92 /* Solaris decided to enumerate every single crypto instruction type
93 * in the AT_HWCAP bits. This is wasteful, since if crypto is present,
95 * really available. So we simply advertise only "crypto" support.
/linux-4.1.27/drivers/crypto/ux500/cryp/
H A Dcryp_core.c14 #include <linux/crypto.h>
28 #include <crypto/aes.h>
29 #include <crypto/algapi.h>
30 #include <crypto/ctr.h>
31 #include <crypto/des.h>
32 #include <crypto/scatterwalk.h>
34 #include <linux/platform_data/crypto-ux500.h>
1090 struct crypto_alg crypto; member in struct:cryp_algo_template
1099 crypto); cryp_cra_init()
1110 .crypto = {
1135 .crypto = {
1160 .crypto = {
1186 .crypto = {
1212 .crypto = {
1238 .crypto = {
1263 .crypto = {
1288 .crypto = {
1313 .crypto = {
1338 .crypto = {
1376 ret = crypto_register_alg(&cryp_algs[i].crypto); cryp_algs_register_all()
1380 cryp_algs[i].crypto.cra_driver_name); cryp_algs_register_all()
1387 crypto_unregister_alg(&cryp_algs[i].crypto); cryp_algs_register_all()
1401 crypto_unregister_alg(&cryp_algs[i].crypto); cryp_algs_unregister_all()
1813 MODULE_DESCRIPTION("Driver for ST-Ericsson UX500 CRYP crypto engine.");
/linux-4.1.27/include/net/
H A Dlib80211.h47 /* init new crypto context (e.g., allocate private data space,
52 /* deinitialize crypto context and free allocated private data */
/linux-4.1.27/arch/s390/kvm/
H A Dkvm-s390.c398 kvm->arch.crypto.crycb->aes_wrapping_key_mask, kvm_s390_vm_set_crypto()
399 sizeof(kvm->arch.crypto.crycb->aes_wrapping_key_mask)); kvm_s390_vm_set_crypto()
400 kvm->arch.crypto.aes_kw = 1; kvm_s390_vm_set_crypto()
404 kvm->arch.crypto.crycb->dea_wrapping_key_mask, kvm_s390_vm_set_crypto()
405 sizeof(kvm->arch.crypto.crycb->dea_wrapping_key_mask)); kvm_s390_vm_set_crypto()
406 kvm->arch.crypto.dea_kw = 1; kvm_s390_vm_set_crypto()
409 kvm->arch.crypto.aes_kw = 0; kvm_s390_vm_set_crypto()
410 memset(kvm->arch.crypto.crycb->aes_wrapping_key_mask, 0, kvm_s390_vm_set_crypto()
411 sizeof(kvm->arch.crypto.crycb->aes_wrapping_key_mask)); kvm_s390_vm_set_crypto()
414 kvm->arch.crypto.dea_kw = 0; kvm_s390_vm_set_crypto()
415 memset(kvm->arch.crypto.crycb->dea_wrapping_key_mask, 0, kvm_s390_vm_set_crypto()
416 sizeof(kvm->arch.crypto.crycb->dea_wrapping_key_mask)); kvm_s390_vm_set_crypto()
974 kvm->arch.crypto.crycbd = (__u32)(unsigned long) kvm->arch.crypto.crycb; kvm_s390_set_crycb_format()
977 kvm->arch.crypto.crycbd |= CRYCB_FORMAT2; kvm_s390_set_crycb_format()
979 kvm->arch.crypto.crycbd |= CRYCB_FORMAT1; kvm_s390_set_crycb_format()
993 kvm->arch.crypto.crycb = kzalloc(sizeof(*kvm->arch.crypto.crycb), kvm_s390_crypto_init()
995 if (!kvm->arch.crypto.crycb) kvm_s390_crypto_init()
1001 kvm->arch.crypto.aes_kw = 1; kvm_s390_crypto_init()
1002 kvm->arch.crypto.dea_kw = 1; kvm_s390_crypto_init()
1003 get_random_bytes(kvm->arch.crypto.crycb->aes_wrapping_key_mask, kvm_s390_crypto_init()
1004 sizeof(kvm->arch.crypto.crycb->aes_wrapping_key_mask)); kvm_s390_crypto_init()
1005 get_random_bytes(kvm->arch.crypto.crycb->dea_wrapping_key_mask, kvm_s390_crypto_init()
1006 sizeof(kvm->arch.crypto.crycb->dea_wrapping_key_mask)); kvm_s390_crypto_init()
1109 kfree(kvm->arch.crypto.crycb); kvm_arch_init_vm()
1164 kfree(kvm->arch.crypto.crycb); kvm_arch_destroy_vm()
1280 if (vcpu->kvm->arch.crypto.aes_kw) kvm_s390_vcpu_crypto_setup()
1282 if (vcpu->kvm->arch.crypto.dea_kw) kvm_s390_vcpu_crypto_setup()
1285 vcpu->arch.sie_block->crycbd = vcpu->kvm->arch.crypto.crycbd; kvm_s390_vcpu_crypto_setup()
/linux-4.1.27/arch/x86/kernel/
H A Dasm-offsets.c8 #include <linux/crypto.h>
/linux-4.1.27/arch/sh/boards/
H A Dboard-secureedge5410.c60 * IRL3 = crypto
/linux-4.1.27/arch/arm/mach-orion5x/
H A Dboard-dt.c36 OF_DEV_AUXDATA("marvell,orion-crypto", 0xf1090000, "mv_crypto", NULL),
/linux-4.1.27/arch/arm/mach-dove/
H A Dcommon.c87 struct clk *nand, *camera, *i2s0, *i2s1, *crypto, *ac97, *pdma; dove_clk_init() local
104 crypto = dove_register_gate("crypto", "tclk", CLOCK_GATING_BIT_CRYPTO); dove_clk_init()
129 orion_clkdev_add(NULL, "mv_crypto", crypto); dove_clk_init()
/linux-4.1.27/net/wireless/
H A Dwext-compat.c975 wdev->wext.connect.crypto.wpa_versions &= cfg80211_set_wpa_version()
979 wdev->wext.connect.crypto.wpa_versions |= cfg80211_set_wpa_version()
983 wdev->wext.connect.crypto.wpa_versions |= cfg80211_set_wpa_version()
992 wdev->wext.connect.crypto.cipher_group = cfg80211_set_cipher_group()
995 wdev->wext.connect.crypto.cipher_group = cfg80211_set_cipher_group()
998 wdev->wext.connect.crypto.cipher_group = cfg80211_set_cipher_group()
1001 wdev->wext.connect.crypto.cipher_group = cfg80211_set_cipher_group()
1004 wdev->wext.connect.crypto.cipher_group = cfg80211_set_cipher_group()
1007 wdev->wext.connect.crypto.cipher_group = 0; cfg80211_set_cipher_group()
1017 u32 *ciphers_pairwise = wdev->wext.connect.crypto.ciphers_pairwise; cfg80211_set_cipher_pairwise()
1046 wdev->wext.connect.crypto.n_ciphers_pairwise = nr_ciphers; cfg80211_set_cipher_pairwise()
1061 wdev->wext.connect.crypto.akm_suites[nr_akm_suites] = cfg80211_set_key_mgt()
1067 wdev->wext.connect.crypto.akm_suites[nr_akm_suites] = cfg80211_set_key_mgt()
1072 wdev->wext.connect.crypto.n_akm_suites = nr_akm_suites; cfg80211_set_key_mgt()
/linux-4.1.27/include/linux/
H A Dcrypto.h29 * Autoloaded crypto modules should only use a prefixed name to avoid allowing
39 __MODULE_INFO(alias, alias_crypto, "crypto-" name)
99 * cipher and never by a normal user of the kernel crypto API
180 * @base: Common attributes for async crypto requests
226 * These data structures define modular crypto algorithm implementations,
236 * found via git grep "_MIN_KEY_SIZE" include/crypto/
241 * found via git grep "_MAX_KEY_SIZE" include/crypto/
253 * the supplied scatterlist containing the blocks of data. The crypto
271 * by the kernel crypto API. Several use cases have a predefined
273 * crypto API provides ready-to-use implementations that can be
373 * include/crypto/
379 * include/crypto/
395 * of the crypto API is not aligned to @cra_alignmask, the crypto
466 * @cra_flags: Flags describing this transformation. See include/linux/crypto.h
474 * block than @cra_blocksize to be passed to the crypto API for
479 * value informs the kernel crypto API about the memory size
847 * CRYPTO_ALG_TYPE_ABLKCIPHER (listed as type "ablkcipher" in /proc/crypto).
853 * the kernel crypto API to inform the caller about the completion of a cipher
858 * cipher handle must be supplied to the kernel crypto API. That additional
866 * state information would be important for a crypto driver implementer to
870 * state information is unused by the kernel crypto API.
912 * Return: true when the ablkcipher is known to the kernel crypto API; false
1144 * crypto API, but provided to the callback function for it to use. Here,
1200 * (listed as type "aead" in /proc/crypto)
1506 * crypto API, but provided to the callback function for it to use. Here,
1594 * CRYPTO_ALG_TYPE_BLKCIPHER (listed as type "blkcipher" in /proc/crypto)
1611 * The kernel crypto API supports a cipher operation "in-place" which means that
1679 * Return: true when the block cipher is known to the kernel crypto API; false
1929 * CRYPTO_ALG_TYPE_CIPHER (listed as type "cipher" in /proc/crypto).
1998 * Return: true when the single block cipher is known to the kernel crypto API;
2111 * CRYPTO_ALG_TYPE_HASH (listed as type "hash" in /proc/crypto)
2172 * Return: true when the message digest cipher is known to the kernel crypto

Completed in 2434 milliseconds

123