Searched refs:cryp (Results 1 – 11 of 11) sorted by relevance
/linux/drivers/crypto/starfive/ |
H A D | jh7110-aes.c | 52 static inline int starfive_aes_wait_busy(struct starfive_cryp_dev *cryp) in starfive_aes_wait_busy() argument 56 return readl_relaxed_poll_timeout(cryp->base + STARFIVE_AES_CSR, status, in starfive_aes_wait_busy() 60 static inline int starfive_aes_wait_keydone(struct starfive_cryp_dev *cryp) in starfive_aes_wait_keydone() argument 64 return readl_relaxed_poll_timeout(cryp->base + STARFIVE_AES_CSR, status, in starfive_aes_wait_keydone() 68 static inline int starfive_aes_wait_gcmdone(struct starfive_cryp_dev *cryp) in starfive_aes_wait_gcmdone() argument 72 return readl_relaxed_poll_timeout(cryp->base + STARFIVE_AES_CSR, status, in starfive_aes_wait_gcmdone() 76 static inline int is_gcm(struct starfive_cryp_dev *cryp) in is_gcm() argument 78 return (cryp->flags & FLG_MODE_MASK) == STARFIVE_AES_MODE_GCM; in is_gcm() 81 static inline bool is_encrypt(struct starfive_cryp_dev *cryp) in is_encrypt() argument 83 return cryp->flags & FLG_ENCRYPT; in is_encrypt() [all …]
|
H A D | jh7110-hash.c | 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() 80 writel(*key, cryp->base + STARFIVE_HASH_SHAWKR); 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
|
H A D | jh7110-cryp.h | 162 struct starfive_cryp_dev *cryp; member
|
/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 | ste-dbx5x0.dtsi | 1223 cryp@a03cb000 { 1224 compatible = "stericsson,ux500-cryp";
|
/linux/Documentation/devicetree/bindings/crypto/ |
H A D | mediatek-crypto.txt | 9 - clock-names: Must contain "cryp". 23 clock-names = "cryp";
|
/linux/drivers/crypto/stm32/ |
H A D | Makefile | 4 obj-$(CONFIG_CRYPTO_DEV_STM32_CRYP) += stm32-cryp.o
|
H A D | Kconfig | 27 tristate "Support for STM32 cryp accelerators"
|