[PATCH v3 0/2] crypto: starfive - Add RSA algo to drivers

Jia Jie Ho posted 2 patches 2 years, 8 months ago
drivers/crypto/starfive/Kconfig       |   1 +
drivers/crypto/starfive/Makefile      |   2 +-
drivers/crypto/starfive/jh7110-cryp.c |  20 +-
drivers/crypto/starfive/jh7110-cryp.h |  45 ++
drivers/crypto/starfive/jh7110-hash.c |   9 +-
drivers/crypto/starfive/jh7110-rsa.c  | 617 ++++++++++++++++++++++++++
6 files changed, 691 insertions(+), 3 deletions(-)
create mode 100644 drivers/crypto/starfive/jh7110-rsa.c
[PATCH v3 0/2] crypto: starfive - Add RSA algo to drivers
Posted by Jia Jie Ho 2 years, 8 months ago
This patch series adds RSA support to VisionFive 2 SoCs. Patch 1 updates
current irq handling of hash module to prevent conflict among other
crypto modules. Patch 2 adds RSA algo to crypto engine drivers.

Changes v2 -> v3:
 - Rearranged irq mask clear sequence to prevent spurious interrupt
   from completing pka_done prematurely (Herbert)

Changes v1 -> v2:
 - Removed ASYNC flag (Herbert)

Jia Jie Ho (2):
  crypto: starfive - Update hash module irq handling
  crypto: starfive - Add RSA algo support

 drivers/crypto/starfive/Kconfig       |   1 +
 drivers/crypto/starfive/Makefile      |   2 +-
 drivers/crypto/starfive/jh7110-cryp.c |  20 +-
 drivers/crypto/starfive/jh7110-cryp.h |  45 ++
 drivers/crypto/starfive/jh7110-hash.c |   9 +-
 drivers/crypto/starfive/jh7110-rsa.c  | 617 ++++++++++++++++++++++++++
 6 files changed, 691 insertions(+), 3 deletions(-)
 create mode 100644 drivers/crypto/starfive/jh7110-rsa.c

-- 
2.34.1
Re: [PATCH v3 0/2] crypto: starfive - Add RSA algo to drivers
Posted by Herbert Xu 2 years, 7 months ago
On Mon, Jun 12, 2023 at 04:52:28PM +0800, Jia Jie Ho wrote:
> This patch series adds RSA support to VisionFive 2 SoCs. Patch 1 updates
> current irq handling of hash module to prevent conflict among other
> crypto modules. Patch 2 adds RSA algo to crypto engine drivers.
> 
> Changes v2 -> v3:
>  - Rearranged irq mask clear sequence to prevent spurious interrupt
>    from completing pka_done prematurely (Herbert)
> 
> Changes v1 -> v2:
>  - Removed ASYNC flag (Herbert)
> 
> Jia Jie Ho (2):
>   crypto: starfive - Update hash module irq handling
>   crypto: starfive - Add RSA algo support
> 
>  drivers/crypto/starfive/Kconfig       |   1 +
>  drivers/crypto/starfive/Makefile      |   2 +-
>  drivers/crypto/starfive/jh7110-cryp.c |  20 +-
>  drivers/crypto/starfive/jh7110-cryp.h |  45 ++
>  drivers/crypto/starfive/jh7110-hash.c |   9 +-
>  drivers/crypto/starfive/jh7110-rsa.c  | 617 ++++++++++++++++++++++++++
>  6 files changed, 691 insertions(+), 3 deletions(-)
>  create mode 100644 drivers/crypto/starfive/jh7110-rsa.c
> 
> -- 
> 2.34.1

All applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt