Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/crypto/stm32/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/crypto/mediatek/
H A 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 …]
H A 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 …]
H A 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 …]
H A Dmtk-platform.h146 struct mtk_cryp *cryp; member
183 struct mtk_cryp *cryp; member
/OK3568_Linux_fs/external/security/librkcrypto/src/
H A Drkcrypto_core.c484 struct crypt_fd_op cryp; in rk_cipher_crypt() local
527 struct crypt_op cryp; in rk_cipher_crypt_virt() local
821 struct crypt_fd_op cryp; in rk_hash_update() local
847 struct crypt_op cryp; in rk_hash_update_virt() local
874 struct crypt_op cryp; in rk_hash_final() local