Home
last modified time | relevance | path

Searched +full:sl3516 +full:- +full:crypto (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.1/Documentation/devicetree/bindings/crypto/
Dcortina,sl3516-crypto.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/crypto/cortina,sl3516-crypto.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: SL3516 cryptographic offloader driver
10 - Corentin Labbe <clabbe@baylibre.com>
15 - cortina,sl3516-crypto
30 - compatible
31 - reg
32 - interrupts
[all …]
/Linux-v6.1/drivers/crypto/gemini/
Dsl3516-ce-rng.c1 // SPDX-License-Identifier: GPL-2.0
3 * sl3516-ce-rng.c - hardware cryptographic offloader for SL3516 SoC.
7 * This file handle the RNG found in the SL3516 crypto engine
9 #include "sl3516-ce.h"
23 ce->hwrng_stat_req++; in sl3516_ce_rng_read()
24 ce->hwrng_stat_bytes += max; in sl3516_ce_rng_read()
27 err = pm_runtime_get_sync(ce->dev); in sl3516_ce_rng_read()
29 pm_runtime_put_noidle(ce->dev); in sl3516_ce_rng_read()
34 *data = readl(ce->base + IPSEC_RAND_NUM_REG); in sl3516_ce_rng_read()
39 pm_runtime_put(ce->dev); in sl3516_ce_rng_read()
[all …]
Dsl3516-ce-core.c1 // SPDX-License-Identifier: GPL-2.0
3 * sl3516-ce-core.c - hardware cryptographic offloader for Storlink SL3516 SoC
7 * Core file which registers crypto algorithms supported by the CryptoEngine
10 #include <linux/crypto.h>
13 #include <linux/dma-mapping.h>
23 #include <crypto/internal/rng.h>
24 #include <crypto/internal/skcipher.h>
26 #include "sl3516-ce.h"
33 ce->tx = dma_alloc_coherent(ce->dev, sz, &ce->dtx, GFP_KERNEL); in sl3516_ce_desc_init()
34 if (!ce->tx) in sl3516_ce_desc_init()
[all …]
Dsl3516-ce-cipher.c1 // SPDX-License-Identifier: GPL-2.0
3 * sl3516-ce-cipher.c - hardware cryptographic offloader for Storlink SL3516 SoC
11 #include <linux/crypto.h>
12 #include <linux/dma-mapping.h>
16 #include <crypto/scatterwalk.h>
17 #include <crypto/internal/skcipher.h>
18 #include "sl3516-ce.h"
20 /* sl3516_ce_need_fallback - check if a request can be handled by the CE */
25 struct sl3516_ce_dev *ce = op->ce; in sl3516_ce_need_fallback()
30 if (areq->cryptlen == 0 || areq->cryptlen % 16) { in sl3516_ce_need_fallback()
[all …]
Dsl3516-ce.h1 /* 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>
20 #include <linux/crypto.h>
91 * struct sl3516_ce_descriptor - descriptor for CE operations
[all …]
/Linux-v6.1/drivers/crypto/
DKconfig1 # 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
39 called padlock-aes.
53 called padlock-sha.
61 Say 'Y' here to use the AMD Geode LX processor on-board AES
65 will be called geode-aes.
74 + Crypto Express 2 up to 7 Coprocessor (CEXxC)
[all …]
/Linux-v6.1/arch/arm/boot/dts/
Dgemini.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/clock/cortina,gemini-clock.h>
8 #include <dt-bindings/reset/cortina,gemini-reset.h>
9 #include <dt-bindings/gpio/gpio.h>
13 #address-cells = <1>;
14 #size-cells = <1>;
16 compatible = "simple-bus";
17 interrupt-parent = <&intcon>;
20 compatible = "cortina,gemini-flash", "cfi-flash";
[all …]