[PATCH 0/5] Add Tegra Security Engine driver

From: Akhil R
Date: Wed Dec 13 2023 - 07:21:23 EST


Add support for Tegra Security Engine which can accelerates various
crypto algorithms. The Engine has two separate instances within for
AES and HASH algorithms respectively.

The driver registers two crypto engines - one for AES and another for
HASH algorithms and these operate independently and both uses the host1x
bus. Additionally, it provides hardware-assisted key protection for up to
15 symmetric keys which it can use for the cipher operations.

Akhil R (5):
dt-bindings: crypto: Add Tegra SE DT binding doc
gpu: host1x: Add Tegra SE to SID table
crypto: tegra: Add Tegra Security Engine driver
arm64: defconfig: Enable Tegra Security Engine
arm64: tegra: Add Tegra Security Engine DT nodes

.../crypto/nvidia,tegra234-se-aes.yaml | 53 +
.../crypto/nvidia,tegra234-se-hash.yaml | 53 +
MAINTAINERS | 5 +
arch/arm64/boot/dts/nvidia/tegra234.dtsi | 16 +
arch/arm64/configs/defconfig | 1 +
drivers/crypto/Kconfig | 8 +
drivers/crypto/Makefile | 1 +
drivers/crypto/tegra/Makefile | 9 +
drivers/crypto/tegra/tegra-se-aes.c | 1934 +++++++++++++++++
drivers/crypto/tegra/tegra-se-hash.c | 1026 +++++++++
drivers/crypto/tegra/tegra-se-key.c | 155 ++
drivers/crypto/tegra/tegra-se-main.c | 485 +++++
drivers/crypto/tegra/tegra-se.h | 589 +++++
drivers/gpu/host1x/dev.c | 24 +
14 files changed, 4359 insertions(+)
create mode 100644 Documentation/devicetree/bindings/crypto/nvidia,tegra234-se-aes.yaml
create mode 100644 Documentation/devicetree/bindings/crypto/nvidia,tegra234-se-hash.yaml
create mode 100644 drivers/crypto/tegra/Makefile
create mode 100644 drivers/crypto/tegra/tegra-se-aes.c
create mode 100644 drivers/crypto/tegra/tegra-se-hash.c
create mode 100644 drivers/crypto/tegra/tegra-se-key.c
create mode 100644 drivers/crypto/tegra/tegra-se-main.c
create mode 100644 drivers/crypto/tegra/tegra-se.h

--
2.17.1