Searched defs:cryp (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/drivers/crypto/stm32/ |
D | stm32-cryp.c | 116 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-5.10/drivers/crypto/mediatek/ |
D | mtk-platform.c | 120 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 …]
|
D | mtk-aes.c | 107 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 …]
|
D | mtk-sha.c | 105 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 …]
|
D | mtk-platform.h | 146 struct mtk_cryp *cryp; member 183 struct mtk_cryp *cryp; member
|