devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/6] Add Versal TRNG driver
@ 2025-06-09  4:51 Harsh Jain
  2025-06-09  4:51 ` [PATCH v2 1/6] dt-bindings: crypto: Add node for True Random Number Generator Harsh Jain
                   ` (5 more replies)
  0 siblings, 6 replies; 16+ messages in thread
From: Harsh Jain @ 2025-06-09  4:51 UTC (permalink / raw)
  To: herbert, davem, linux-crypto, devicetree, mounika.botcha,
	sarat.chand.savitala, mohan.dhanawade, michal.simek
  Cc: Harsh Jain

Versal TRNG module consist of array of Ring Oscillators as entropy source
and a deterministic CTR_DRBG random bit generator (DRBG). Add driver to
registers entropy source to hwrng and CTR_DRBG generator to crypto subsystem.
Derivation Function (DF) defined in NIST SP-800-90A for CTR_DRBG is not
supported in current TRNG IP. For DF processing, Update drbg module to
export CTR_DRBG derivation function.

Changes in v2
- Fixed signoff chain
- Added 3 patch to fix Kernel test robot bugs

Harsh Jain (5):
  crypto: xilinx: Add TRNG driver for Versal
  crypto: drbg: Export CTR DRBG DF functions
  crypto: xilinx: Select dependant Kconfig option for CRYPTO_DRBG_CTR
  crypto: xilinx: Fix missing goto in probe
  crypto: xilinx: Use min_t macro to compare value

Mounika Botcha (1):
  dt-bindings: crypto: Add node for True Random Number Generator

 .../bindings/crypto/xlnx,versal-trng.yaml     |  36 ++
 MAINTAINERS                                   |   6 +
 crypto/drbg.c                                 | 108 +++--
 drivers/crypto/Kconfig                        |  14 +
 drivers/crypto/xilinx/Makefile                |   1 +
 drivers/crypto/xilinx/xilinx-trng.c           | 434 ++++++++++++++++++
 include/crypto/drbg.h                         |  15 +
 7 files changed, 563 insertions(+), 51 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/crypto/xlnx,versal-trng.yaml
 create mode 100644 drivers/crypto/xilinx/xilinx-trng.c

-- 
2.34.1


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

end of thread, other threads:[~2025-06-11  4:23 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-09  4:51 [PATCH v2 0/6] Add Versal TRNG driver Harsh Jain
2025-06-09  4:51 ` [PATCH v2 1/6] dt-bindings: crypto: Add node for True Random Number Generator Harsh Jain
2025-06-09  6:37   ` Rob Herring (Arm)
2025-06-09 13:15   ` Rob Herring
2025-06-11  4:23     ` Jain, Harsh (AECG-SSW)
2025-06-09  4:51 ` [PATCH v2 2/6] crypto: xilinx: Add TRNG driver for Versal Harsh Jain
2025-06-09  4:51 ` [PATCH v2 3/6] crypto: drbg: Export CTR DRBG DF functions Harsh Jain
2025-06-09  4:51 ` [PATCH v2 4/6] crypto: xilinx: Select dependant Kconfig option for CRYPTO_DRBG_CTR Harsh Jain
2025-06-10  6:17   ` Krzysztof Kozlowski
2025-06-10  6:25     ` Jain, Harsh (AECG-SSW)
2025-06-09  4:51 ` [PATCH v2 5/6] crypto: xilinx: Fix missing goto in probe Harsh Jain
2025-06-10  6:18   ` Krzysztof Kozlowski
2025-06-10  6:28     ` Jain, Harsh (AECG-SSW)
2025-06-10  8:00       ` Dan Carpenter
2025-06-09  4:51 ` [PATCH v2 6/6] crypto: xilinx: Use min_t macro to compare value Harsh Jain
2025-06-10  6:18   ` Krzysztof Kozlowski

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).