[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260121132408.743777-1-t-pratham@ti.com>
Date: Wed, 21 Jan 2026 18:54:04 +0530
From: T Pratham <t-pratham@...com>
To: Herbert Xu <herbert@...dor.apana.org.au>, "David S. Miller"
<davem@...emloft.net>
CC: T Pratham <t-pratham@...com>, <linux-crypto@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, Manorit Chawdhry <m-chawdhry@...com>,
"Kamlesh Gurudasani" <kamlesh@...com>, Shiva Tripathi <s-tripathi1@...com>,
"Kavitha Malarvizhi" <k-malarvizhi@...com>, Vishal Mahaveer <vishalm@...com>,
"Praneeth Bajjuri" <praneeth@...com>
Subject: [PATCH v2 0/3] Add support for hashing algorithms in TI DTHE V2
DTHEv2 is a new cryptography engine introduced in TI AM62L SoC. The
features of DTHEv2 were detailed in [1]. Additional hardware details
available in SoC TRM [2]. DTHEv2 includes, among its various
sub-components, a hashing engine which is compliant with various IETF
and NIST standards, including FIPS 180-3 and FIPS PUB 198.
This patch series adds support for the hashing algorithms
SHA224/256/384/512 and MD5 as well as their HMAC counnterparts for the
hashing engine of Texas Instruments DTHE V2 crypto driver.
This patch series depends on the following previous series [3]:
[PATCH v8 0/3] Add support for more AES modes in TI DTHEv2
The driver is tested using full kernel crypto selftests
(CRYPTO_SELFTESTS_FULL) which all pass successfully [4].
Signed-off-by: T Pratham <t-pratham@...com>
---
[1]: [PATCH v7 0/2] Add support for Texas Instruments DTHEv2 Crypto Engine
Link: https://lore.kernel.org/all/20250820092710.3510788-1-t-pratham@ti.com/
[2]: Section 14.6.3 (DMA Control Registers -> DMASS_DTHE)
Link: https://www.ti.com/lit/ug/sprujb4/sprujb4.pdf
[3]: [PATCH v8 0/3] Add support for more AES modes in TI DTHEv2
Link: https://lore.kernel.org/linux-crypto/20260120144408.606911-1-t-pratham@ti.com/
[4]: DTHEv2 kernel self-tests logs
Link: https://gist.github.com/Pratham-T/fd15b8e0ee815bcb420a60d451a0cf18
Changelog:
v2:
- Completely revamped the driver to use the new CRYPTO_AHASH_BLOCK_ONLY
framework for handling partial blocks and crypto_engine for queueing.
- Added HMAC as well.
Link to previous versions:
v1: https://lore.kernel.org/all/20250218104943.2304730-1-t-pratham@ti.com/
---
T Pratham (3):
crypto: ti - Add support for SHA224/256/384/512 in DTHEv2 driver
crypto: ti - Add support for MD5 in DTHEv2 Hashing Engine driver
crypto: ti - Add support for HMAC in DTHEv2 Hashing Engine driver
drivers/crypto/ti/Kconfig | 4 +
drivers/crypto/ti/Makefile | 2 +-
drivers/crypto/ti/dthev2-aes.c | 6 +-
drivers/crypto/ti/dthev2-common.c | 37 +-
drivers/crypto/ti/dthev2-common.h | 58 +-
drivers/crypto/ti/dthev2-hash.c | 922 ++++++++++++++++++++++++++++++
6 files changed, 1011 insertions(+), 18 deletions(-)
create mode 100644 drivers/crypto/ti/dthev2-hash.c
--
2.34.1
Powered by blists - more mailing lists