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

From: Jia Jie Ho
Date: Mon Jun 12 2023 - 04:55:14 EST


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