Home
last modified time | relevance | path

Searched refs:akcipher_fbk (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/crypto/starfive/
Djh7110-rsa.c316 akcipher_request_set_tfm(req, ctx->akcipher_fbk); in starfive_rsa_enc()
348 akcipher_request_set_tfm(req, ctx->akcipher_fbk); in starfive_rsa_dec()
529 ret = crypto_akcipher_set_pub_key(ctx->akcipher_fbk, key, keylen); in starfive_rsa_set_pub_key()
542 ret = crypto_akcipher_set_priv_key(ctx->akcipher_fbk, key, keylen); in starfive_rsa_set_priv_key()
556 return crypto_akcipher_maxsize(ctx->akcipher_fbk); in starfive_rsa_max_size()
563 ctx->akcipher_fbk = crypto_alloc_akcipher("rsa-generic", 0, 0); in starfive_rsa_init_tfm()
564 if (IS_ERR(ctx->akcipher_fbk)) in starfive_rsa_init_tfm()
565 return PTR_ERR(ctx->akcipher_fbk); in starfive_rsa_init_tfm()
569 crypto_free_akcipher(ctx->akcipher_fbk); in starfive_rsa_init_tfm()
584 crypto_free_akcipher(ctx->akcipher_fbk); in starfive_rsa_exit_tfm()
Djh7110-cryp.h161 struct crypto_akcipher *akcipher_fbk; member