Home
last modified time | relevance | path

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

/linux/drivers/crypto/stm32/
H A Dstm32-cryp.c5 * 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 DKconfig18 tristate "Support for STM32 cryp accelerators"
24 This enables support for the CRYP (AES/DES/TDES) hw accelerator which
H A DMakefile3 obj-$(CONFIG_CRYPTO_DEV_STM32_CRYP) += stm32-cryp.o
/linux/drivers/crypto/starfive/
H A Djh7110-hash.c12 #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 DMakefile4 jh7110-crypto-objs := jh7110-cryp.o jh7110-hash.o jh7110-rsa.o jh7110-aes.o
/linux/Documentation/devicetree/bindings/crypto/
H A Dst,stm32-cryp.yaml4 $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 Dstm32mp13xc.dtsi8 cryp: crypto@54002000 { label
9 compatible = "st,stm32mp1-cryp";
H A Dstm32mp15xc.dtsi8 cryp1: cryp@54001000 {
9 compatible = "st,stm32mp1-cryp";
H A Dstm32mp13xf.dtsi8 cryp: crypto@54002000 { label
9 compatible = "st,stm32mp1-cryp";
H A Dstm32mp15xf.dtsi8 cryp1: cryp@54001000 {
9 compatible = "st,stm32mp1-cryp";
H A Dste-dbx5x0.dtsi1223 cryp@a03cb000 {
1224 compatible = "stericsson,ux500-cryp";
/linux/drivers/clk/
H A Dclk-stm32f4.c91 { 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 Dmt7623.dtsi1005 clock-names = "cryp";
/linux/drivers/clk/stm32/
H A Dclk-stm32mp21.c461 /* CRYP */
H A Dclk-stm32mp25.c557 /* CRYP */