Searched refs:akcipher_fbk (Results 1 – 2 of 2) sorted by relevance
320 akcipher_request_set_tfm(req, ctx->akcipher_fbk); in starfive_rsa_enc()351 akcipher_request_set_tfm(req, ctx->akcipher_fbk); in starfive_rsa_dec()532 ret = crypto_akcipher_set_pub_key(ctx->akcipher_fbk, key, keylen); in starfive_rsa_set_pub_key()545 ret = crypto_akcipher_set_priv_key(ctx->akcipher_fbk, key, keylen); in starfive_rsa_set_priv_key()559 return crypto_akcipher_maxsize(ctx->akcipher_fbk); in starfive_rsa_max_size()566 ctx->akcipher_fbk = crypto_alloc_akcipher("rsa-generic", 0, 0); in starfive_rsa_init_tfm()567 if (IS_ERR(ctx->akcipher_fbk)) in starfive_rsa_init_tfm()568 return PTR_ERR(ctx->akcipher_fbk); in starfive_rsa_init_tfm()572 crypto_free_akcipher(ctx->akcipher_fbk); in starfive_rsa_init_tfm()587 crypto_free_akcipher(ctx->akcipher_fbk); in starfive_rsa_exit_tfm()
162 struct crypto_akcipher *akcipher_fbk; member