Lines Matching refs:starfive_cryp_ctx
43 static inline int starfive_pka_wait_done(struct starfive_cryp_ctx *ctx) in starfive_pka_wait_done()
51 static inline void starfive_pka_irq_mask_clear(struct starfive_cryp_ctx *ctx) in starfive_pka_irq_mask_clear()
88 static int starfive_rsa_montgomery_form(struct starfive_cryp_ctx *ctx, in starfive_rsa_montgomery_form()
190 static int starfive_rsa_cpu_start(struct starfive_cryp_ctx *ctx, u32 *result, in starfive_rsa_cpu_start()
266 static int starfive_rsa_start(struct starfive_cryp_ctx *ctx, u8 *result, in starfive_rsa_start()
272 static int starfive_rsa_enc_core(struct starfive_cryp_ctx *ctx, int enc) in starfive_rsa_enc_core()
309 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_enc()
341 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_dec()
475 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_setkey()
526 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_set_pub_key()
539 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_set_priv_key()
551 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_max_size()
561 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_init_tfm()
581 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_exit_tfm()
605 .cra_ctxsize = sizeof(struct starfive_cryp_ctx),