Home
last modified time | relevance | path

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

12345678910>>...41

/kernel/linux/linux-5.10/drivers/crypto/mediatek/
Dmtk-aes.c5 * Driver for EIP97 AES acceleration.
9 * Some ideas are from atmel-aes.c drivers.
12 #include <crypto/aes.h>
27 /* AES-CBC/ECB/CTR/OFB/CFB command token */
31 /* AES-GCM command token */
40 /* AES transform information word 0 fields */
51 /* AES transform information word 1 fields */
63 /* AES flags */
77 * mtk_aes_info - hardware information of AES
84 * | AES KEY | 128/196/256 bits
[all …]
/kernel/linux/linux-6.6/tools/perf/pmu-events/arch/s390/cf_z16/
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 …]
/kernel/linux/linux-6.6/drivers/crypto/ccp/
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 …]
Dccp-crypto-aes.c3 * AMD Cryptographic Coprocessor (CCP) AES crypto API support
16 #include <crypto/aes.h>
32 if (ctx->u.aes.mode != CCP_AES_MODE_ECB) in ccp_aes_complete()
46 ctx->u.aes.type = CCP_AES_TYPE_128; in ccp_aes_setkey()
49 ctx->u.aes.type = CCP_AES_TYPE_192; in ccp_aes_setkey()
52 ctx->u.aes.type = CCP_AES_TYPE_256; in ccp_aes_setkey()
57 ctx->u.aes.mode = alg->mode; in ccp_aes_setkey()
58 ctx->u.aes.key_len = key_len; in ccp_aes_setkey()
60 memcpy(ctx->u.aes.key, key, key_len); in ccp_aes_setkey()
61 sg_init_one(&ctx->u.aes.key_sg, ctx->u.aes.key, key_len); in ccp_aes_setkey()
[all …]
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 …]
/kernel/linux/linux-5.10/drivers/crypto/ccp/
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 …]
Dccp-crypto-aes.c3 * AMD Cryptographic Coprocessor (CCP) AES crypto API support
16 #include <crypto/aes.h>
31 if (ctx->u.aes.mode != CCP_AES_MODE_ECB) in ccp_aes_complete()
45 ctx->u.aes.type = CCP_AES_TYPE_128; in ccp_aes_setkey()
48 ctx->u.aes.type = CCP_AES_TYPE_192; in ccp_aes_setkey()
51 ctx->u.aes.type = CCP_AES_TYPE_256; in ccp_aes_setkey()
56 ctx->u.aes.mode = alg->mode; in ccp_aes_setkey()
57 ctx->u.aes.key_len = key_len; in ccp_aes_setkey()
59 memcpy(ctx->u.aes.key, key, key_len); in ccp_aes_setkey()
60 sg_init_one(&ctx->u.aes.key_sg, ctx->u.aes.key, key_len); in ccp_aes_setkey()
[all …]
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 …]
/kernel/linux/linux-5.10/arch/arm64/crypto/
DMakefile32 obj-$(CONFIG_CRYPTO_AES_ARM64_CE) += aes-ce-cipher.o
33 aes-ce-cipher-y := aes-ce-core.o aes-ce-glue.o
35 obj-$(CONFIG_CRYPTO_AES_ARM64_CE_CCM) += aes-ce-ccm.o
36 aes-ce-ccm-y := aes-ce-ccm-glue.o aes-ce-ccm-core.o
38 obj-$(CONFIG_CRYPTO_AES_ARM64_CE_BLK) += aes-ce-blk.o
39 aes-ce-blk-y := aes-glue-ce.o aes-ce.o
41 obj-$(CONFIG_CRYPTO_AES_ARM64_NEON_BLK) += aes-neon-blk.o
42 aes-neon-blk-y := aes-glue-neon.o aes-neon.o
60 obj-$(CONFIG_CRYPTO_AES_ARM64) += aes-arm64.o
61 aes-arm64-y := aes-cipher-core.o aes-cipher-glue.o
[all …]
/kernel/linux/linux-6.6/arch/arm64/crypto/
DMakefile50 obj-$(CONFIG_CRYPTO_AES_ARM64_CE) += aes-ce-cipher.o
51 aes-ce-cipher-y := aes-ce-core.o aes-ce-glue.o
53 obj-$(CONFIG_CRYPTO_AES_ARM64_CE_CCM) += aes-ce-ccm.o
54 aes-ce-ccm-y := aes-ce-ccm-glue.o aes-ce-ccm-core.o
56 obj-$(CONFIG_CRYPTO_AES_ARM64_CE_BLK) += aes-ce-blk.o
57 aes-ce-blk-y := aes-glue-ce.o aes-ce.o
59 obj-$(CONFIG_CRYPTO_AES_ARM64_NEON_BLK) += aes-neon-blk.o
60 aes-neon-blk-y := aes-glue-neon.o aes-neon.o
78 obj-$(CONFIG_CRYPTO_AES_ARM64) += aes-arm64.o
79 aes-arm64-y := aes-cipher-core.o aes-cipher-glue.o
[all …]
/kernel/linux/linux-6.6/drivers/crypto/intel/keembay/
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 …]
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/s390/cf_z196/
Dcrypto.json14 …"PublicDescription": "Total number of CPU cycles when the DEA/AES coprocessor is busy performing P…
21 … PRNG functions that are issued by the CPU and are blocked because the DEA/AES coprocessor is busy…
28 …PU cycles blocked for the PRNG functions issued by the CPU because the DEA/AES coprocessor is busy…
70 …"PublicDescription": "Total number of CPU cycles when the DEA/AES coprocessor is busy performing t…
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 Functions",
91 "PublicDescription": "Total number of AES functions issued by the CPU"
97 "BriefDescription": "AES Cycles",
98 …Description": "Total number of CPU cycles when the DEA/AES coprocessor is busy performing the AES
[all …]
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/s390/cf_zec12/
Dcrypto.json14 …"PublicDescription": "Total number of CPU cycles when the DEA/AES coprocessor is busy performing P…
21 … PRNG functions that are issued by the CPU and are blocked because the DEA/AES coprocessor is busy…
28 …PU cycles blocked for the PRNG functions issued by the CPU because the DEA/AES coprocessor is busy…
70 …"PublicDescription": "Total number of CPU cycles when the DEA/AES coprocessor is busy performing t…
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 Functions",
91 "PublicDescription": "Total number of AES functions issued by the CPU"
97 "BriefDescription": "AES Cycles",
98 …Description": "Total number of CPU cycles when the DEA/AES coprocessor is busy performing the AES
[all …]
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/s390/cf_z15/
Dcrypto.json14 …"PublicDescription": "Total number of CPU cycles when the DEA/AES coprocessor is busy performing P…
21 … PRNG functions that are issued by the CPU and are blocked because the DEA/AES coprocessor is busy…
28 …PU cycles blocked for the PRNG functions issued by the CPU because the DEA/AES coprocessor is busy…
70 …"PublicDescription": "Total number of CPU cycles when the DEA/AES coprocessor is busy performing t…
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 Functions",
91 "PublicDescription": "Total number of AES functions issued by the CPU"
97 "BriefDescription": "AES Cycles",
98 …Description": "Total number of CPU cycles when the DEA/AES coprocessor is busy performing the AES
[all …]
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/s390/cf_z13/
Dcrypto.json14 …"PublicDescription": "Total number of CPU cycles when the DEA/AES coprocessor is busy performing P…
21 … PRNG functions that are issued by the CPU and are blocked because the DEA/AES coprocessor is busy…
28 …PU cycles blocked for the PRNG functions issued by the CPU because the DEA/AES coprocessor is busy…
70 …"PublicDescription": "Total number of CPU cycles when the DEA/AES coprocessor is busy performing t…
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 Functions",
91 "PublicDescription": "Total number of AES functions issued by the CPU"
97 "BriefDescription": "AES Cycles",
98 …Description": "Total number of CPU cycles when the DEA/AES coprocessor is busy performing the AES
[all …]
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/s390/cf_z14/
Dcrypto.json14 …"PublicDescription": "Total number of CPU cycles when the DEA/AES coprocessor is busy performing P…
21 … PRNG functions that are issued by the CPU and are blocked because the DEA/AES coprocessor is busy…
28 …PU cycles blocked for the PRNG functions issued by the CPU because the DEA/AES coprocessor is busy…
70 …"PublicDescription": "Total number of CPU cycles when the DEA/AES coprocessor is busy performing t…
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 Functions",
91 "PublicDescription": "Total number of AES functions issued by the CPU"
97 "BriefDescription": "AES Cycles",
98 …Description": "Total number of CPU cycles when the DEA/AES coprocessor is busy performing the AES
[all …]
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/s390/cf_z10/
Dcrypto.json14 …"PublicDescription": "Total number of CPU cycles when the DEA/AES coprocessor is busy performing P…
21 … PRNG functions that are issued by the CPU and are blocked because the DEA/AES coprocessor is busy…
28 …PU cycles blocked for the PRNG functions issued by the CPU because the DEA/AES coprocessor is busy…
70 …"PublicDescription": "Total number of CPU cycles when the DEA/AES coprocessor is busy performing t…
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 Functions",
91 "PublicDescription": "Total number of AES functions issued by the CPU"
97 "BriefDescription": "AES Cycles",
98 …Description": "Total number of CPU cycles when the DEA/AES coprocessor is busy performing the AES
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/crypto/
Domap-aes.txt1 OMAP SoC AES crypto Module
6 AES versions:
7 - "ti,omap2-aes" for OMAP2.
8 - "ti,omap3-aes" for OMAP3.
9 - "ti,omap4-aes" for OMAP4 and AM33XX.
12 - ti,hwmods: Name of the hwmod associated with the AES module
14 - interrupts : the interrupt-specifier for the AES module.
23 aes: aes@53500000 {
24 compatible = "ti,omap4-aes";
25 ti,hwmods = "aes";
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/crypto/
Domap-aes.txt1 OMAP SoC AES crypto Module
6 AES versions:
7 - "ti,omap2-aes" for OMAP2.
8 - "ti,omap3-aes" for OMAP3.
9 - "ti,omap4-aes" for OMAP4 and AM33XX.
12 - ti,hwmods: Name of the hwmod associated with the AES module
14 - interrupts : the interrupt-specifier for the AES module.
23 aes: aes@53500000 {
24 compatible = "ti,omap4-aes";
25 ti,hwmods = "aes";
/kernel/linux/linux-6.6/tools/perf/pmu-events/arch/s390/cf_z14/
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 …]
/kernel/linux/linux-6.6/tools/perf/pmu-events/arch/s390/cf_z10/
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 …]
/kernel/linux/linux-6.6/tools/perf/pmu-events/arch/s390/cf_z196/
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 …]
/kernel/linux/linux-6.6/tools/perf/pmu-events/arch/s390/cf_zec12/
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 …]
/kernel/linux/linux-6.6/tools/perf/pmu-events/arch/s390/cf_z13/
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 …]
/kernel/linux/linux-6.6/arch/x86/crypto/
DKconfig17 tristate "Ciphers: AES, modes: ECB, CBC, CTS, CTR, XTR, XTS, GCM (AES-NI)"
25 Block cipher: AES cipher algorithms
26 AEAD cipher: AES with GCM
27 Length-preserving ciphers: AES with ECB, CBC, CTS, CTR, XTR, XTS
30 - AES-NI (AES new instructions)
56 tristate "Ciphers: Camellia with modes: ECB, CBC (AES-NI/AVX)"
66 - AES-NI (AES New Instructions)
70 tristate "Ciphers: Camellia with modes: ECB, CBC (AES-NI/AVX2)"
77 - AES-NI (AES New Instructions)
192 tristate "Ciphers: SM4 with modes: ECB, CBC, CFB, CTR (AES-NI/AVX)"
[all …]

12345678910>>...41