diff options
author | Hal Feng <hal.feng@starfivetech.com> | 2024-03-05 06:00:21 +0300 |
---|---|---|
committer | Hal Feng <hal.feng@starfivetech.com> | 2024-03-05 10:18:33 +0300 |
commit | 30cf034fcb5a80ecc28fdaf71978dac8218d4ded (patch) | |
tree | bc4efedaa00bfe3f0cb774a7873d44d7a78c6d4b | |
parent | 57dbc946149c5e0baad1018a45d6c04299fdff85 (diff) | |
download | linux-30cf034fcb5a80ecc28fdaf71978dac8218d4ded.tar.xz |
crypto: jh7110: Comment RSA algo register
There are some issues in RSA algo, which will cause kernel crash.
So comment RSA algo register temporarily.
This commit should be reverted after the RSA issues are fixed.
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
-rw-r--r-- | drivers/crypto/starfive/jh7110-cryp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/crypto/starfive/jh7110-cryp.c b/drivers/crypto/starfive/jh7110-cryp.c index 425fddf3a8ab..a539cc6ca7af 100644 --- a/drivers/crypto/starfive/jh7110-cryp.c +++ b/drivers/crypto/starfive/jh7110-cryp.c @@ -194,14 +194,14 @@ static int starfive_cryp_probe(struct platform_device *pdev) if (ret) goto err_algs_hash; - ret = starfive_rsa_register_algs(); - if (ret) - goto err_algs_rsa; +// ret = starfive_rsa_register_algs(); +// if (ret) +// goto err_algs_rsa; return 0; -err_algs_rsa: - starfive_hash_unregister_algs(); +// err_algs_rsa: +// starfive_hash_unregister_algs(); err_algs_hash: starfive_aes_unregister_algs(); err_algs_aes: |