Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/crypto/starfive/
Djh7110-rsa.c296 akcipher_request_set_tfm(req, ctx->akcipher_fbk); in starfive_rsa_enc()
327 akcipher_request_set_tfm(req, ctx->akcipher_fbk); in starfive_rsa_dec()
508 ret = crypto_akcipher_set_pub_key(ctx->akcipher_fbk, key, keylen); in starfive_rsa_set_pub_key()
521 ret = crypto_akcipher_set_priv_key(ctx->akcipher_fbk, key, keylen); in starfive_rsa_set_priv_key()
535 return crypto_akcipher_maxsize(ctx->akcipher_fbk); in starfive_rsa_max_size()
546 ctx->akcipher_fbk = crypto_alloc_akcipher("rsa-generic", 0, 0); in starfive_rsa_init_tfm()
547 if (IS_ERR(ctx->akcipher_fbk)) in starfive_rsa_init_tfm()
548 return PTR_ERR(ctx->akcipher_fbk); in starfive_rsa_init_tfm()
561 crypto_free_akcipher(ctx->akcipher_fbk); in starfive_rsa_exit_tfm()
Djh7110-cryp.h170 struct crypto_akcipher *akcipher_fbk; member