]> git.ipfire.org Git - thirdparty/u-boot.git/commit
crypto: tegra: Add Tegra AES engine driver
authorIon Agorria <ion@agorria.com>
Mon, 16 Dec 2024 16:03:38 +0000 (17:03 +0100)
committerSvyatoslav Ryhel <clamor95@gmail.com>
Fri, 1 Aug 2025 05:43:41 +0000 (08:43 +0300)
commitb01f0a7c1d9d43a38a729723ad76fce74a5fa24b
tree1d64ad9a93d9883cb7e3576162017aab4c7c1fef
parentaaf4c26187907043d4f14a414df882c0acd16a13
crypto: tegra: Add Tegra AES engine driver

This driver allows using Tegra AES engines within BSEV and BSEA blocks to
encrypt and decrypt data using different AES algorithms.

One use case is allowing u-boot to self update by using the already loaded
AES key in the engine's SBK slot by the bootrom.

Particular care must be taken as chainloaded u-boot's may not have the SBK
slot loaded as the vendor bootloader erases it before leaving it.

Signed-off-by: Ion Agorria <ion@agorria.com>
arch/arm/include/asm/arch-tegra/crypto.h
drivers/crypto/Kconfig
drivers/crypto/Makefile
drivers/crypto/tegra/Kconfig [new file with mode: 0644]
drivers/crypto/tegra/Makefile [new file with mode: 0644]
drivers/crypto/tegra/tegra_aes.c [new file with mode: 0644]