Lines Matching refs:starfive_cryp_ctx
36 static inline int starfive_pka_wait_done(struct starfive_cryp_ctx *ctx) in starfive_pka_wait_done()
70 static int starfive_rsa_montgomery_form(struct starfive_cryp_ctx *ctx, in starfive_rsa_montgomery_form()
168 static int starfive_rsa_cpu_start(struct starfive_cryp_ctx *ctx, u32 *result, in starfive_rsa_cpu_start()
242 static int starfive_rsa_start(struct starfive_cryp_ctx *ctx, u8 *result, in starfive_rsa_start()
248 static int starfive_rsa_enc_core(struct starfive_cryp_ctx *ctx, int enc) in starfive_rsa_enc_core()
289 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_enc()
320 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_dec()
454 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_setkey()
505 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_set_pub_key()
518 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_set_priv_key()
530 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_max_size()
540 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_init_tfm()
558 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_exit_tfm()
582 .cra_ctxsize = sizeof(struct starfive_cryp_ctx),