mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add support for Texas Instruments DTHE V2 crypto accelerator
@ 2025-04-11  9:13 T Pratham
  2025-04-11  9:13 ` [PATCH v2 1/2] dt-bindings: crypto: Add binding for TI DTHE V2 T Pratham
  2025-04-11  9:13 ` [PATCH v2 2/2] crypto: ti: Add driver for DTHE V2 AES Engine (ECB, CBC) T Pratham
  0 siblings, 2 replies; 6+ messages in thread
From: T Pratham @ 2025-04-11  9:13 UTC (permalink / raw)
  To: Herbert Xu, David S. Miller, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: T Pratham, linux-crypto, devicetree, linux-kernel,
	Kamlesh Gurudasani, Praneeth Bajjuri, Vignesh Raghavendra,
	Manorit Chawdhry

This series adds support for TI DTHE V2 crypto accelerator. DTHE V2 is a
new crypto accelerator which contains multiple crypto IPs [1].
This series implements support for ECB and CBC modes of AES for the AES
Engine of DTHE, using skcipher APIs of the kernel.

Tested with:
CONFIG_CRYPTO_MANAGER_DISABLE_TESTS is not set
CONFIG_CRYPTO_MANAGER_EXTRA_TESTS=y

and tcrypt,
sudo modprobe tcrypt mode=500 sec=1

Signed-off-by: T Pratham <t-pratham@ti.com>
---
[1]: Section 14.6.3 (DMA Control Registers -> DMASS_DTHE)
Link: https://www.ti.com/lit/ug/sprujb4/sprujb4.pdf

Chnage log:
v2:
 - Corrected dt-bindings syntax errors and other review comments in v1.
 - Completely changed driver code structure, splitting code into
   multiple files

Link to previous versions:
v1: https://lore.kernel.org/all/20250206-dthe-v2-aes-v1-0-1e86cf683928@ti.com/
---
T Pratham (2):
  dt-bindings: crypto: Add binding for TI DTHE V2 driver
  crypto: ti: Add driver for DTHE V2 AES Engine (ECB, CBC)

 .../devicetree/bindings/crypto/ti,dthev2.yaml |  50 +++
 MAINTAINERS                                   |   7 +
 drivers/crypto/Makefile                       |   1 +
 drivers/crypto/ti/Kconfig                     |  10 +
 drivers/crypto/ti/Makefile                    |   3 +
 drivers/crypto/ti/dthev2-aes.c                | 416 ++++++++++++++++++
 drivers/crypto/ti/dthev2-common.c             | 206 +++++++++
 drivers/crypto/ti/dthev2-common.h             | 110 +++++
 8 files changed, 803 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/crypto/ti,dthev2.yaml
 create mode 100644 drivers/crypto/ti/Kconfig
 create mode 100644 drivers/crypto/ti/Makefile
 create mode 100644 drivers/crypto/ti/dthev2-aes.c
 create mode 100644 drivers/crypto/ti/dthev2-common.c
 create mode 100644 drivers/crypto/ti/dthev2-common.h

-- 
2.34.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-04-16  8:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-11  9:13 [PATCH v2 0/2] Add support for Texas Instruments DTHE V2 crypto accelerator T Pratham
2025-04-11  9:13 ` [PATCH v2 1/2] dt-bindings: crypto: Add binding for TI DTHE V2 T Pratham
2025-04-11 10:23   ` Rob Herring (Arm)
2025-04-11  9:13 ` [PATCH v2 2/2] crypto: ti: Add driver for DTHE V2 AES Engine (ECB, CBC) T Pratham
2025-04-16  7:03   ` Herbert Xu
2025-04-16  8:27     ` T Pratham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®