devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/6] Add SA2UL Public Key Accelerator driver
@ 2022-08-08 19:12 Daniel Parks
  2022-08-08 19:12 ` [RFC PATCH 1/6] dt-bindings: crypto: ti,sa2ul: add pka subdevice Daniel Parks
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Daniel Parks @ 2022-08-08 19:12 UTC (permalink / raw)
  To: Herbert Xu, David S . Miller, Rob Herring, Krzysztof Kozlowski,
	Nishanth Menon, Vignesh Raghavendra, Tero Kristo
  Cc: linux-crypto, devicetree, linux-kernel, linux-arm-kernel

The PKA is a subdevice of the SA2UL that provides hardware acceleration
for asymmetric cryptography algorithms. RSA and Diffie-Hellman are
enabled in this patch series.

Tested using these configurations:
- CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=n
- CONFIG_CRYPTO_MANAGER_EXTRA_TESTS=y

These patches are RFC for now because we're waiting for legal to clear
us to release the firmware.

The dts patches depend on [1] and [2], respectively, to apply without
fuzz.

[1]: https://www.spinics.net/lists/devicetree/msg523234.html
[2]: https://www.spinics.net/lists/devicetree/msg523233.html

Daniel Parks (6):
  dt-bindings: crypto: ti,sa2ul: add pka subdevice
  dt-bindings: crypto: add binding for eip29t2 public key accelerator
    (PKA)
  arm64: dts: ti: k3-am64-main: add SA2UL public key accelerator
    subdevice
  arm64: dts: ti: k3-j721e-main: add SA2UL public key accelerator
    subdevice
  crypto: sa2ul: turn on PKA engine
  crypto: sa2ul_pka: Add SA2UL PKA driver

 .../inside-secure,safexcel-eip29t2.yaml       |  49 ++
 .../devicetree/bindings/crypto/ti,sa2ul.yaml  |   6 +
 arch/arm64/boot/dts/ti/k3-am64-main.dtsi      |   8 +
 arch/arm64/boot/dts/ti/k3-j721e-main.dtsi     |   7 +
 drivers/crypto/Kconfig                        |   2 +
 drivers/crypto/Makefile                       |   1 +
 drivers/crypto/sa2ul.c                        |   2 +-
 drivers/crypto/sa2ul_pka/Kconfig              |  26 +
 drivers/crypto/sa2ul_pka/Makefile             |   3 +
 drivers/crypto/sa2ul_pka/sa2ul_pka.h          | 135 +++++
 drivers/crypto/sa2ul_pka/sa2ul_pka_base.c     | 564 ++++++++++++++++++
 drivers/crypto/sa2ul_pka/sa2ul_pka_dh.c       | 150 +++++
 drivers/crypto/sa2ul_pka/sa2ul_pka_op.c       | 205 +++++++
 drivers/crypto/sa2ul_pka/sa2ul_pka_op.h       |  28 +
 drivers/crypto/sa2ul_pka/sa2ul_pka_rsa.c      | 193 ++++++
 drivers/crypto/sa2ul_pka/sa2ul_pka_sg.c       | 316 ++++++++++
 16 files changed, 1694 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/crypto/inside-secure,safexcel-eip29t2.yaml
 create mode 100644 drivers/crypto/sa2ul_pka/Kconfig
 create mode 100644 drivers/crypto/sa2ul_pka/Makefile
 create mode 100644 drivers/crypto/sa2ul_pka/sa2ul_pka.h
 create mode 100644 drivers/crypto/sa2ul_pka/sa2ul_pka_base.c
 create mode 100644 drivers/crypto/sa2ul_pka/sa2ul_pka_dh.c
 create mode 100644 drivers/crypto/sa2ul_pka/sa2ul_pka_op.c
 create mode 100644 drivers/crypto/sa2ul_pka/sa2ul_pka_op.h
 create mode 100644 drivers/crypto/sa2ul_pka/sa2ul_pka_rsa.c
 create mode 100644 drivers/crypto/sa2ul_pka/sa2ul_pka_sg.c

-- 
2.17.1


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

end of thread, other threads:[~2022-08-09 23:22 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-08 19:12 [RFC PATCH 0/6] Add SA2UL Public Key Accelerator driver Daniel Parks
2022-08-08 19:12 ` [RFC PATCH 1/6] dt-bindings: crypto: ti,sa2ul: add pka subdevice Daniel Parks
2022-08-09  5:44   ` Krzysztof Kozlowski
2022-08-09 23:22   ` Rob Herring
2022-08-08 19:12 ` [RFC PATCH 2/6] dt-bindings: crypto: add binding for eip29t2 public key accelerator (PKA) Daniel Parks
2022-08-09  5:47   ` Krzysztof Kozlowski
2022-08-09 23:22   ` Rob Herring
2022-08-08 19:12 ` [RFC PATCH 3/6] arm64: dts: ti: k3-am64-main: add SA2UL public key accelerator subdevice Daniel Parks
2022-08-08 19:12 ` [RFC PATCH 4/6] arm64: dts: ti: k3-j721e-main: " Daniel Parks
2022-08-08 19:12 ` [RFC PATCH 5/6] crypto: sa2ul: turn on PKA engine Daniel Parks
2022-08-08 19:12 ` [RFC PATCH 6/6] crypto: sa2ul_pka: Add SA2UL PKA driver Daniel Parks
2022-08-08 21:52   ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).