Home
last modified time | relevance | path

Searched full:aes (Results 1 – 25 of 329) sorted by relevance

12345678910>>...14

/linux/tools/perf/pmu-events/arch/s390/cf_z16/
H A Dpai_crypto.json55 "BriefDescription": "KM AES 128",
56 "PublicDescription": "KM-AES-128 function ending with CC=0"
62 "BriefDescription": "KM AES 192",
63 "PublicDescription": "KM-AES-192 function ending with CC=0"
69 "BriefDescription": "KM AES 256",
70 "PublicDescription": "KM-AES-256 function ending with CC=0"
76 "BriefDescription": "KM ENCRYPTED AES 128",
77 "PublicDescription": "KM-Encrypted-AES-128 function ending with CC=0"
83 "BriefDescription": "KM ENCRYPTED AES 192",
84 "PublicDescription": "KM-Encrypted-AES-192 function ending with CC=0"
[all …]
H A Dcrypto6.json14 …"PublicDescription": "This counter counts the total number of CPU cycles when the DEA/AES/SHA copr…
21 …ation functions that are issued by the CPU and are blocked because the DEA/AES/SHA coprocessor is …
28 …pseudorandom-number-generation functions issued by the CPU because the DEA/AES/SHA coprocessor is …
70 …"PublicDescription": "This counter counts the total number of CPU cycles when the DEA/AES coproces…
77 …e DEA functions that are issued by the CPU and are blocked because the DEA/AES coprocessor is busy…
84 …CPU cycles blocked for the DEA functions issued by the CPU because the DEA/AES coprocessor is busy…
90 "BriefDescription": "AES Function Count",
91 …"PublicDescription": "This counter counts the total number of the AES functions issued by the CPU."
97 "BriefDescription": "AES Cycle Count",
98 …ter counts the total number of CPU cycles when the DEA/AES coprocessor is busy performing the AES
[all …]
/linux/tools/perf/pmu-events/arch/s390/cf_z17/
H A Dpai_crypto.json55 "BriefDescription": "KM AES 128",
56 "PublicDescription": "KM-AES-128 function ending with CC=0"
62 "BriefDescription": "KM AES 192",
63 "PublicDescription": "KM-AES-192 function ending with CC=0"
69 "BriefDescription": "KM AES 256",
70 "PublicDescription": "KM-AES-256 function ending with CC=0"
76 "BriefDescription": "KM ENCRYPTED AES 128",
77 "PublicDescription": "KM-Encrypted-AES-128 function ending with CC=0"
83 "BriefDescription": "KM ENCRYPTED AES 192",
84 "PublicDescription": "KM-Encrypted-AES-192 function ending with CC=0"
[all …]
H A Dcrypto6.json14 …"PublicDescription": "This counter counts the total number of CPU cycles when the DEA/AES/SHA copr…
21 …ation functions that are issued by the CPU and are blocked because the DEA/AES/SHA coprocessor is …
28 …pseudorandom-number-generation functions issued by the CPU because the DEA/AES/SHA coprocessor is …
70 …"PublicDescription": "This counter counts the total number of CPU cycles when the DEA/AES coproces…
77 …e DEA functions that are issued by the CPU and are blocked because the DEA/AES coprocessor is busy…
84 …CPU cycles blocked for the DEA functions issued by the CPU because the DEA/AES coprocessor is busy…
90 "BriefDescription": "AES Function Count",
91 …"PublicDescription": "This counter counts the total number of the AES functions issued by the CPU."
97 "BriefDescription": "AES Cycle Count",
98 …ter counts the total number of CPU cycles when the DEA/AES coprocessor is busy performing the AES
[all …]
/linux/drivers/crypto/ccp/
H A Dccp-crypto-aes-cmac.c3 * AMD Cryptographic Coprocessor (CCP) AES CMAC crypto API support
16 #include <crypto/aes.h>
69 if (!ctx->u.aes.key_len) in ccp_do_cmac_update()
153 cmac_key_sg = (need_pad) ? &ctx->u.aes.k2_sg in ccp_do_cmac_update()
154 : &ctx->u.aes.k1_sg; in ccp_do_cmac_update()
159 rctx->cmd.u.aes.type = ctx->u.aes.type; in ccp_do_cmac_update()
160 rctx->cmd.u.aes.mode = ctx->u.aes.mode; in ccp_do_cmac_update()
161 rctx->cmd.u.aes.action = CCP_AES_ACTION_ENCRYPT; in ccp_do_cmac_update()
162 rctx->cmd.u.aes.key = &ctx->u.aes.key_sg; in ccp_do_cmac_update()
163 rctx->cmd.u.aes.key_len = ctx->u.aes.key_len; in ccp_do_cmac_update()
[all …]
H A Dccp-ops.c479 struct ccp_aes_engine *aes = &cmd->u.aes; in ccp_run_aes_cmac_cmd() local
486 if (!((aes->key_len == AES_KEYSIZE_128) || in ccp_run_aes_cmac_cmd()
487 (aes->key_len == AES_KEYSIZE_192) || in ccp_run_aes_cmac_cmd()
488 (aes->key_len == AES_KEYSIZE_256))) in ccp_run_aes_cmac_cmd()
491 if (aes->src_len & (AES_BLOCK_SIZE - 1)) in ccp_run_aes_cmac_cmd()
494 if (aes->iv_len != AES_BLOCK_SIZE) in ccp_run_aes_cmac_cmd()
497 if (!aes->key || !aes->iv || !aes->src) in ccp_run_aes_cmac_cmd()
500 if (aes->cmac_final) { in ccp_run_aes_cmac_cmd()
501 if (aes->cmac_key_len != AES_BLOCK_SIZE) in ccp_run_aes_cmac_cmd()
504 if (!aes->cmac_key) in ccp_run_aes_cmac_cmd()
[all …]
/linux/drivers/crypto/intel/keembay/
H A DKconfig2 tristate "Support for Intel Keem Bay OCS AES/SM4 HW acceleration"
9 Support for Intel Keem Bay Offload and Crypto Subsystem (OCS) AES and
13 cbc(aes), ctr(aes), ccm(aes), gcm(aes), cbc(sm4), ctr(sm4), ccm(sm4)
17 enabled: ecb(aes), cts(cbc(aes)), ecb(sm4) and cts(cbc(sm4)).
20 bool "Support for Intel Keem Bay OCS AES/SM4 ECB HW acceleration"
24 AES/SM4 ECB mode hardware acceleration for use with Crypto API.
26 Provides OCS version of ecb(aes) and ecb(sm4)
28 Intel does not recommend use of ECB mode with AES/SM4.
31 bool "Support for Intel Keem Bay OCS AES/SM4 CTS HW acceleration"
35 AES/SM4 CBC with CTS mode hardware acceleration for use with
[all …]
/linux/Documentation/devicetree/bindings/crypto/
H A Dnvidia,tegra234-se-aes.yaml4 $id: http://devicetree.org/schemas/crypto/nvidia,tegra234-se-aes.yaml#
7 title: NVIDIA Tegra Security Engine for AES algorithms
10 The Tegra Security Engine accelerates the following AES encryption/decryption
11 algorithms - AES-ECB, AES-CBC, AES-OFB, AES-XTS, AES-CTR, AES-GCM, AES-CCM,
12 AES-CMAC
19 const: nvidia,tegra234-se-aes
46 compatible = "nvidia,tegra234-se-aes";
H A Dintel,keembay-ocs-aes.yaml4 $id: http://devicetree.org/schemas/crypto/intel,keembay-ocs-aes.yaml#
7 title: Intel Keem Bay OCS AES
13 The Intel Keem Bay Offload and Crypto Subsystem (OCS) AES engine provides
14 hardware-accelerated AES/SM4 encryption/decryption.
18 const: intel,keembay-ocs-aes
41 compatible = "intel,keembay-ocs-aes";
/linux/tools/perf/pmu-events/arch/s390/cf_z14/
H A Dcrypto.json14 …"PublicDescription": "This counter counts the total number of CPU cycles when the DEA/AES/SHA copr…
21 …ation functions that are issued by the CPU and are blocked because the DEA/AES/SHA coprocessor is …
28 …pseudorandom-number-generation functions issued by the CPU because the DEA/AES/SHA coprocessor is …
70 …"PublicDescription": "This counter counts the total number of CPU cycles when the DEA/AES coproces…
77 …e DEA functions that are issued by the CPU and are blocked because the DEA/AES coprocessor is busy…
84 …CPU cycles blocked for the DEA functions issued by the CPU because the DEA/AES coprocessor is busy…
90 "BriefDescription": "AES Function Count",
91 …"PublicDescription": "This counter counts the total number of the AES functions issued by the CPU."
97 "BriefDescription": "AES Cycle Count",
98 …ter counts the total number of CPU cycles when the DEA/AES coprocessor is busy performing the AES
[all …]
/linux/tools/perf/pmu-events/arch/s390/cf_z13/
H A Dcrypto.json14 …"PublicDescription": "This counter counts the total number of CPU cycles when the DEA/AES/SHA copr…
21 …ation functions that are issued by the CPU and are blocked because the DEA/AES/SHA coprocessor is …
28 …pseudorandom-number-generation functions issued by the CPU because the DEA/AES/SHA coprocessor is …
70 …"PublicDescription": "This counter counts the total number of CPU cycles when the DEA/AES coproces…
77 …e DEA functions that are issued by the CPU and are blocked because the DEA/AES coprocessor is busy…
84 …CPU cycles blocked for the DEA functions issued by the CPU because the DEA/AES coprocessor is busy…
90 "BriefDescription": "AES Function Count",
91 …"PublicDescription": "This counter counts the total number of the AES functions issued by the CPU."
97 "BriefDescription": "AES Cycle Count",
98 …ter counts the total number of CPU cycles when the DEA/AES coprocessor is busy performing the AES
[all …]
/linux/tools/perf/pmu-events/arch/s390/cf_z10/
H A Dcrypto.json14 …"PublicDescription": "This counter counts the total number of CPU cycles when the DEA/AES/SHA copr…
21 …ation functions that are issued by the CPU and are blocked because the DEA/AES/SHA coprocessor is …
28 …pseudorandom-number-generation functions issued by the CPU because the DEA/AES/SHA coprocessor is …
70 …"PublicDescription": "This counter counts the total number of CPU cycles when the DEA/AES coproces…
77 …e DEA functions that are issued by the CPU and are blocked because the DEA/AES coprocessor is busy…
84 …CPU cycles blocked for the DEA functions issued by the CPU because the DEA/AES coprocessor is busy…
90 "BriefDescription": "AES Function Count",
91 …"PublicDescription": "This counter counts the total number of the AES functions issued by the CPU."
97 "BriefDescription": "AES Cycle Count",
98 …ter counts the total number of CPU cycles when the DEA/AES coprocessor is busy performing the AES
[all …]
/linux/tools/perf/pmu-events/arch/s390/cf_zec12/
H A Dcrypto.json14 …"PublicDescription": "This counter counts the total number of CPU cycles when the DEA/AES/SHA copr…
21 …ation functions that are issued by the CPU and are blocked because the DEA/AES/SHA coprocessor is …
28 …pseudorandom-number-generation functions issued by the CPU because the DEA/AES/SHA coprocessor is …
70 …"PublicDescription": "This counter counts the total number of CPU cycles when the DEA/AES coproces…
77 …e DEA functions that are issued by the CPU and are blocked because the DEA/AES coprocessor is busy…
84 …CPU cycles blocked for the DEA functions issued by the CPU because the DEA/AES coprocessor is busy…
90 "BriefDescription": "AES Function Count",
91 …"PublicDescription": "This counter counts the total number of the AES functions issued by the CPU."
97 "BriefDescription": "AES Cycle Count",
98 …ter counts the total number of CPU cycles when the DEA/AES coprocessor is busy performing the AES
[all …]
/linux/tools/perf/pmu-events/arch/s390/cf_z196/
H A Dcrypto.json14 …"PublicDescription": "This counter counts the total number of CPU cycles when the DEA/AES/SHA copr…
21 …ation functions that are issued by the CPU and are blocked because the DEA/AES/SHA coprocessor is …
28 …pseudorandom-number-generation functions issued by the CPU because the DEA/AES/SHA coprocessor is …
70 …"PublicDescription": "This counter counts the total number of CPU cycles when the DEA/AES coproces…
77 …e DEA functions that are issued by the CPU and are blocked because the DEA/AES coprocessor is busy…
84 …CPU cycles blocked for the DEA functions issued by the CPU because the DEA/AES coprocessor is busy…
90 "BriefDescription": "AES Function Count",
91 …"PublicDescription": "This counter counts the total number of the AES functions issued by the CPU."
97 "BriefDescription": "AES Cycle Count",
98 …ter counts the total number of CPU cycles when the DEA/AES coprocessor is busy performing the AES
[all …]
/linux/tools/perf/pmu-events/arch/s390/cf_z15/
H A Dcrypto6.json14 …"PublicDescription": "This counter counts the total number of CPU cycles when the DEA/AES/SHA copr…
21 …ation functions that are issued by the CPU and are blocked because the DEA/AES/SHA coprocessor is …
28 …pseudorandom-number-generation functions issued by the CPU because the DEA/AES/SHA coprocessor is …
70 …"PublicDescription": "This counter counts the total number of CPU cycles when the DEA/AES coproces…
77 …e DEA functions that are issued by the CPU and are blocked because the DEA/AES coprocessor is busy…
84 …CPU cycles blocked for the DEA functions issued by the CPU because the DEA/AES coprocessor is busy…
90 "BriefDescription": "AES Function Count",
91 …"PublicDescription": "This counter counts the total number of the AES functions issued by the CPU."
97 "BriefDescription": "AES Cycle Count",
98 …ter counts the total number of CPU cycles when the DEA/AES coprocessor is busy performing the AES
[all …]
/linux/arch/s390/include/uapi/asm/
H A Dpkey.h27 #define MAXAESCIPHERKEYSIZE 136 /* our aes cipher keys have always 136 bytes */
28 #define MINEP11AESKEYBLOBSIZE 256 /* min EP11 AES key blob size */
29 #define MAXEP11AESKEYBLOBSIZE 336 /* max EP11 AES key blob size */
73 /* keygenflags defines for CCA AES cipher keys */
89 /* Struct to hold a CCA AES secure key blob */
101 /* Struct to hold an AES clear key value */
121 * Generate CCA AES secure key.
133 * Construct CCA AES secure key from clear key value
146 * Fabricate AES protected key from a CCA AES secure key
158 * Fabricate AES protected key from clear key value
[all …]
/linux/drivers/s390/crypto/
H A Dzcrypt_ccamisc.h27 #define TOKVER_CCA_AES 0x04 /* CCA AES key token */
58 /* inside view of a variable length symmetric cipher AES key token */
82 /* AES-128 512 640 */
83 /* AES-192 576 640 */
84 /* AES-256 640 640 */
86 u8 algtype; /* 0x02 for AES cipher */
107 u8 wtype; /* wrapping method, 0x00 clear, 0x01 AES */
123 /* Some defines for the CCA AES cipherkeytoken kmf1 field */
134 * Simple check if the token is a valid CCA secure AES data key
142 * Simple check if the token is a valid CCA secure AES cipher key
[all …]
/linux/include/linux/
H A Dccp.h17 #include <crypto/aes.h>
90 /***** AES engine *****/
92 * ccp_aes_type - AES key size
106 * ccp_aes_mode - AES operation mode
130 * ccp_aes_mode - AES operation mode
132 * @CCP_AES_ACTION_DECRYPT: AES decrypt operation
133 * @CCP_AES_ACTION_ENCRYPT: AES encrypt operation
145 * struct ccp_aes_engine - CCP AES operation
146 * @type: AES operation key size
147 * @mode: AES operation mode
[all …]
/linux/arch/x86/crypto/
H A Daes-xts-avx-x86_64.S3 // AES-XTS for modern x86_64 CPUs
50 * This file implements AES-XTS for modern x86_64 CPUs. To handle the
55 * AES-NI && AVX
56 * - 128-bit vectors (1 AES block per vector)
62 * - 256-bit vectors (2 AES blocks per vector)
70 * - 512-bit vectors (4 AES blocks per vector)
75 * This file doesn't have an implementation for AES-NI alone (without AVX), as
83 * The AES-XTS implementations in this file support everything required by the
161 // %rax holds the AES key length in bytes.
188 // V15 holds the key for AES "round 0", copied to all 128-bit lanes.
[all …]
/linux/drivers/crypto/nx/
H A DMakefile4 nx-aes-cbc.o \
5 nx-aes-ecb.o \
6 nx-aes-gcm.o \
7 nx-aes-ccm.o \
8 nx-aes-ctr.o \
9 nx-aes-xcbc.o \
/linux/drivers/net/wireless/ti/wl12xx/
H A Ddebugfs.c80 WL12XX_DEBUGFS_FWSTATS_FILE(aes, encrypt_fail, "%u");
81 WL12XX_DEBUGFS_FWSTATS_FILE(aes, decrypt_fail, "%u");
82 WL12XX_DEBUGFS_FWSTATS_FILE(aes, encrypt_packets, "%u");
83 WL12XX_DEBUGFS_FWSTATS_FILE(aes, decrypt_packets, "%u");
84 WL12XX_DEBUGFS_FWSTATS_FILE(aes, encrypt_interrupt, "%u");
85 WL12XX_DEBUGFS_FWSTATS_FILE(aes, decrypt_interrupt, "%u");
180 DEBUGFS_FWSTATS_ADD(aes, encrypt_fail); in wl12xx_debugfs_add_files()
181 DEBUGFS_FWSTATS_ADD(aes, decrypt_fail); in wl12xx_debugfs_add_files()
182 DEBUGFS_FWSTATS_ADD(aes, encrypt_packets); in wl12xx_debugfs_add_files()
183 DEBUGFS_FWSTATS_ADD(aes, decrypt_packets); in wl12xx_debugfs_add_files()
[all …]
/linux/drivers/crypto/cavium/nitrox/
H A Dnitrox_skcipher.c7 #include <crypto/aes.h>
30 { "cbc(aes)", CIPHER_AES_CBC },
31 { "ecb(aes)", CIPHER_AES_ECB },
32 { "cfb(aes)", CIPHER_AES_CFB },
33 { "rfc3686(ctr(aes))", CIPHER_AES_CTR },
34 { "xts(aes)", CIPHER_AES_XTS },
35 { "cts(cbc(aes))", CIPHER_AES_CBC_CTS },
386 .cra_name = "cbc(aes)",
387 .cra_driver_name = "n5_cbc(aes)",
405 .cra_name = "ecb(aes)",
[all …]
/linux/drivers/net/wireless/ti/wl1251/
H A Ddebugfs.c162 DEBUGFS_FWSTATS_FILE(aes, encrypt_fail, 20, "%u");
163 DEBUGFS_FWSTATS_FILE(aes, decrypt_fail, 20, "%u");
164 DEBUGFS_FWSTATS_FILE(aes, encrypt_packets, 20, "%u");
165 DEBUGFS_FWSTATS_FILE(aes, decrypt_packets, 20, "%u");
166 DEBUGFS_FWSTATS_FILE(aes, encrypt_interrupt, 20, "%u");
167 DEBUGFS_FWSTATS_FILE(aes, decrypt_interrupt, 20, "%u");
302 DEBUGFS_FWSTATS_DEL(aes, encrypt_fail); in wl1251_debugfs_delete_files()
303 DEBUGFS_FWSTATS_DEL(aes, decrypt_fail); in wl1251_debugfs_delete_files()
304 DEBUGFS_FWSTATS_DEL(aes, encrypt_packets); in wl1251_debugfs_delete_files()
305 DEBUGFS_FWSTATS_DEL(aes, decrypt_packets); in wl1251_debugfs_delete_files()
[all …]
/linux/arch/arm64/crypto/
H A Daes-neonbs-glue.c3 * Bit sliced AES using NEON instructions
10 #include <crypto/aes.h>
19 MODULE_DESCRIPTION("Bit sliced AES using NEON instructions");
23 MODULE_ALIAS_CRYPTO("ecb(aes)");
24 MODULE_ALIAS_CRYPTO("cbc(aes)");
25 MODULE_ALIAS_CRYPTO("ctr(aes)");
26 MODULE_ALIAS_CRYPTO("xts(aes)");
389 .base.cra_name = "ecb(aes)",
390 .base.cra_driver_name = "ecb-aes-neonbs",
403 .base.cra_name = "cbc(aes)",
[all …]
/linux/drivers/crypto/
H A Dgeode-aes.c12 #include <crypto/aes.h>
19 #include "geode-aes.h"
216 .cra_name = "aes",
217 .cra_driver_name = "geode-aes",
316 .base.cra_name = "cbc(aes)",
317 .base.cra_driver_name = "cbc-aes-geode",
334 .base.cra_name = "ecb(aes)",
335 .base.cra_driver_name = "ecb-aes-geode",
375 ret = pci_request_regions(dev, "geode-aes"); in geode_aes_probe()
398 dev_notice(&dev->dev, "GEODE AES engine enabled.\n"); in geode_aes_probe()
[all …]

12345678910>>...14