Home
last modified time | relevance | path

Searched defs:cryp (Results 1 – 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/drivers/crypto/stm32/
Dstm32-cryp.c116 struct stm32_cryp *cryp; member
167 static inline bool is_aes(struct stm32_cryp *cryp) in is_aes()
172 static inline bool is_des(struct stm32_cryp *cryp) in is_des()
177 static inline bool is_tdes(struct stm32_cryp *cryp) in is_tdes()
182 static inline bool is_ecb(struct stm32_cryp *cryp) in is_ecb()
187 static inline bool is_cbc(struct stm32_cryp *cryp) in is_cbc()
192 static inline bool is_ctr(struct stm32_cryp *cryp) in is_ctr()
197 static inline bool is_gcm(struct stm32_cryp *cryp) in is_gcm()
202 static inline bool is_ccm(struct stm32_cryp *cryp) in is_ccm()
207 static inline bool is_encrypt(struct stm32_cryp *cryp) in is_encrypt()
[all …]
/kernel/linux/linux-6.6/drivers/crypto/starfive/
Djh7110-aes.c52 static inline int starfive_aes_wait_busy(struct starfive_cryp_dev *cryp) in starfive_aes_wait_busy()
60 static inline int starfive_aes_wait_keydone(struct starfive_cryp_dev *cryp) in starfive_aes_wait_keydone()
68 static inline int starfive_aes_wait_gcmdone(struct starfive_cryp_dev *cryp) in starfive_aes_wait_gcmdone()
76 static inline int is_gcm(struct starfive_cryp_dev *cryp) in is_gcm()
81 static inline int is_encrypt(struct starfive_cryp_dev *cryp) in is_encrypt()
88 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_aead_hw_start() local
108 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_set_ivlen() local
118 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_set_alen() local
126 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_set_mlen() local
143 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_write_iv() local
[all …]
Djh7110-cryp.c39 struct starfive_cryp_dev *cryp = NULL, *tmp; in starfive_cryp_find_dev() local
64 static int starfive_dma_init(struct starfive_cryp_dev *cryp) in starfive_dma_init()
86 static void starfive_dma_cleanup(struct starfive_cryp_dev *cryp) in starfive_dma_cleanup()
96 struct starfive_cryp_dev *cryp = (struct starfive_cryp_dev *)priv; in starfive_cryp_irq() local
123 struct starfive_cryp_dev *cryp; in starfive_cryp_probe() local
238 struct starfive_cryp_dev *cryp = platform_get_drvdata(pdev); in starfive_cryp_remove() local
Djh7110-hash.c41 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_hash_wait_busy() local
50 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_hash_wait_key_done() local
60 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_hash_hmac_key() local
91 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_hash_start() local
116 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_hash_xmit_dma() local
171 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_hash_xmit() local
219 struct starfive_cryp_dev *cryp = (struct starfive_cryp_dev *)param; in starfive_hash_done_task() local
263 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_hash_one_request() local
360 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_hash_digest() local
Djh7110-rsa.c44 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_pka_wait_done() local
52 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_pka_irq_mask_clear() local
91 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_rsa_montgomery_form() local
192 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_rsa_cpu_start() local
273 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_rsa_enc_core() local
314 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_rsa_enc() local
345 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_rsa_dec() local
Djh7110-cryp.h154 struct starfive_cryp_dev *cryp; member
/kernel/linux/linux-6.6/drivers/crypto/stm32/
Dstm32-cryp.c162 struct stm32_cryp *cryp; member
213 static inline bool is_aes(struct stm32_cryp *cryp) in is_aes()
218 static inline bool is_des(struct stm32_cryp *cryp) in is_des()
223 static inline bool is_tdes(struct stm32_cryp *cryp) in is_tdes()
228 static inline bool is_ecb(struct stm32_cryp *cryp) in is_ecb()
233 static inline bool is_cbc(struct stm32_cryp *cryp) in is_cbc()
238 static inline bool is_ctr(struct stm32_cryp *cryp) in is_ctr()
243 static inline bool is_gcm(struct stm32_cryp *cryp) in is_gcm()
248 static inline bool is_ccm(struct stm32_cryp *cryp) in is_ccm()
253 static inline bool is_encrypt(struct stm32_cryp *cryp) in is_encrypt()
[all …]
/kernel/linux/linux-5.10/drivers/crypto/mediatek/
Dmtk-platform.c120 static void mtk_desc_ring_link(struct mtk_cryp *cryp, u32 mask) in mtk_desc_ring_link()
127 static void mtk_dfe_dse_buf_setup(struct mtk_cryp *cryp, in mtk_dfe_dse_buf_setup()
162 static int mtk_dfe_dse_state_check(struct mtk_cryp *cryp) in mtk_dfe_dse_state_check()
186 static int mtk_dfe_dse_reset(struct mtk_cryp *cryp) in mtk_dfe_dse_reset()
204 static void mtk_cmd_desc_ring_setup(struct mtk_cryp *cryp, in mtk_cmd_desc_ring_setup()
245 static void mtk_res_desc_ring_setup(struct mtk_cryp *cryp, in mtk_res_desc_ring_setup()
295 static int mtk_packet_engine_setup(struct mtk_cryp *cryp) in mtk_packet_engine_setup()
349 static int mtk_aic_cap_check(struct mtk_cryp *cryp, int hw) in mtk_aic_cap_check()
374 static int mtk_aic_init(struct mtk_cryp *cryp, int hw) in mtk_aic_init()
398 static int mtk_accelerator_init(struct mtk_cryp *cryp) in mtk_accelerator_init()
[all …]
Dmtk-aes.c107 struct mtk_cryp *cryp; member
153 static inline u32 mtk_aes_read(struct mtk_cryp *cryp, u32 offset) in mtk_aes_read()
158 static inline void mtk_aes_write(struct mtk_cryp *cryp, in mtk_aes_write()
166 struct mtk_cryp *cryp = NULL; in mtk_aes_find_dev() local
245 static inline int mtk_aes_complete(struct mtk_cryp *cryp, in mtk_aes_complete()
260 static int mtk_aes_xmit(struct mtk_cryp *cryp, struct mtk_aes_rec *aes) in mtk_aes_xmit()
322 static void mtk_aes_unmap(struct mtk_cryp *cryp, struct mtk_aes_rec *aes) in mtk_aes_unmap()
354 static int mtk_aes_map(struct mtk_cryp *cryp, struct mtk_aes_rec *aes) in mtk_aes_map()
397 static void mtk_aes_info_init(struct mtk_cryp *cryp, struct mtk_aes_rec *aes, in mtk_aes_info_init()
446 static int mtk_aes_dma(struct mtk_cryp *cryp, struct mtk_aes_rec *aes, in mtk_aes_dma()
[all …]
Dmtk-sha.c105 struct mtk_cryp *cryp; member
127 static inline u32 mtk_sha_read(struct mtk_cryp *cryp, u32 offset) in mtk_sha_read()
132 static inline void mtk_sha_write(struct mtk_cryp *cryp, in mtk_sha_write()
155 struct mtk_cryp *cryp = NULL; in mtk_sha_find_dev() local
320 static int mtk_sha_info_update(struct mtk_cryp *cryp, in mtk_sha_info_update()
421 static int mtk_sha_xmit(struct mtk_cryp *cryp, struct mtk_sha_rec *sha, in mtk_sha_xmit()
468 static int mtk_sha_dma_map(struct mtk_cryp *cryp, in mtk_sha_dma_map()
485 static int mtk_sha_update_slow(struct mtk_cryp *cryp, in mtk_sha_update_slow()
512 static int mtk_sha_update_start(struct mtk_cryp *cryp, in mtk_sha_update_start()
602 static int mtk_sha_final_req(struct mtk_cryp *cryp, in mtk_sha_final_req()
[all …]
Dmtk-platform.h146 struct mtk_cryp *cryp; member
183 struct mtk_cryp *cryp; member
/kernel/linux/linux-6.6/arch/arm/boot/dts/st/
Dstm32mp13xc.dtsi9 cryp: crypto@54002000 { label
Dstm32mp13xf.dtsi9 cryp: crypto@54002000 { label