Home
last modified time | relevance | path

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

12345678910>>...22

/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/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-crypto-aes.c3 * AMD Cryptographic Coprocessor (CCP) AES crypto API support
10 #include <crypto/aes.h>
33 if (ctx->u.aes.mode != CCP_AES_MODE_ECB) in ccp_aes_complete()
47 ctx->u.aes.type = CCP_AES_TYPE_128; in ccp_aes_setkey()
50 ctx->u.aes.type = CCP_AES_TYPE_192; in ccp_aes_setkey()
53 ctx->u.aes.type = CCP_AES_TYPE_256; in ccp_aes_setkey()
58 ctx->u.aes.mode = alg->mode; in ccp_aes_setkey()
59 ctx->u.aes.key_len = key_len; in ccp_aes_setkey()
61 memcpy(ctx->u.aes.key, key, key_len); in ccp_aes_setkey()
62 sg_init_one(&ctx->u.aes.key_sg, ctx->u.aes.key, key_len); in ccp_aes_setkey()
[all …]
H A Dccp-crypto-aes-galois.c3 * AMD Cryptographic Coprocessor (CCP) AES GCM crypto API support
17 #include <crypto/aes.h>
36 ctx->u.aes.type = CCP_AES_TYPE_128; in ccp_aes_gcm_setkey()
39 ctx->u.aes.type = CCP_AES_TYPE_192; in ccp_aes_gcm_setkey()
42 ctx->u.aes.type = CCP_AES_TYPE_256; in ccp_aes_gcm_setkey()
48 ctx->u.aes.mode = CCP_AES_MODE_GCM; in ccp_aes_gcm_setkey()
49 ctx->u.aes.key_len = key_len; in ccp_aes_gcm_setkey()
51 memcpy(ctx->u.aes.key, key, key_len); in ccp_aes_gcm_setkey()
52 sg_init_one(&ctx->u.aes.key_sg, ctx->u.aes.key, key_len); in ccp_aes_gcm_setkey()
86 if (!ctx->u.aes.key_len) in ccp_aes_gcm_crypt()
[all …]
H A Dccp-crypto-aes-xts.c3 * AMD Cryptographic Coprocessor (CCP) AES XTS crypto API support
15 #include <crypto/aes.h>
29 .name = "xts(aes)",
30 .drv_name = "xts-aes-ccp",
91 memcpy(ctx->u.aes.key, key, key_len); in ccp_aes_xts_setkey()
95 memcpy(ctx->u.aes.key, key, key_len); in ccp_aes_xts_setkey()
98 ctx->u.aes.key_len = key_len / 2; in ccp_aes_xts_setkey()
99 sg_init_one(&ctx->u.aes.key_sg, ctx->u.aes.key, key_len); in ccp_aes_xts_setkey()
101 return crypto_skcipher_setkey(ctx->u.aes.tfm_skcipher, key, key_len); in ccp_aes_xts_setkey()
116 if (!ctx->u.aes.key_len) in ccp_aes_xts_crypt()
[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/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/arch/arm64/crypto/
H A DMakefile38 obj-$(CONFIG_CRYPTO_AES_ARM64_CE) += aes-ce-cipher.o
39 aes-ce-cipher-y := aes-ce-core.o aes-ce-glue.o
41 obj-$(CONFIG_CRYPTO_AES_ARM64_CE_CCM) += aes-ce-ccm.o
42 aes-ce-ccm-y := aes-ce-ccm-glue.o aes-ce-ccm-core.o
44 obj-$(CONFIG_CRYPTO_AES_ARM64_CE_BLK) += aes-ce-blk.o
45 aes-ce-blk-y := aes-glue-ce.o aes-ce.o
47 obj-$(CONFIG_CRYPTO_AES_ARM64_NEON_BLK) += aes-neon-blk.o
48 aes-neon-blk-y := aes-glue-neon.o aes-neon.o
53 obj-$(CONFIG_CRYPTO_AES_ARM64) += aes-arm64.o
54 aes-arm64-y := aes-cipher-core.o aes-cipher-glue.o
[all …]
/linux/arch/x86/crypto/
H A DKconfig19 tristate "Ciphers: AES, modes: ECB, CBC, CTS, CTR, XCTR, XTS, GCM (AES-NI/VAES)"
26 Block cipher: AES cipher algorithms
27 AEAD cipher: AES with GCM
28 Length-preserving ciphers: AES with ECB, CBC, CTS, CTR, XCTR, XTS
31 - AES-NI (AES new instructions)
32 - VAES (Vector AES)
61 tristate "Ciphers: Camellia with modes: ECB, CBC (AES-NI/AVX)"
70 - AES-NI (AES New Instructions)
74 tristate "Ciphers: Camellia with modes: ECB, CBC (AES-NI/AVX2)"
81 - AES-NI (AES New Instructions)
[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 Dti,omap2-aes.yaml4 $id: http://devicetree.org/schemas/ti,omap2-aes.yaml#
7 title: OMAP SoC AES crypto Module
19 - ti,omap2-aes
20 - ti,omap3-aes
21 - ti,omap4-aes
38 description: Name of the hwmod associated with the AES module
39 const: aes
51 aes@53500000 {
52 compatible = "ti,omap4-aes";
/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/arch/arm/crypto/
H A DMakefile6 obj-$(CONFIG_CRYPTO_AES_ARM) += aes-arm.o
7 obj-$(CONFIG_CRYPTO_AES_ARM_BS) += aes-arm-bs.o
12 obj-$(CONFIG_CRYPTO_AES_ARM_CE) += aes-arm-ce.o
15 aes-arm-y := aes-cipher-core.o aes-cipher-glue.o
16 aes-arm-bs-y := aes-neonbs-core.o aes-neonbs-glue.o
18 aes-arm-ce-y := aes-ce-core.o aes-ce-glue.o
/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_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/arch/powerpc/crypto/
H A DMakefile8 obj-$(CONFIG_CRYPTO_AES_PPC_SPE) += aes-ppc-spe.o
10 obj-$(CONFIG_CRYPTO_AES_GCM_P10) += aes-gcm-p10-crypto.o
14 aes-ppc-spe-y := aes-spe-core.o aes-spe-keys.o aes-tab-4k.o aes-spe-modes.o aes-spe-glue.o
16 aes-gcm-p10-crypto-y := aes-gcm-p10-glue.o aes-gcm-p10.o ghashp10-ppc.o aesp10-ppc.o
17 vmx-crypto-objs := vmx.o aesp8-ppc.o ghashp8-ppc.o aes.o aes_cbc.o aes_ctr.o aes_xts.o ghash.o
H A DKconfig27 tristate "Ciphers: AES, modes: ECB/CBC/CTR/XTS (SPE)"
31 Block ciphers: AES cipher algorithms (FIPS-197)
32 Length-preserving ciphers: AES with ECB, CBC, CTR, and XTS modes
42 without hardware AES acceleration (e.g. caam crypto). It reduces the
43 size of the AES tables from 16KB to 8KB + 256 bytes and mitigates
49 tristate "Stitched AES/GCM acceleration support on P10 or later CPU (PPC)"
57 AEAD cipher: AES cipher algorithms (FIPS-197)
64 later CPU. This module supports stitched acceleration for AES/GCM.
83 This module supports acceleration for AES and GHASH in hardware. If you
/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/Documentation/crypto/
H A Darchitecture.rst38 - aes
40 - ecb(aes)
42 - cmac(aes)
44 - ccm(aes)
46 - rfc4106(gcm(aes))
52 - authenc(hmac(sha1),cbc(aes))
54 In these examples, "aes" and "sha1" are the ciphers and all others are
102 or a single block cipher. For example, AES on newer Intel hardware has
103 the following implementations: AES-NI, assembler implementation, or
104 straight C. Now, when using the string "aes" with the kernel crypto API,
[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 …]

12345678910>>...22