/Linux-v6.6/drivers/crypto/aspeed/ |
D | Kconfig | 2 tristate "Support for Aspeed cryptographic engine driver" 6 Hash and Crypto Engine (HACE) is designed to accelerate the 13 bool "Enable Aspeed crypto debug messages" 16 Print Aspeed crypto debugging messages if you use this 22 bool "Enable Aspeed Hash & Crypto Engine (HACE) hash" 29 Select here to enable Aspeed Hash & Crypto Engine (HACE) 32 SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, and so on. 35 bool "Enable Aspeed Hash & Crypto Engine (HACE) crypto" 45 Select here to enable Aspeed Hash & Crypto Engine (HACE) 46 crypto driver. [all …]
|
D | aspeed-hace.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 #include "aspeed-hace.h" 7 #include <crypto/engine.h> 9 #include <linux/dma-mapping.h> 23 dev_info((d)->dev, "%s() " fmt, __func__, ##__VA_ARGS__) 26 dev_dbg((d)->dev, "%s() " fmt, __func__, ##__VA_ARGS__) 33 struct aspeed_engine_crypto *crypto_engine = &hace_dev->crypto_engine; in aspeed_hace_irq() 34 struct aspeed_engine_hash *hash_engine = &hace_dev->hash_engine; in aspeed_hace_irq() 43 if (hash_engine->flags & CRYPTO_FLAGS_BUSY) in aspeed_hace_irq() 44 tasklet_schedule(&hash_engine->done_task); in aspeed_hace_irq() [all …]
|
/Linux-v6.6/Documentation/devicetree/bindings/crypto/ |
D | qcom,inline-crypto-engine.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/crypto/qcom,inline-crypto-engine.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm Technologies, Inc. (QTI) Inline Crypto Engine 10 - Bjorn Andersson <andersson@kernel.org> 15 - enum: 16 - qcom,sm8450-inline-crypto-engine 17 - qcom,sm8550-inline-crypto-engine 18 - const: qcom,inline-crypto-engine [all …]
|
D | intel,ixp4xx-crypto.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/crypto/intel,ixp4xx-crypto.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Intel IXP4xx cryptographic engine 11 - Linus Walleij <linus.walleij@linaro.org> 14 The Intel IXP4xx cryptographic engine makes use of the IXP4xx NPE 15 (Network Processing Engine). Since it is not a device on its own 16 it is defined as a subnode of the NPE, if crypto support is 21 const: intel,ixp4xx-crypto [all …]
|
D | marvell-cesa.txt | 4 - compatible: should be one of the following string 5 "marvell,orion-crypto" 6 "marvell,kirkwood-crypto" 7 "marvell,dove-crypto" 8 "marvell,armada-370-crypto" 9 "marvell,armada-xp-crypto" 10 "marvell,armada-375-crypto" 11 "marvell,armada-38x-crypto" 12 - reg: base physical address of the engine and length of memory mapped 14 but this representation is deprecated and marvell,crypto-srams should [all …]
|
D | aspeed,ast2500-hace.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/crypto/aspeed,ast2500-hace.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ASPEED HACE hash and crypto Hardware Accelerator Engines 10 - Neal Liu <neal_liu@aspeedtech.com> 13 The Hash and Crypto Engine (HACE) is designed to accelerate the throughput 15 divided into two independently engines - Hash Engine and Crypto Engine. 20 - aspeed,ast2500-hace 21 - aspeed,ast2600-hace [all …]
|
D | inside-secure-safexcel.txt | 1 Inside Secure SafeXcel cryptographic engine 4 - compatible: Should be "inside-secure,safexcel-eip197b", 5 "inside-secure,safexcel-eip197d" or 6 "inside-secure,safexcel-eip97ies". 7 - reg: Base physical address of the engine and length of memory mapped region. 8 - interrupts: Interrupt numbers for the rings and engine. 9 - interrupt-names: Should be "ring0", "ring1", "ring2", "ring3", "eip", "mem". 12 - clocks: Reference to the crypto engine clocks, the second clock is 14 - clock-names: mandatory if there is a second clock, in this case the 21 - "inside-secure,safexcel-eip197" is equivalent to [all …]
|
/Linux-v6.6/drivers/crypto/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 4 bool "Hardware crypto devices" 7 Say Y here to get to see options for hardware crypto devices and 14 source "drivers/crypto/allwinner/Kconfig" 20 Some VIA processors come with an integrated crypto engine 21 (so called VIA PadLock ACE, Advanced Cryptography Engine) 39 called padlock-aes. 53 called padlock-sha. 56 tristate "Support for the Geode LX AES engine" 61 Say 'Y' here to use the AMD Geode LX processor on-board AES [all …]
|
D | sa2ul.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * K3 SA2UL crypto accelerator driver 5 * Copyright (C) 2018-2020 Texas Instruments Incorporated - http://www.ti.com 15 #include <crypto/aes.h> 16 #include <crypto/sha1.h> 17 #include <crypto/sha2.h> 35 * Encoding used to identify the typo of crypto operation 62 ((ctx_sz) ? ((ctx_sz) / 32 - 1) : 0) 70 /* Next Engine Select code in CP_ACE */ 71 #define SA_ENG_ID_EM1 2 /* Enc/Dec engine with AES/DEC core */ [all …]
|
/Linux-v6.6/crypto/ |
D | crypto_engine.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Handle async block request by crypto hardware engine. 10 #include <crypto/internal/aead.h> 11 #include <crypto/internal/akcipher.h> 12 #include <crypto/internal/engine.h> 13 #include <crypto/internal/hash.h> 14 #include <crypto/internal/kpp.h> 15 #include <crypto/internal/skcipher.h> 35 * crypto_finalize_request - finalize one request if the request is done 36 * @engine: the hardware engine [all …]
|
/Linux-v6.6/include/crypto/internal/ |
D | engine.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Crypto engine API 11 #include <crypto/algapi.h> 12 #include <crypto/engine.h> 22 * struct crypto_engine - crypto hardware engine 23 * @name: the engine name 24 * @idling: the engine is entering idle state 26 * @running: the engine is on working 27 * @retry_support: indication that the hardware allows re-execution 29 * crypto-engine, in head position to keep order [all …]
|
/Linux-v6.6/include/crypto/ |
D | engine.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Crypto engine API 10 #include <crypto/aead.h> 11 #include <crypto/akcipher.h> 12 #include <crypto/hash.h> 13 #include <crypto/kpp.h> 14 #include <crypto/skcipher.h> 21 * struct crypto_engine_op - crypto hardware engine operations 25 int (*do_one_request)(struct crypto_engine *engine, 54 int crypto_transfer_aead_request_to_engine(struct crypto_engine *engine, [all …]
|
/Linux-v6.6/Documentation/devicetree/bindings/firmware/ |
D | intel,ixp4xx-network-processing-engine.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/firmware/intel,ixp4xx-network-processing-engine.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Intel IXP4xx Network Processing Engine 11 - Linus Walleij <linus.walleij@linaro.org> 14 On the IXP4xx SoCs, the Network Processing Engine (NPE) is a small 16 and crypto tasks. It also manages the MDIO bus to the ethernet PHYs 24 - items: 25 - const: intel,ixp4xx-network-processing-engine [all …]
|
/Linux-v6.6/drivers/crypto/marvell/cesa/ |
D | cesa.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 #include <crypto/internal/hash.h> 6 #include <crypto/internal/skcipher.h> 8 #include <linux/dma-direction.h> 70 * in Errata 4.12. It looks like that it was part of an IRQ-controller in FPGA 124 * /-----------\ 0 126 * |-----------| 0x20 128 * |-----------| 0x40 130 * |-----------| 0x40 (inplace) 132 * |-----------| 0x80 [all …]
|
D | cesa.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Support for Marvell's Cryptographic Engine and Security Accelerator (CESA) 5 * driver supports the TDMA engine on platforms on which it is available. 7 * Author: Boris Brezillon <boris.brezillon@free-electrons.com> 15 #include <linux/dma-mapping.h> 32 /* Limit of the crypto queue before reaching the backlog */ 38 mv_cesa_dequeue_req_locked(struct mv_cesa_engine *engine, in mv_cesa_dequeue_req_locked() argument 43 *backlog = crypto_get_backlog(&engine->queue); in mv_cesa_dequeue_req_locked() 44 req = crypto_dequeue_request(&engine->queue); in mv_cesa_dequeue_req_locked() 52 static void mv_cesa_rearm_engine(struct mv_cesa_engine *engine) in mv_cesa_rearm_engine() argument [all …]
|
/Linux-v6.6/drivers/crypto/allwinner/ |
D | Kconfig | 6 Say Y here to get to see options for Allwinner hardware crypto devices 19 Some Allwinner SoC have a crypto accelerator named 25 will be called sun4i-ss. 32 Select this option if you want to provide kernel-side support for 33 the Pseudo-Random Number Generator found in the Security System. 36 bool "Enable sun4i-ss stats" 40 Say y to enable sun4i-ss debug stats. 41 This will create /sys/kernel/debug/sun4i-ss/stats for displaying 45 tristate "Support for Allwinner Crypto Engine cryptographic offloader" 55 Select y here to have support for the crypto Engine available on [all …]
|
/Linux-v6.6/Documentation/crypto/ |
D | crypto_engine.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 Crypto Engine 7 -------- 8 The crypto engine (CE) API is a crypto queue manager. 11 ----------- 18 struct crypto_engine engine; 22 The crypto engine only manages asynchronous requests in the form of 25 using container_of. In addition, the engine knows nothing about your 26 structure "``struct your_tfm_ctx``". The engine assumes (requires) the placement 30 ------------------- [all …]
|
/Linux-v6.6/drivers/soc/qcom/ |
D | ice.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Qualcomm ICE (Inline Crypto Engine) support. 5 * Copyright (c) 2013-2019, The Linux Foundation. All rights reserved. 30 /* BIST ("built-in self-test") status flags */ 37 #define qcom_ice_writel(engine, val, reg) \ argument 38 writel((val), (engine)->base + (reg)) 40 #define qcom_ice_readl(engine, reg) \ argument 41 readl((engine)->base + (reg)) 54 struct device *dev = ice->dev; in qcom_ice_check_supported() 66 dev_info(dev, "Found QC Inline Crypto Engine (ICE) v%d.%d.%d\n", in qcom_ice_check_supported() [all …]
|
/Linux-v6.6/drivers/crypto/amlogic/ |
D | amlogic-gxl.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * amlogic.h - hardware cryptographic offloader for Amlogic SoC 5 * Copyright (C) 2018-2019 Corentin LABBE <clabbe@baylibre.com> 7 #include <crypto/aes.h> 8 #include <crypto/engine.h> 9 #include <crypto/skcipher.h> 11 #include <linux/crypto.h> 34 * struct meson_desc - Descriptor for DMA operations 40 * @len: 0-16 length of data to operate 44 * @mode: 20-23 Type of algorithm (AES, SHA) [all …]
|
D | amlogic-gxl-core.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * amlgoic-core.c - hardware cryptographic offloader for Amlogic GXL SoC 5 * Copyright (C) 2018-2019 Corentin Labbe <clabbe@baylibre.com> 7 * Core file which registers crypto algorithms supported by the hardware. 10 #include <crypto/engine.h> 11 #include <crypto/internal/skcipher.h> 13 #include <linux/dma-mapping.h> 23 #include "amlogic-gxl.h" 32 if (mc->irqs[flow] == irq) { in meson_irq_handler() 33 p = readl(mc->base + ((0x04 + flow) << 2)); in meson_irq_handler() [all …]
|
/Linux-v6.6/drivers/crypto/hisilicon/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 4 tristate "Support for Hisilicon SEC crypto block cipher accelerator" 12 Support for Hisilicon SEC Engine in Hip06 and Hip07 18 tristate "Support for HiSilicon SEC2 crypto block cipher accelerator" 35 Support for HiSilicon SEC Engine of version 2 in crypto subsystem. 50 interface. Specific engine driver may use this module. 75 Support for HiSilicon HPRE(High Performance RSA Engine)
|
/Linux-v6.6/Documentation/powerpc/ |
D | vas-api.rst | 1 .. SPDX-License-Identifier: GPL-2.0 2 .. _VAS-API: 12 allows both userspace and kernel communicate to co-processor 14 unit comprises of one or more hardware engines or co-processor types 16 userspace applications will have access to only GZIP Compression engine 21 Requests to the GZIP engine must be formatted as a co-processor Request 24 the engine's request queue. 26 The GZIP engine provides two priority levels of requests: Normal and 37 Application access to the GZIP engine is provided through 38 /dev/crypto/nx-gzip device node implemented by the VAS/NX device driver. [all …]
|
/Linux-v6.6/drivers/crypto/intel/keembay/ |
D | keembay-ocs-ecc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Intel Keem Bay OCS ECC Crypto Driver. 5 * Copyright (C) 2019-2021 Intel Corporation 10 #include <crypto/ecc_curve.h> 11 #include <crypto/ecdh.h> 12 #include <crypto/engine.h> 13 #include <crypto/internal/ecc.h> 14 #include <crypto/internal/kpp.h> 15 #include <crypto/kpp.h> 16 #include <crypto/rng.h> [all …]
|
/Linux-v6.6/drivers/crypto/allwinner/sun8i-ss/ |
D | sun8i-ss.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * sun8i-ss.h - hardware cryptographic offloader for 6 * Copyright (C) 2016-2019 Corentin LABBE <clabbe.montjoie@gmail.com> 8 #include <crypto/aes.h> 9 #include <crypto/des.h> 10 #include <crypto/engine.h> 11 #include <crypto/rng.h> 12 #include <crypto/skcipher.h> 15 #include <linux/crypto.h> 16 #include <crypto/internal/hash.h> [all …]
|
/Linux-v6.6/drivers/crypto/gemini/ |
D | sl3516-ce.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * sl3516-ce.h - hardware cryptographic offloader for cortina/gemini SoC 8 * Called either Crypto Acceleration Engine Module, Security Acceleration Engine 9 * or IPSEC module in the datasheet, it will be called Crypto Engine for short 16 #include <crypto/aes.h> 17 #include <crypto/engine.h> 18 #include <crypto/scatterwalk.h> 19 #include <crypto/skcipher.h> 90 * struct sl3516_ce_descriptor - descriptor for CE operations 100 * struct desc_frame_ctrl - Information for the current descriptor [all …]
|