Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/crypto/stm32/
Dstm32-cryp.c118 struct stm32_cryp *cryp; member
180 static inline bool is_aes(struct stm32_cryp *cryp) in is_aes()
185 static inline bool is_des(struct stm32_cryp *cryp) in is_des()
190 static inline bool is_tdes(struct stm32_cryp *cryp) in is_tdes()
195 static inline bool is_ecb(struct stm32_cryp *cryp) in is_ecb()
200 static inline bool is_cbc(struct stm32_cryp *cryp) in is_cbc()
205 static inline bool is_ctr(struct stm32_cryp *cryp) in is_ctr()
210 static inline bool is_gcm(struct stm32_cryp *cryp) in is_gcm()
215 static inline bool is_ccm(struct stm32_cryp *cryp) in is_ccm()
220 static inline bool is_encrypt(struct stm32_cryp *cryp) in is_encrypt()
[all …]
/Linux-v4.19/drivers/crypto/mediatek/
Dmtk-platform.c124 static void mtk_desc_ring_link(struct mtk_cryp *cryp, u32 mask) in mtk_desc_ring_link()
131 static void mtk_dfe_dse_buf_setup(struct mtk_cryp *cryp, in mtk_dfe_dse_buf_setup()
166 static int mtk_dfe_dse_state_check(struct mtk_cryp *cryp) in mtk_dfe_dse_state_check()
190 static int mtk_dfe_dse_reset(struct mtk_cryp *cryp) in mtk_dfe_dse_reset()
214 static void mtk_cmd_desc_ring_setup(struct mtk_cryp *cryp, in mtk_cmd_desc_ring_setup()
255 static void mtk_res_desc_ring_setup(struct mtk_cryp *cryp, in mtk_res_desc_ring_setup()
305 static int mtk_packet_engine_setup(struct mtk_cryp *cryp) in mtk_packet_engine_setup()
359 static int mtk_aic_cap_check(struct mtk_cryp *cryp, int hw) in mtk_aic_cap_check()
384 static int mtk_aic_init(struct mtk_cryp *cryp, int hw) in mtk_aic_init()
408 static int mtk_accelerator_init(struct mtk_cryp *cryp) in mtk_accelerator_init()
[all …]
Dmtk-aes.c105 struct mtk_cryp *cryp; member
152 static inline u32 mtk_aes_read(struct mtk_cryp *cryp, u32 offset) in mtk_aes_read()
157 static inline void mtk_aes_write(struct mtk_cryp *cryp, in mtk_aes_write()
165 struct mtk_cryp *cryp = NULL; in mtk_aes_find_dev() local
260 static inline int mtk_aes_complete(struct mtk_cryp *cryp, in mtk_aes_complete()
275 static int mtk_aes_xmit(struct mtk_cryp *cryp, struct mtk_aes_rec *aes) in mtk_aes_xmit()
337 static void mtk_aes_unmap(struct mtk_cryp *cryp, struct mtk_aes_rec *aes) in mtk_aes_unmap()
369 static int mtk_aes_map(struct mtk_cryp *cryp, struct mtk_aes_rec *aes) in mtk_aes_map()
412 static void mtk_aes_info_init(struct mtk_cryp *cryp, struct mtk_aes_rec *aes, in mtk_aes_info_init()
456 static int mtk_aes_dma(struct mtk_cryp *cryp, struct mtk_aes_rec *aes, in mtk_aes_dma()
[all …]
Dmtk-sha.c108 struct mtk_cryp *cryp; member
130 static inline u32 mtk_sha_read(struct mtk_cryp *cryp, u32 offset) in mtk_sha_read()
135 static inline void mtk_sha_write(struct mtk_cryp *cryp, in mtk_sha_write()
158 struct mtk_cryp *cryp = NULL; in mtk_sha_find_dev() local
323 static int mtk_sha_info_update(struct mtk_cryp *cryp, in mtk_sha_info_update()
425 static int mtk_sha_xmit(struct mtk_cryp *cryp, struct mtk_sha_rec *sha, in mtk_sha_xmit()
472 static int mtk_sha_dma_map(struct mtk_cryp *cryp, in mtk_sha_dma_map()
489 static int mtk_sha_update_slow(struct mtk_cryp *cryp, in mtk_sha_update_slow()
516 static int mtk_sha_update_start(struct mtk_cryp *cryp, in mtk_sha_update_start()
606 static int mtk_sha_final_req(struct mtk_cryp *cryp, in mtk_sha_final_req()
[all …]
Dmtk-platform.h150 struct mtk_cryp *cryp; member
187 struct mtk_cryp *cryp; member