crypto: starfive - Add RSA algo support
authorJia Jie Ho <jiajie.ho@starfivetech.com>
Mon, 12 Jun 2023 08:52:30 +0000 (16:52 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 23 Jun 2023 08:15:36 +0000 (16:15 +0800)
commit445a4aaf5842073e4130b1d6dbe3785284d9615f
treebd1b79bee2589ca5d1d5ef234ff80d4c0e262187
parentdf12284ad3dc1db11bdc784265a4947d3db29c06
crypto: starfive - Add RSA algo support

Adding RSA enc/dec and sign/verify feature for StarFive cryptographic
module. The module only supports mod sizes up to 2048, therefore
calculations more than that will use fallback algo.

Co-developed-by: Huan Feng <huan.feng@starfivetech.com>
Signed-off-by: Huan Feng <huan.feng@starfivetech.com>
Signed-off-by: Jia Jie Ho <jiajie.ho@starfivetech.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/starfive/Kconfig
drivers/crypto/starfive/Makefile
drivers/crypto/starfive/jh7110-cryp.c
drivers/crypto/starfive/jh7110-cryp.h
drivers/crypto/starfive/jh7110-rsa.c [new file with mode: 0644]