devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/2] Add OP-TEE based hwrng driver
@ 2018-12-27 11:07 Sumit Garg
  2018-12-27 11:07 ` [PATCH v1 1/2] dt/bindings: add bindings for optional optee rng-uuid property Sumit Garg
  2018-12-27 11:07 ` [PATCH v1 2/2] hwrng: add OP-TEE based rng driver Sumit Garg
  0 siblings, 2 replies; 25+ messages in thread
From: Sumit Garg @ 2018-12-27 11:07 UTC (permalink / raw)
  To: linux-crypto, devicetree
  Cc: mpm, herbert, robh+dt, mark.rutland, arnd, gregkh, jens.wiklander,
	daniel.thompson, ard.biesheuvel, bhsharma, tee-dev, Sumit Garg

On ARM SoC's with TrustZone enabled, peripherals like entropy sources
might not be accessible to normal world (linux in this case) and rather
accessible to secure world (OP-TEE in this case) only. So this driver
aims to provides a generic interface to OP-TEE based random number
generator service.

Example case is Developerbox based on Socionext's Synquacer SoC [1]
which provides 7 thermal sensors accessible from secure world only which
could be used as entropy sources (thermal/measurement noise).

[1] https://www.96boards.org/product/developerbox/

Sumit Garg (2):
  dt/bindings: add bindings for optional optee rng-uuid property
  hwrng: add OP-TEE based rng driver

 .../bindings/arm/firmware/linaro,optee-tz.txt      |   4 +
 MAINTAINERS                                        |   5 +
 drivers/char/hw_random/Kconfig                     |  15 ++
 drivers/char/hw_random/Makefile                    |   1 +
 drivers/char/hw_random/optee-rng.c                 | 273 +++++++++++++++++++++
 5 files changed, 298 insertions(+)
 create mode 100644 drivers/char/hw_random/optee-rng.c

-- 
2.7.4

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

end of thread, other threads:[~2019-01-07  6:46 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-27 11:07 [PATCH v1 0/2] Add OP-TEE based hwrng driver Sumit Garg
2018-12-27 11:07 ` [PATCH v1 1/2] dt/bindings: add bindings for optional optee rng-uuid property Sumit Garg
2018-12-27 13:39   ` Ard Biesheuvel
2018-12-28  9:11     ` Sumit Garg
2019-01-03 17:14       ` Daniel Thompson
2019-01-04  6:39         ` Sumit Garg
2019-01-04 11:01           ` Jens Wiklander
2019-01-04 12:01             ` Sumit Garg
2019-01-04 13:03               ` Jens Wiklander
2019-01-07  5:32                 ` Sumit Garg
2019-01-07  5:59                   ` Ard Biesheuvel
2019-01-07  6:46                     ` Sumit Garg
2019-01-03 16:20     ` Rob Herring
2018-12-27 11:07 ` [PATCH v1 2/2] hwrng: add OP-TEE based rng driver Sumit Garg
2018-12-27 18:28   ` Ard Biesheuvel
2018-12-28  9:58     ` Sumit Garg
2018-12-28 10:38       ` Ard Biesheuvel
2018-12-28 13:03         ` Sumit Garg
2018-12-28 14:46           ` Jens Wiklander
2018-12-30 14:59             ` Vesa Jääskeläinen
2018-12-31 10:35               ` Sumit Garg
2018-12-31 10:24             ` Sumit Garg
2019-01-02  8:04               ` Jens Wiklander
2019-01-02  8:26                 ` Bhupesh Sharma
2019-01-02 10:12                 ` Sumit Garg

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