Skip to content

crypto: k3: Add sa2ul driver

Keerthy linux-arm-kernel linux-crypto linux-devicetree lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/210 patches 14 repliesIn review
  2. v1 posting 1/210 patches 2 repliesSuperseded

Patches in v1 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10dt-bindings: crypto: k3: Add sa2ul bindings documentationDocumentation/devicetree/bindings/crypto/sa2ul.txt+47 -03 replies
2/10crypto: sa2ul: Add crypto driverdrivers/crypto/Kconfig drivers/crypto/Makefile drivers/crypto/sa2ul.c +1 more+1553 -02 replies
3/10crypto: sa2ul: Add AES ECB Mode supportdrivers/crypto/sa2ul.c+76 -00 replies
4/10crypto: sa2ul: Add aead support for hmac(sha1)cbc(aes) algorithmdrivers/crypto/sa2ul.c+402 -00 replies
5/10crypto: sha256_generic: Export the Transform functioncrypto/sha256_generic.c include/crypto/sha.h+3 -12 replies
6/10crypto: sa2ul: Add hmac(sha256)cbc(aes) AEAD Algo supportdrivers/crypto/sa2ul.c+92 -01 reply
7/10crypto: sa2ul: Add hmac(sha1) HMAC algorithm supportdrivers/crypto/sa2ul.c+347 -02 replies
8/10crypto: sa2ul: Add hmac(sha256) HMAC algorithm supportdrivers/crypto/sa2ul.c+52 -00 replies
9/10sa2ul: Add 3DES ECB & CBC Mode supportdrivers/crypto/sa2ul.c+112 -00 replies
10/10arm64: dts: k3-am6: Add crypto accelarator nodearch/arm64/boot/dts/ti/k3-am65-main.dtsi+33 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RESEND PATCH 00/10] crypto: k3: Add sa2ul driver

The series adds Crypto hardware accelerator support for SA2UL. SA2UL stands for security accelerator ultra lite.

The Security Accelerator (SA2_UL) subsystem provides hardware cryptographic acceleration for the following use cases:
• Encryption and authentication for secure boot
• Encryption and authentication of content in applications requiring DRM (digital rights management) and content/asset protection
The device includes one instantiation of SA2_UL named SA2_UL0

SA2UL needs on tx channel and a pair of rx dma channels.

This series has dependency on UDMA series. Hence is based on top of:

https://patchwork.kernel.org/project/linux-dmaengine/list/?series=114105

The above series adds couple of dmaengine APIs that are used by the sa2ul driver. Hence there is a hard dependency on the above series.

Resending with linux-crypto list in Cc.

Keerthy (10):
dt-bindings: crypto: k3: Add sa2ul bindings documentation
crypto: sa2ul: Add crypto driver
crypto: sa2ul: Add AES ECB Mode support
crypto: sa2ul: Add aead support for hmac(sha1)cbc(aes) algorithm
crypto: sha256_generic: Export the Transform function
crypto: sa2ul: Add hmac(sha256)cbc(aes) AEAD Algo support
crypto: sa2ul: Add hmac(sha1) HMAC algorithm support
crypto: sa2ul: Add hmac(sha256) HMAC algorithm support
sa2ul: Add 3DES ECB & CBC Mode support
arm64: dts: k3-am6: Add crypto accelarator node

 .../devicetree/bindings/crypto/sa2ul.txt      |   47 +
 arch/arm64/boot/dts/ti/k3-am65-main.dtsi      |   33 +
 crypto/sha256_generic.c                       |    3 +-
 drivers/crypto/Kconfig                        |   17 +
 drivers/crypto/Makefile                       |    1 +
 drivers/crypto/sa2ul.c                        | 2232 +++++++++++++++++
 drivers/crypto/sa2ul.h                        |  384 +++
 include/crypto/sha.h                          |    1 +
 8 files changed, 2717 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/crypto/sa2ul.txt
 create mode 100644 drivers/crypto/sa2ul.c
 create mode 100644 drivers/crypto/sa2ul.h
Signature · 1 line
2.17.1