Lines Matching refs:aspeed_acry_ctx

112 struct aspeed_acry_ctx {  struct
149 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(cipher); in aspeed_acry_do_fallback() argument
167 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(cipher); in aspeed_acry_need_fallback()
187 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(cipher); in aspeed_acry_do_request()
351 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(cipher); in aspeed_acry_rsa_trigger()
416 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(cipher); in aspeed_acry_rsa_enc()
428 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(cipher); in aspeed_acry_rsa_dec()
442 static int aspeed_rsa_set_n(struct aspeed_acry_ctx *ctx, u8 *value, in aspeed_rsa_set_n()
453 static int aspeed_rsa_set_e(struct aspeed_acry_ctx *ctx, u8 *value, in aspeed_rsa_set_e()
464 static int aspeed_rsa_set_d(struct aspeed_acry_ctx *ctx, u8 *value, in aspeed_rsa_set_d()
475 static void aspeed_rsa_key_free(struct aspeed_acry_ctx *ctx) in aspeed_rsa_key_free()
488 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(tfm); in aspeed_acry_rsa_setkey()
536 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(tfm); in aspeed_acry_rsa_set_pub_key()
550 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(tfm); in aspeed_acry_rsa_set_priv_key()
562 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(tfm); in aspeed_acry_rsa_max_size()
572 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(tfm); in aspeed_acry_rsa_init_tfm()
594 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(tfm); in aspeed_acry_rsa_exit_tfm()
620 .cra_ctxsize = sizeof(struct aspeed_acry_ctx),