Home
last modified time | relevance | path

Searched full:cryp (Results 1 – 21 of 21) sorted by relevance

/Linux-v5.15/drivers/crypto/stm32/
Dstm32-cryp.c24 #define DRIVER_NAME "stm32-cryp"
108 #define _walked_in (cryp->in_walk.offset - cryp->in_sg->offset)
109 #define _walked_out (cryp->out_walk.offset - cryp->out_sg->offset)
119 struct stm32_cryp *cryp; member
180 static inline bool is_aes(struct stm32_cryp *cryp) in is_aes() argument
182 return cryp->flags & FLG_AES; in is_aes()
185 static inline bool is_des(struct stm32_cryp *cryp) in is_des() argument
187 return cryp->flags & FLG_DES; in is_des()
190 static inline bool is_tdes(struct stm32_cryp *cryp) in is_tdes() argument
192 return cryp->flags & FLG_TDES; in is_tdes()
[all …]
DKconfig25 tristate "Support for STM32 cryp accelerators"
31 This enables support for the CRYP (AES/DES/TDES) hw accelerator which
DMakefile4 obj-$(CONFIG_CRYPTO_DEV_STM32_CRYP) += stm32-cryp.o
/Linux-v5.15/drivers/crypto/ux500/cryp/
Dcryp.h21 /* CRYP enable/disable */
27 /* CRYP Start Computation enable/disable */
33 /* CRYP Init Signal enable/disable */
39 /* Cryp State enable/disable */
68 /* Cryp Encryption or Decryption */
85 * @algodir: Cryp Encryption or Decryption
87 * CRYP configuration structure to be passed to set configuration
97 * @privilege_access: Privileged cryp state enable/disable
98 * @secure_access: Secure cryp state enable/disable
107 /* Cryp status */
[all …]
Dcryp_p.h17 #include "cryp.h"
38 * CRYP specific Macros
52 * CRYP register default values
66 * CRYP Control register specific mask
110 * CRYP PCRs------PC_NAND control register
118 /* CRYP Register structure */
Dcryp_irqp.h18 * CRYP Registers - Offset mapping
73 * @periphId0 - FE0 CRYP Peripheral Identication Register
77 * @pcellId0 - FF0 CRYP PCell Identication Register
114 u32 periphId0; /* FE0 CRYP Peripheral Identication Register */
119 u32 pcellId0; /* FF0 CRYP PCell Identication Register */
Dcryp.c16 #include "cryp.h"
43 /* Check Peripheral and Pcell Id Register for CRYP */ in cryp_check()
105 * cryp_set_configuration - This routine set the cr CRYP IP
159 * cryp_configure_protection - set the protection bits in the CRYP logic.
182 * cryp_is_logic_busy - returns the busy status of the CRYP logic
192 * cryp_configure_for_dma - configures the CRYP IP for DMA operation
204 * cryp_configure_key_values - configures the key values for CRYP operations
DMakefile10 ux500_cryp-objs := cryp.o cryp_irq.o cryp_core.o
Dcryp_irq.h14 #include "cryp.h"
Dcryp_irq.c15 #include "cryp.h"
Dcryp_core.c40 #include "cryp.h"
1301 /* Enable power for CRYP hardware block */ in ux500_cryp_probe()
1304 dev_err(dev, "[%s]: could not get cryp regulator", __func__); in ux500_cryp_probe()
1310 /* Enable the clk for CRYP hardware block */ in ux500_cryp_probe()
1461 dev_dbg(&pdev->dev, "[%s]: Cryp still in use!" in ux500_cryp_shutdown()
1572 { .compatible = "stericsson,ux500-cryp" },
1608 MODULE_DESCRIPTION("Driver for ST-Ericsson UX500 CRYP crypto engine.");
/Linux-v5.15/Documentation/devicetree/bindings/crypto/
Dst,stm32-cryp.yaml4 $id: http://devicetree.org/schemas/crypto/st,stm32-cryp.yaml#
7 title: STMicroelectronics STM32 CRYP bindings
15 - st,stm32f756-cryp
16 - st,stm32mp1-cryp
43 cryp@54001000 {
44 compatible = "st,stm32mp1-cryp";
Dmediatek-crypto.txt9 - clock-names: Must contain "cryp".
23 clock-names = "cryp";
/Linux-v5.15/arch/arm/boot/dts/
Dstm32mp15xc.dtsi9 cryp1: cryp@54001000 {
10 compatible = "st,stm32mp1-cryp";
Dste-dbx5x0.dtsi1127 cryp@a03cb000 {
1128 compatible = "stericsson,ux500-cryp";
Dmt7623.dtsi962 clock-names = "cryp";
/Linux-v5.15/Documentation/devicetree/bindings/clock/
Dst,stm32-rcc.txt62 /* Gated clock, AHB2 bit 4 (CRYP) */
64 clocks = <&rcc 0 STM32F4_AHB2_CLOCK(CRYP)>
/Linux-v5.15/drivers/crypto/ux500/
DMakefile8 obj-$(CONFIG_CRYPTO_DEV_UX500_CRYP) += cryp/
DKconfig8 tristate "UX500 crypto driver for CRYP block"
/Linux-v5.15/drivers/clk/
Dclk-stm32f4.c81 { STM32F4_RCC_AHB2ENR, 4, "cryp", "ahb_div" },
161 { STM32F4_RCC_AHB2ENR, 4, "cryp", "ahb_div" },
243 { STM32F4_RCC_AHB2ENR, 4, "cryp", "ahb_div" },
319 { STM32F4_RCC_AHB2ENR, 4, "cryp", "ahb_div" },
/Linux-v5.15/drivers/crypto/ux500/hash/
Dhash_core.c1825 dev_dbg(&pdev->dev, "%s: Cryp still in use! Shutting down anyway...\n", in ux500_hash_shutdown()