Searched refs:starfive_cryp_dev (Results 1 – 5 of 5) sorted by relevance
52 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 bool is_encrypt(struct starfive_cryp_dev *cryp) in is_encrypt()88 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_aead_hw_start()108 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_set_alen()116 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_set_mlen()133 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_write_iv()151 static inline void starfive_aes_get_iv(struct starfive_cryp_dev *cryp, u32 *iv) in starfive_aes_get_iv()[all …]
37 struct starfive_cryp_dev *starfive_cryp_find_dev(struct starfive_cryp_ctx *ctx) in starfive_cryp_find_dev()39 struct starfive_cryp_dev *cryp = NULL, *tmp; in starfive_cryp_find_dev()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()94 struct starfive_cryp_dev *cryp; in starfive_cryp_probe()190 struct starfive_cryp_dev *cryp = platform_get_drvdata(pdev); in starfive_cryp_remove()
39 static inline int starfive_hash_wait_busy(struct starfive_cryp_dev *cryp) 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()57 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_hash_wait_key_done()67 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_hash_hmac_key()94 static void starfive_hash_start(struct starfive_cryp_dev *cryp) in starfive_hash_start()106 struct starfive_cryp_dev *cryp = param; in starfive_hash_dma_callback()111 static void starfive_hash_dma_init(struct starfive_cryp_dev *cryp) in starfive_hash_dma_init()124 static int starfive_hash_dma_xfer(struct starfive_cryp_dev *cryp, in starfive_hash_dma_xfer()185 static void starfive_hash_done_task(struct starfive_cryp_dev *cryp) in starfive_hash_done_task()201 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_hash_one_request()[all …]
162 struct starfive_cryp_dev *cryp;176 struct starfive_cryp_dev { struct228 struct starfive_cryp_dev *starfive_cryp_find_dev(struct starfive_cryp_ctx *ctx); argument
38 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_pka_wait_done()74 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_rsa_montgomery_form()171 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_rsa_cpu_start()250 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_rsa_enc_core()290 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_rsa_enc()321 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_rsa_dec()