/openbmc/linux/tools/perf/pmu-events/arch/s390/cf_z16/ |
H A D | pai_crypto.json | 55 "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 D | crypto6.json | 14 …"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 …]
|
/openbmc/linux/drivers/crypto/ccp/ |
H A D | ccp-crypto-aes-cmac.c | 3 * 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 D | ccp-crypto-aes.c | 3 * 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 …]
|
H A D | ccp-crypto-aes-galois.c | 3 * 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 D | ccp-crypto-aes-xts.c | 3 * 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 D | ccp-ops.c | 478 struct ccp_aes_engine *aes = &cmd->u.aes; in ccp_run_aes_cmac_cmd() local 485 if (!((aes->key_len == AES_KEYSIZE_128) || in ccp_run_aes_cmac_cmd() 486 (aes->key_len == AES_KEYSIZE_192) || in ccp_run_aes_cmac_cmd() 487 (aes->key_len == AES_KEYSIZE_256))) in ccp_run_aes_cmac_cmd() 490 if (aes->src_len & (AES_BLOCK_SIZE - 1)) in ccp_run_aes_cmac_cmd() 493 if (aes->iv_len != AES_BLOCK_SIZE) in ccp_run_aes_cmac_cmd() 496 if (!aes->key || !aes->iv || !aes->src) in ccp_run_aes_cmac_cmd() 499 if (aes->cmac_final) { in ccp_run_aes_cmac_cmd() 500 if (aes->cmac_key_len != AES_BLOCK_SIZE) in ccp_run_aes_cmac_cmd() 503 if (!aes->cmac_key) in ccp_run_aes_cmac_cmd() [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 149.out | 1 # ================= dm-crypt aes-256-xts-plain64-sha1 ================= 3 truncate TEST_DIR/luks-aes-256-xts-plain64-sha1.img --size 4194304MB 5 …mat --type luks1 --cipher aes-xts-plain64 --key-size 512 --hash sha1 --key-slot 0 --key-file - --i… 7 sudo cryptsetup -q -v luksOpen TEST_DIR/luks-aes-256-xts-plain64-sha1.img qiotest-145-aes-256-xts-p… 9 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha1 10 … 100M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha1 15 sudo chown UID:GID /dev/mapper/qiotest-145-aes-256-xts-plain64-sha1 16 …5728M 10M --image-opts driver=host_device,filename=/dev/mapper/qiotest-145-aes-256-xts-plain64-sha1 21 sudo cryptsetup -q -v luksClose qiotest-145-aes-256-xts-plain64-sha1 23 …ase64 --image-opts driver=luks,key-secret=sec0,file.filename=TEST_DIR/luks-aes-256-xts-plain64-sha… [all …]
|
/openbmc/linux/arch/arm64/crypto/ |
H A D | Makefile | 50 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 …]
|
H A D | aes-ce.S | 3 * linux/arch/arm64/crypto/aes-ce.S - AES cipher for ARMv8 with 58 aes\de \i0\().16b, \k\().16b 59 aes\mc \i0\().16b, \i0\().16b 61 aes\de \i1\().16b, \k\().16b 62 aes\mc \i1\().16b, \i1\().16b 64 aes\de \i2\().16b, \k\().16b 65 aes\mc \i2\().16b, \i2\().16b 66 aes\de \i3\().16b, \k\().16b 67 aes\mc \i3\().16b, \i3\().16b 69 aes\de \i4\().16b, \k\().16b [all …]
|
/openbmc/qemu/target/s390x/ |
H A D | cpu_features_def.h.inc | 197 DEF_FEAT(KMAC_AES_128, "kmac-aes-128", KMAC, 18, "KMAC AES-128") 198 DEF_FEAT(KMAC_AES_192, "kmac-aes-192", KMAC, 19, "KMAC AES-192") 199 DEF_FEAT(KMAC_AES_256, "kmac-aes-256", KMAC, 20, "KMAC AES-256") 200 DEF_FEAT(KMAC_EAES_128, "kmac-eaes-128", KMAC, 26, "KMAC Encrypted-AES-128") 201 DEF_FEAT(KMAC_EAES_192, "kmac-eaes-192", KMAC, 27, "KMAC Encrypted-AES-192") 202 DEF_FEAT(KMAC_EAES_256, "kmac-eaes-256", KMAC, 28, "KMAC Encrypted-AES-256") 211 DEF_FEAT(KMC_AES_128, "kmc-aes-128", KMC, 18, "KMC AES-128") 212 DEF_FEAT(KMC_AES_192, "kmc-aes-192", KMC, 19, "KMC AES-192") 213 DEF_FEAT(KMC_AES_256, "kmc-aes-256", KMC, 20, "KMC AES-256") 214 DEF_FEAT(KMC_EAES_128, "kmc-eaes-128", KMC, 26, "KMC Encrypted-AES-128") [all …]
|
/openbmc/linux/drivers/crypto/intel/keembay/ |
H A D | Kconfig | 2 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/crypto/ |
H A D | omap-aes.txt | 1 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";
|
/openbmc/linux/tools/perf/pmu-events/arch/s390/cf_z196/ |
H A D | crypto.json | 14 …"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 …]
|
/openbmc/linux/tools/perf/pmu-events/arch/s390/cf_z10/ |
H A D | crypto.json | 14 …"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 …]
|
/openbmc/linux/tools/perf/pmu-events/arch/s390/cf_z14/ |
H A D | crypto.json | 14 …"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 …]
|
/openbmc/linux/tools/perf/pmu-events/arch/s390/cf_z13/ |
H A D | crypto.json | 14 …"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 …]
|
/openbmc/linux/tools/perf/pmu-events/arch/s390/cf_zec12/ |
H A D | crypto.json | 14 …"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 …]
|
/openbmc/linux/arch/x86/crypto/ |
H A D | Kconfig | 17 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 …]
|
/openbmc/linux/tools/perf/pmu-events/arch/s390/cf_z15/ |
H A D | crypto6.json | 14 …"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 …]
|
/openbmc/linux/Documentation/crypto/ |
H A D | architecture.rst | 38 - 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 …]
|
/openbmc/linux/arch/powerpc/crypto/ |
H A D | Makefile | 8 obj-$(CONFIG_CRYPTO_AES_PPC_SPE) += aes-ppc-spe.o 16 obj-$(CONFIG_CRYPTO_AES_GCM_P10) += aes-gcm-p10-crypto.o 20 aes-ppc-spe-y := aes-spe-core.o aes-spe-keys.o aes-tab-4k.o aes-spe-modes.o aes-spe-glue.o 27 aes-gcm-p10-crypto-y := aes-gcm-p10-glue.o aes-gcm-p10.o ghashp10-ppc.o aesp10-ppc.o
|
/openbmc/linux/drivers/crypto/ |
H A D | Kconfig | 29 tristate "PadLock driver for AES algorithm" 34 Use VIA PadLock for AES algorithm. 39 called padlock-aes. 56 tristate "Support for the Geode LX AES engine" 61 Say 'Y' here to use the AMD Geode LX processor on-board AES 62 engine for the CryptoAPI AES algorithm. 65 will be called geode-aes. 119 AES cipher algorithms for use with protected key. 276 tristate "Support for OMAP AES hw engine" 286 OMAP processors have AES module accelerator. Select this if you [all …]
|
/openbmc/linux/arch/arm/crypto/ |
H A D | Makefile | 6 obj-$(CONFIG_CRYPTO_AES_ARM) += aes-arm.o 7 obj-$(CONFIG_CRYPTO_AES_ARM_BS) += aes-arm-bs.o 19 obj-$(CONFIG_CRYPTO_AES_ARM_CE) += aes-arm-ce.o 26 aes-arm-y := aes-cipher-core.o aes-cipher-glue.o 27 aes-arm-bs-y := aes-neonbs-core.o aes-neonbs-glue.o 38 aes-arm-ce-y := aes-ce-core.o aes-ce-glue.o
|
/openbmc/u-boot/include/ |
H A D | uboot_aes.h | 18 * AES encryption library, with small code size, supporting only 128-bit AES 20 * AES is a stream cipher which works a block at a time, with each block 34 * aes_expand_key() - Expand the AES key 45 * aes_encrypt() - Encrypt single block of data with AES 128 54 * aes_decrypt() - Decrypt single block of data with AES 128 74 * aes_cbc_encrypt_blocks() - Encrypt multiple blocks of data with AES CBC. 80 * @num_aes_blocks Number of AES blocks to encrypt 86 * Decrypt multiple blocks of data with AES CBC. 92 * @num_aes_blocks Number of AES blocks to decrypt
|