| /linux/drivers/crypto/stm32/ |
| H A D | stm32-cryp.c | 5 * Ux500 support taken from snippets in the old Ux500 cryp driver 31 #define DRIVER_NAME "stm32-cryp" 180 struct stm32_cryp *cryp; member 244 static inline bool is_aes(struct stm32_cryp *cryp) in is_aes() argument 246 return cryp->flags & FLG_AES; in is_aes() 249 static inline bool is_des(struct stm32_cryp *cryp) in is_des() argument 251 return cryp->flags & FLG_DES; in is_des() 254 static inline bool is_tdes(struct stm32_cryp *cryp) in is_tdes() argument 256 return cryp->flags & FLG_TDES; in is_tdes() 259 static inline bool is_ecb(struct stm32_cryp *cryp) in is_ecb() argument [all …]
|
| H A D | Kconfig | 18 tristate "Support for STM32 cryp accelerators" 24 This enables support for the CRYP (AES/DES/TDES) hw accelerator which
|
| H A D | Makefile | 3 obj-$(CONFIG_CRYPTO_DEV_STM32_CRYP) += stm32-cryp.o
|
| /linux/drivers/crypto/starfive/ |
| H A D | jh7110-hash.c | 12 #include "jh7110-cryp.h" 39 static inline int starfive_hash_wait_busy(struct starfive_cryp_dev *cryp) in starfive_hash_wait_busy() argument 43 return readl_relaxed_poll_timeout(cryp->base + STARFIVE_HASH_SHACSR, status, in starfive_hash_wait_busy() 47 static inline int starfive_hash_wait_hmac_done(struct starfive_cryp_dev *cryp) in starfive_hash_wait_hmac_done() argument 51 return readl_relaxed_poll_timeout(cryp->base + STARFIVE_HASH_SHACSR, status, in starfive_hash_wait_hmac_done() 57 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_hash_wait_key_done() local 60 return readl_relaxed_poll_timeout(cryp->base + STARFIVE_HASH_SHACSR, status, in starfive_hash_wait_key_done() 67 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_hash_hmac_key() local 72 writel(ctx->keylen, cryp->base + STARFIVE_HASH_SHAWKLEN); in starfive_hash_hmac_key() 77 writel(rctx->csr.hash.v, cryp->base + STARFIVE_HASH_SHACSR); in starfive_hash_hmac_key() [all …]
|
| H A D | Makefile | 4 jh7110-crypto-objs := jh7110-cryp.o jh7110-hash.o jh7110-rsa.o jh7110-aes.o
|
| /linux/Documentation/devicetree/bindings/crypto/ |
| H A D | st,stm32-cryp.yaml | 4 $id: http://devicetree.org/schemas/crypto/st,stm32-cryp.yaml# 7 title: STMicroelectronics STM32 CRYP 9 description: The STM32 CRYP block is built on the CRYP block found in 19 - st,stn8820-cryp 20 - stericsson,ux500-cryp 21 - st,stm32f756-cryp 22 - st,stm32mp1-cryp 66 cryp@54001000 { 67 compatible = "st,stm32mp1-cryp";
|
| /linux/arch/arm/boot/dts/st/ |
| H A D | stm32mp13xc.dtsi | 8 cryp: crypto@54002000 { label 9 compatible = "st,stm32mp1-cryp";
|
| H A D | stm32mp15xc.dtsi | 8 cryp1: cryp@54001000 { 9 compatible = "st,stm32mp1-cryp";
|
| H A D | stm32mp13xf.dtsi | 8 cryp: crypto@54002000 { label 9 compatible = "st,stm32mp1-cryp";
|
| H A D | stm32mp15xf.dtsi | 8 cryp1: cryp@54001000 { 9 compatible = "st,stm32mp1-cryp";
|
| H A D | ste-dbx5x0.dtsi | 1223 cryp@a03cb000 { 1224 compatible = "stericsson,ux500-cryp";
|
| /linux/drivers/clk/ |
| H A D | clk-stm32f4.c | 91 { STM32F4_RCC_AHB2ENR, 4, "cryp", "ahb_div" }, 170 { STM32F4_RCC_AHB2ENR, 4, "cryp", "ahb_div" }, 251 { STM32F4_RCC_AHB2ENR, 4, "cryp", "ahb_div" }, 326 { STM32F4_RCC_AHB2ENR, 4, "cryp", "ahb_div" },
|
| /linux/arch/arm/boot/dts/mediatek/ |
| H A D | mt7623.dtsi | 1005 clock-names = "cryp";
|
| /linux/drivers/clk/stm32/ |
| H A D | clk-stm32mp21.c | 461 /* CRYP */
|
| H A D | clk-stm32mp25.c | 557 /* CRYP */
|