Skip to content

Drivers for Alibaba YCC (Yitian Cryptography Complex) cryptographic accelerator

'Guanjun' linux-crypto lkml llvm oe-kbuild oe-kbuild-all 5 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest posting 2/29 patches 0 repliesNew
  2. v3 posting 1/29 patches 1 replySuperseded
  3. v29 patches 2 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v1 posting 2/29 patches4 repliesSuperseded
v1 posting 1/29 patches4 repliesSuperseded

Changes in v3 from the cover letter

- [*/09] Fix compile warnings when sparse turned on

Patches in v3 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9crypto/ycc: Add YCC (Yitian Cryptography Complex) accelerator driverdrivers/crypto/Kconfig drivers/crypto/Makefile drivers/crypto/ycc/Kconfig +5 more+735 -00 replies
2/9crypto/ycc: Add ycc ring configurationdrivers/crypto/ycc/Makefile drivers/crypto/ycc/ycc_dev.h drivers/crypto/ycc/ycc_drv.c +4 more+743 -20 replies
3/9crypto/ycc: Add irq support for ycc kernel ringsdrivers/crypto/ycc/ycc_isr.c+80 -120 replies
4/9crypto/ycc: Add device error handling support for ycc hw errorsdrivers/crypto/ycc/ycc_isr.c drivers/crypto/ycc/ycc_ring.c drivers/crypto/ycc/ycc_ring.h+183 -40 replies
5/9crypto/ycc: Add skcipher algorithm supportdrivers/crypto/ycc/Kconfig drivers/crypto/ycc/Makefile drivers/crypto/ycc/ycc_algs.h +4 more+1117 -50 replies
6/9crypto/ycc: Add aead algorithm supportdrivers/crypto/ycc/Kconfig drivers/crypto/ycc/Makefile drivers/crypto/ycc/ycc_aead.c +3 more+687 -30 replies
7/9crypto/ycc: Add rsa algorithm supportdrivers/crypto/ycc/Makefile drivers/crypto/ycc/ycc_algs.h drivers/crypto/ycc/ycc_drv.c +2 more+771 -10 replies
8/9crypto/ycc: Add sm2 algorithm supportdrivers/crypto/ycc/Makefile drivers/crypto/ycc/sm2signature_asn1.c drivers/crypto/ycc/sm2signature_asn1.h +3 more+316 -10 replies
9/9MAINTAINERS: Add Yitian Cryptography Complex (YCC) driver maintainer entryMAINTAINERS+8 -00 replies

Reviews trailers per patch

1 of 9 patches has a Reviewed-by or Acked-by.

PatchGuanjunXuchun Shang
1/9
2/9
3/9
4/9
5/9
6/9
7/9
8/9
9/9A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 RESEND 0/9] Drivers for Alibaba YCC (Yitian Cryptography Complex) cryptographic accelerator

From: Guanjun <[email protected]>

Hi,

This patch series aims to add drivers for Alibaba YCC (Yitian Cryptography Complex) cryptographic accelerator. Enables the on-chip cryptographic accelerator of Alibaba Yitian SoCs which is based on ARMv9 architecture.

It includes PCIe enabling, skcipher, aead, rsa, sm2 support.

Please help to review.

Thanks,
Guanjun.

Change log:
v3 -> v3 RESEND:
- [*/09] Fix compile warnings when sparse turned on

v2 -> v3:
- [01/09] Fix the lost "$" in Makefile
- [08/09] Fix compile warnings when both CONFIG_CRYPTO_SM2 and CONFIG_CRYPTO_DEV_YCC are enabled

v1 RESEND -> v2:
- [01/09] Remove char device that is not used now.

v1 -> v1 RESEND:
- [01/09] Adjust the Kconfig entry in alphabetical order
- [05/09][07/09][08/09] Adjust the format of algorithm names

v2: https://lore.kernel.org/all/[email protected]/
v1: https://lore.kernel.org/all/[email protected]/
v1 RESEND: https://lore.kernel.org/all/[email protected]/

Guanjun (3):
crypto/ycc: Add skcipher algorithm support
crypto/ycc: Add aead algorithm support
crypto/ycc: Add rsa algorithm support

Xuchun Shang (1):
crypto/ycc: Add sm2 algorithm support

Zelin Deng (5):
crypto/ycc: Add YCC (Yitian Cryptography Complex) accelerator driver crypto/ycc: Add ycc ring configuration
crypto/ycc: Add irq support for ycc kernel rings crypto/ycc: Add device error handling support for ycc hw errors
MAINTAINERS: Add Yitian Cryptography Complex (YCC) driver maintainer
entry

 MAINTAINERS                            |   8 +
 drivers/crypto/Kconfig                 |   2 +
 drivers/crypto/Makefile                |   1 +
 drivers/crypto/ycc/Kconfig             |  18 +
 drivers/crypto/ycc/Makefile            |   7 +
 drivers/crypto/ycc/sm2signature_asn1.c |  38 ++
 drivers/crypto/ycc/sm2signature_asn1.h |  13 +
 drivers/crypto/ycc/ycc_aead.c          | 646 ++++++++++++++++++++++
 drivers/crypto/ycc/ycc_algs.h          | 176 ++++++
 drivers/crypto/ycc/ycc_dev.h           | 157 ++++++
 drivers/crypto/ycc/ycc_drv.c           | 567 ++++++++++++++++++++
 drivers/crypto/ycc/ycc_isr.c           | 276 ++++++++++
 drivers/crypto/ycc/ycc_isr.h           |  13 +
 drivers/crypto/ycc/ycc_pke.c           | 946 +++++++++++++++++++++++++++++++++
 drivers/crypto/ycc/ycc_ring.c          | 649 ++++++++++++++++++++++
 drivers/crypto/ycc/ycc_ring.h          | 170 ++++++
 drivers/crypto/ycc/ycc_ske.c           | 925 ++++++++++++++++++++++++++++++++
 17 files changed, 4612 insertions(+)
 create mode 100644 drivers/crypto/ycc/Kconfig
 create mode 100644 drivers/crypto/ycc/Makefile
 create mode 100644 drivers/crypto/ycc/sm2signature_asn1.c
 create mode 100644 drivers/crypto/ycc/sm2signature_asn1.h
 create mode 100644 drivers/crypto/ycc/ycc_aead.c
 create mode 100644 drivers/crypto/ycc/ycc_algs.h
 create mode 100644 drivers/crypto/ycc/ycc_dev.h
 create mode 100644 drivers/crypto/ycc/ycc_drv.c
 create mode 100644 drivers/crypto/ycc/ycc_isr.c
 create mode 100644 drivers/crypto/ycc/ycc_isr.h
 create mode 100644 drivers/crypto/ycc/ycc_pke.c
 create mode 100644 drivers/crypto/ycc/ycc_ring.c
 create mode 100644 drivers/crypto/ycc/ycc_ring.h
 create mode 100644 drivers/crypto/ycc/ycc_ske.c
Signature · 1 line
1.8.3.1