Lines Matching defs: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() local
341 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_dec() local
475 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_setkey() local
526 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_set_pub_key() local
539 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_set_priv_key() local
551 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_max_size() local
561 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_init_tfm() local
581 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_exit_tfm() local