/linux-4.1.27/drivers/crypto/ccp/ |
H A D | Makefile | 5 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 D | ccp-crypto.h | 2 * 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 D | ccp-crypto-aes.c | 2 * 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 D | ccp-crypto-aes-cmac.c | 2 * 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 D | ccp-crypto-sha.c | 2 * 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 D | ccp-crypto-aes-xts.c | 2 * 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 D | ccp-crypto-main.c | 2 * 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 D | compat.h | 13 #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 D | Makefile | 1 obj-$(CONFIG_CRYPTO_DEV_NX_ENCRYPT) += nx-crypto.o 2 nx-crypto-objs := nx.o \
|
H A D | nx_debugfs.c | 28 #include <linux/crypto.h> 29 #include <crypto/hash.h> 42 * Documentation/ABI/testing/debugfs-pfo-nx-crypto
|
H A D | nx.c | 22 #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 D | nx-aes-cbc.c | 22 #include <crypto/aes.h> 23 #include <crypto/algapi.h> 26 #include <linux/crypto.h>
|
H A D | nx-aes-ecb.c | 22 #include <crypto/aes.h> 23 #include <crypto/algapi.h> 26 #include <linux/crypto.h>
|
H A D | nx-aes-ctr.c | 22 #include <crypto/aes.h> 23 #include <crypto/ctr.h> 24 #include <crypto/algapi.h> 27 #include <linux/crypto.h>
|
H A D | nx-aes-ccm.c | 22 #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 D | nx.h | 5 #include <crypto/ctr.h> 7 #define NX_NAME "nx-crypto"
|
/linux-4.1.27/arch/x86/include/asm/crypto/ |
H A D | aes.h | 4 #include <linux/crypto.h> 5 #include <crypto/aes.h>
|
H A D | twofish.h | 4 #include <linux/crypto.h> 5 #include <crypto/twofish.h> 6 #include <crypto/lrw.h> 7 #include <crypto/b128ops.h>
|
H A D | serpent-avx.h | 4 #include <linux/crypto.h> 5 #include <crypto/serpent.h>
|
H A D | serpent-sse2.h | 4 #include <linux/crypto.h> 5 #include <crypto/serpent.h>
|
H A D | glue_helper.h | 9 #include <linux/crypto.h> 11 #include <crypto/b128ops.h>
|
/linux-4.1.27/arch/arm/crypto/ |
H A D | sha1.h | 4 #include <linux/crypto.h> 5 #include <crypto/sha.h>
|
H A D | sha256_glue.h | 4 #include <linux/crypto.h>
|
H A D | sha1-ce-glue.c | 11 #include <crypto/internal/hash.h> 12 #include <crypto/sha.h> 13 #include <crypto/sha1_base.h> 14 #include <linux/crypto.h>
|
H A D | sha2-ce-glue.c | 11 #include <crypto/internal/hash.h> 12 #include <crypto/sha.h> 13 #include <crypto/sha256_base.h> 14 #include <linux/crypto.h>
|
H A D | sha256_glue.c | 18 #include <crypto/internal/hash.h> 19 #include <linux/crypto.h> 26 #include <crypto/sha.h> 27 #include <crypto/sha256_base.h>
|
H A D | sha1_glue.c | 19 #include <crypto/internal/hash.h> 24 #include <crypto/sha.h> 25 #include <crypto/sha1_base.h>
|
H A D | sha1_neon_glue.c | 21 #include <crypto/internal/hash.h> 27 #include <crypto/sha.h> 28 #include <crypto/sha1_base.h>
|
H A D | sha256_neon_glue.c | 17 #include <crypto/internal/hash.h> 21 #include <crypto/sha.h> 22 #include <crypto/sha256_base.h>
|
H A D | aes_glue.c | 6 #include <linux/crypto.h> 7 #include <crypto/aes.h>
|
H A D | Makefile | 18 ifeq ($(call as-instr,.fpu crypto-neon-fp-armv8,y,n),y)
|
H A D | ghash-ce-glue.c | 15 #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 D | Makefile | 2 # S/390 crypto devices
|
H A D | zcrypt_msgtype50.c | 179 * @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 D | zcrypt_pcica.c | 78 * @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 D | zcrypt_api.h | 81 * Large random numbers are pulled in 4096 byte chunks from the crypto cards 114 int speed_rating; /* Speed of the crypto device. */
|
H A D | zcrypt_pcicc.c | 148 * @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 D | crypto_wq.c | 2 * 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 D | sha1_generic.c | 19 #include <crypto/internal/hash.h> 25 #include <crypto/sha.h> 26 #include <crypto/sha1_base.h>
|
H A D | pcompress.c | 22 #include <linux/crypto.h> 30 #include <crypto/compress.h> 31 #include <crypto/internal/compress.h>
|
H A D | ablk_helper.c | 28 #include <linux/crypto.h> 32 #include <crypto/algapi.h> 33 #include <crypto/cryptd.h> 34 #include <crypto/ablk_helper.h>
|
H A D | ghash-generic.c | 15 #include <crypto/algapi.h> 16 #include <crypto/gf128mul.h> 17 #include <crypto/internal/hash.h> 18 #include <linux/crypto.h>
|
H A D | proc.c | 18 #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 D | mcryptd.c | 2 * 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 D | crypto_null.c | 20 #include <crypto/null.h> 21 #include <crypto/internal/hash.h> 22 #include <crypto/internal/skcipher.h>
|
H A D | compress.c | 15 #include <linux/crypto.h>
|
H A D | hash_info.c | 14 #include <crypto/hash_info.h>
|
H A D | krng.c | 13 #include <crypto/internal/rng.h>
|
H A D | sha512_generic.c | 13 #include <crypto/internal/hash.h> 18 #include <linux/crypto.h> 20 #include <crypto/sha.h> 21 #include <crypto/sha512_base.h>
|
H A D | Makefile | 5 obj-$(CONFIG_CRYPTO) += crypto.o 6 crypto-y := api.o cipher.o compress.o memneq.o
|
H A D | arc4.c | 17 #include <linux/crypto.h> 18 #include <crypto/algapi.h>
|
H A D | blowfish_generic.c | 23 #include <linux/crypto.h> 25 #include <crypto/blowfish.h>
|
H A D | crc32.c | 29 * This is crypto api shash wrappers to crc32_le. 33 #include <crypto/internal/hash.h>
|
H A D | md5.c | 18 #include <crypto/internal/hash.h> 19 #include <crypto/md5.h>
|
H A D | lrw.c | 20 #include <crypto/algapi.h> 28 #include <crypto/b128ops.h> 29 #include <crypto/gf128mul.h> 30 #include <crypto/lrw.h>
|
H A D | xts.c | 16 #include <crypto/algapi.h> 24 #include <crypto/xts.h> 25 #include <crypto/b128ops.h> 26 #include <crypto/gf128mul.h>
|
H A D | crypto_user.c | 22 #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 D | rng.h | 2 * RNG: Random Number Generator algorithms under the crypto API 16 #include <crypto/algapi.h> 17 #include <crypto/rng.h>
|
H A D | aead.h | 16 #include <crypto/aead.h> 17 #include <crypto/algapi.h>
|
H A D | compress.h | 23 #include <crypto/compress.h>
|
H A D | skcipher.h | 16 #include <crypto/algapi.h> 17 #include <crypto/skcipher.h>
|
/linux-4.1.27/fs/ecryptfs/ |
H A D | Makefile | 8 crypto.o keystore.o kthread.o debug.o
|
/linux-4.1.27/drivers/crypto/vmx/ |
H A D | Makefile | 1 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 D | aesp8-ppc.h | 2 #include <crypto/aes.h>
|
H A D | ghash.c | 24 #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 D | vmx.c | 26 #include <linux/crypto.h> 28 #include <crypto/internal/hash.h>
|
H A D | aes_cbc.c | 24 #include <linux/crypto.h> 28 #include <crypto/aes.h> 29 #include <crypto/scatterwalk.h>
|
H A D | aes_ctr.c | 24 #include <linux/crypto.h> 28 #include <crypto/aes.h> 29 #include <crypto/scatterwalk.h>
|
H A D | aes.c | 24 #include <linux/crypto.h> 28 #include <crypto/aes.h>
|
/linux-4.1.27/include/crypto/ |
H A D | cast5.h | 5 #include <linux/crypto.h> 6 #include <crypto/cast_common.h>
|
H A D | hash_info.h | 16 #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 D | blowfish.h | 9 #include <linux/crypto.h>
|
H A D | ablk_helper.h | 8 #include <linux/crypto.h> 10 #include <crypto/cryptd.h>
|
H A D | cast6.h | 5 #include <linux/crypto.h> 6 #include <crypto/cast_common.h>
|
H A D | serpent.h | 9 #include <linux/crypto.h>
|
H A D | xts.h | 4 #include <crypto/b128ops.h>
|
H A D | cryptd.h | 2 * Software async crypto daemon 15 #include <linux/crypto.h> 17 #include <crypto/hash.h>
|
H A D | mcryptd.h | 2 * Software async multibuffer crypto daemon headers 13 #include <linux/crypto.h> 15 #include <crypto/hash.h>
|
H A D | sha1_base.h | 11 #include <crypto/internal/hash.h> 12 #include <crypto/sha.h> 13 #include <linux/crypto.h>
|
H A D | sha256_base.h | 11 #include <crypto/internal/hash.h> 12 #include <crypto/sha.h> 13 #include <linux/crypto.h>
|
H A D | aes.h | 9 #include <linux/crypto.h>
|
H A D | pcrypt.h | 2 * pcrypt - Parallel crypto engine. 24 #include <linux/crypto.h>
|
H A D | drbg.h | 45 #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 D | sha512_base.h | 11 #include <crypto/internal/hash.h> 12 #include <crypto/sha.h> 13 #include <linux/crypto.h>
|
H A D | lrw.h | 4 #include <crypto/b128ops.h>
|
H A D | rng.h | 2 * 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 D | public_key.h | 3 * See Documentation/crypto/asymmetric-keys.txt 19 #include <crypto/hash_info.h>
|
H A D | skcipher.h | 16 #include <linux/crypto.h> 24 * @creq: The crypto request itself
|
/linux-4.1.27/drivers/usb/wusbcore/ |
H A D | Makefile | 9 crypto.o \
|
H A D | crypto.c | 24 * 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 D | Makefile | 11 crypto.o armor.o \
|
H A D | auth_x.h | 8 #include "crypto.h"
|
H A D | crypto.h | 29 /* crypto.c */
|
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/ |
H A D | Makefile | 8 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 D | octeon-crypto.c | 13 #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 D | octeon-sha1.c | 8 * 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 D | octeon-md5.c | 8 * 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 D | octeon-sha256.c | 8 * 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 D | octeon-sha512.c | 8 * 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 D | mic.c | 9 #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 D | kernel-offsets.h | 4 #include <linux/crypto.h>
|
/linux-4.1.27/arch/sparc/crypto/ |
H A D | crop_devid.c | 4 /* This is a dummy device table linked into all of the crypto
|
H A D | md5_glue.c | 1 /* 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 D | crc32c_glue.c | 1 /* 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 D | sha1_glue.c | 1 /* 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 D | sha256_glue.c | 1 /* 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 D | sha512_glue.c | 1 /* 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 D | Makefile | 15 ext4-$(CONFIG_EXT4_FS_ENCRYPTION) += crypto_policy.o crypto.o \
|
H A D | crypto_fname.c | 6 * 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 D | crypto.c | 2 * 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 D | public_key.h | 3 * See Documentation/crypto/asymmetric-keys.txt 14 #include <crypto/public_key.h>
|
H A D | verify_pefile.h | 13 #include <crypto/pkcs7.h> 14 #include <crypto/hash_info.h>
|
H A D | pkcs7_parser.h | 1 /* 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 D | public_key.c | 1 /* In-software asymmetric public-key crypto subtype 3 * See Documentation/crypto/asymmetric-keys.txt
|
H A D | x509_parser.h | 13 #include <crypto/public_key.h> 44 bool unsupported_crypto; /* T if can't be verified due to missing crypto */
|
H A D | signature.c | 18 #include <crypto/public_key.h>
|
/linux-4.1.27/arch/s390/crypto/ |
H A D | sha.h | 18 #include <linux/crypto.h> 19 #include <crypto/sha.h>
|
H A D | sha1_s390.c | 15 * Derived from "crypto/sha1_generic.c" 26 #include <crypto/internal/hash.h> 29 #include <crypto/sha.h>
|
H A D | sha256_s390.c | 16 #include <crypto/internal/hash.h> 19 #include <crypto/sha.h>
|
H A D | sha512_s390.c | 15 #include <crypto/internal/hash.h> 16 #include <crypto/sha.h>
|
/linux-4.1.27/arch/arm64/crypto/ |
H A D | Makefile | 2 # linux/arch/arm64/crypto/Makefile 21 CFLAGS_aes-ce-cipher.o += -march=armv8-a+crypto
|
H A D | sha1-ce-glue.c | 13 #include <crypto/internal/hash.h> 14 #include <crypto/sha.h> 15 #include <crypto/sha1_base.h> 17 #include <linux/crypto.h>
|
H A D | sha2-ce-glue.c | 13 #include <crypto/internal/hash.h> 14 #include <crypto/sha.h> 15 #include <crypto/sha256_base.h> 17 #include <linux/crypto.h>
|
H A D | aes-ce.S | 2 * linux/arch/arm64/crypto/aes-ce.S - AES cipher for ARMv8 with 17 .arch armv8-a+crypto
|
H A D | ghash-ce-glue.c | 13 #include <crypto/internal/hash.h> 15 #include <linux/crypto.h>
|
H A D | aes-ce-ccm-glue.c | 13 #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 D | core.h | 20 * 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 D | common.h | 17 #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 D | cipher.h | 42 * @cryptlen: crypto length 63 return container_of(alg, struct qce_alg_template, alg.crypto); to_cipher_tmpl()
|
H A D | sha.h | 17 #include <crypto/scatterwalk.h> 18 #include <crypto/sha.h>
|
H A D | core.c | 20 #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 D | ablkcipher.c | 17 #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 D | sha256.h | 15 #include <crypto/sha.h>
|
/linux-4.1.27/arch/mips/cavium-octeon/ |
H A D | Makefile | 19 obj-y += crypto/
|
/linux-4.1.27/arch/powerpc/crypto/ |
H A D | Makefile | 2 # powerpc/crypto/Makefile
|
H A D | sha1.c | 9 * Derived from "crypto/sha1.c" 20 #include <crypto/internal/hash.h> 26 #include <crypto/sha.h>
|
H A D | md5-glue.c | 15 #include <crypto/internal/hash.h> 21 #include <crypto/md5.h>
|
/linux-4.1.27/net/mac80211/ |
H A D | aes_gmac.h | 12 #include <linux/crypto.h>
|
H A D | aes_ccm.h | 13 #include <linux/crypto.h>
|
H A D | aes_cmac.h | 12 #include <linux/crypto.h>
|
H A D | aes_gcm.h | 12 #include <linux/crypto.h>
|
H A D | tkip.h | 13 #include <linux/crypto.h>
|
H A D | aes_gmac.c | 12 #include <linux/crypto.h> 14 #include <crypto/aes.h>
|
H A D | aes_ccm.c | 14 #include <linux/crypto.h> 16 #include <crypto/aes.h>
|
H A D | aes_gcm.c | 11 #include <linux/crypto.h> 13 #include <crypto/aes.h>
|
H A D | aes_cmac.c | 12 #include <linux/crypto.h> 15 #include <crypto/aes.h>
|
/linux-4.1.27/drivers/crypto/amcc/ |
H A D | crypto4xx_sa.c | 30 #include <linux/crypto.h> 31 #include <crypto/algapi.h> 32 #include <crypto/des.h>
|
H A D | crypto4xx_alg.c | 17 * 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 D | crypto4xx_core.h | 25 #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 D | isc.h | 22 #define AP_ISC 6 /* adjunct processor (crypto) devices */
|
/linux-4.1.27/drivers/crypto/ |
H A D | ixp4xx_crypto.c | 2 * 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 D | talitos.c | 33 #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 D | bfin_crc.c | 24 #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 D | aes_glue.c | 7 #include <crypto/aes.h> 8 #include <asm/crypto/aes.h>
|
H A D | serpent_sse2_glue.c | 10 * 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 D | serpent_avx2_glue.c | 15 #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 D | twofish_avx_glue.c | 29 #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 D | serpent_avx_glue.c | 29 #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 D | camellia_aesni_avx_glue.c | 15 #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 D | twofish_glue_3way.c | 24 #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 D | cast6_avx_glue.c | 29 #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 D | cast5_avx_glue.c | 27 #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 D | glue_helper.c | 6 * 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 D | ghash-clmulni-intel_glue.c | 17 #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 D | sha1_ssse3_glue.c | 24 #include <crypto/internal/hash.h> 30 #include <crypto/sha.h> 31 #include <crypto/sha1_base.h>
|
H A D | sha256_ssse3_glue.c | 32 #include <crypto/internal/hash.h> 38 #include <crypto/sha.h> 39 #include <crypto/sha256_base.h>
|
H A D | sha512_ssse3_glue.c | 30 #include <crypto/internal/hash.h> 36 #include <crypto/sha.h> 37 #include <crypto/sha512_base.h>
|
H A D | camellia_aesni_avx2_glue.c | 15 #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 D | fpu.c | 14 #include <crypto/algapi.h> 20 #include <linux/crypto.h>
|
H A D | salsa20_glue.c | 21 #include <crypto/algapi.h> 23 #include <linux/crypto.h>
|
H A D | twofish_glue.c | 41 #include <crypto/twofish.h> 42 #include <linux/crypto.h>
|
H A D | blowfish_glue.c | 6 * 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 D | des3_ede_glue.c | 6 * 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 D | crc32-pclmul_glue.c | 27 * Wrappers for kernel crypto shash api to pclmulqdq crc32 imlementation. 34 #include <crypto/internal/hash.h>
|
/linux-4.1.27/security/apparmor/ |
H A D | crypto.c | 18 #include <crypto/hash.h> 21 #include "include/crypto.h"
|
H A D | Makefile | 8 apparmor-$(CONFIG_SECURITY_APPARMOR_HASH) += crypto.o
|
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/ |
H A D | ieee80211_crypt.h | 21 * 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 D | ieee80211_crypt.c | 2 * Host AP crypto routines 23 MODULE_DESCRIPTION("HostAP crypto");
|
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/linux/ |
H A D | linux-crypto-adler.c | 29 * This is crypto api shash wrappers to zlib_adler32. 34 #include <crypto/internal/hash.h> 35 #include "linux-crypto.h"
|
H A D | linux-crypto.c | 30 #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 D | rtllib_crypt.h | 20 /* This file defines the interface to the rtllib crypto module.
|
/linux-4.1.27/fs/btrfs/ |
H A D | hash.c | 14 #include <crypto/hash.h>
|
/linux-4.1.27/lib/ |
H A D | crc-t10dif.c | 16 #include <crypto/hash.h>
|
H A D | digsig.c | 24 #include <linux/crypto.h> 25 #include <crypto/hash.h> 26 #include <crypto/sha.h>
|
H A D | libcrc32c.c | 34 #include <crypto/hash.h>
|
/linux-4.1.27/include/keys/ |
H A D | asymmetric-parser.h | 3 * See Documentation/crypto/asymmetric-keys.txt
|
/linux-4.1.27/drivers/char/hw_random/ |
H A D | ppc4xx-rng.c | 61 /* 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 D | gss_krb5.h | 39 #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 D | rt2x00mac.c | 436 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 D | uap_cmd.c | 60 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 D | elf_64.h | 92 /* 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 D | cryp_core.c | 14 #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 D | lib80211.h | 47 /* 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 D | kvm-s390.c | 398 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 D | asm-offsets.c | 8 #include <linux/crypto.h>
|
/linux-4.1.27/arch/sh/boards/ |
H A D | board-secureedge5410.c | 60 * IRL3 = crypto
|
/linux-4.1.27/arch/arm/mach-orion5x/ |
H A D | board-dt.c | 36 OF_DEV_AUXDATA("marvell,orion-crypto", 0xf1090000, "mv_crypto", NULL),
|
/linux-4.1.27/arch/arm/mach-dove/ |
H A D | common.c | 87 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 D | wext-compat.c | 975 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 D | crypto.h | 29 * 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
|