[PATCH 0/4] crypto/fsl: add RNG support

Michael Walle michael at walle.cc
Wed Jun 3 00:05:50 CEST 2020


First, improve the compatibility on newer Era CAAMs. These introduced new
version registers. Secondly, add RNG support for the CAAM. This way we get
random number generator support for EFI for free and KASLR will work with
ARM64 kernels booted with bootefi.

Michael Walle (4):
  crypto/fsl: make SEC%u status line consistent
  crypto/fsl: export caam_get_era()
  crypto/fsl: support newer SEC modules
  crypto/fsl: add RNG support

 drivers/crypto/fsl/Kconfig   | 11 +++++
 drivers/crypto/fsl/Makefile  |  1 +
 drivers/crypto/fsl/jobdesc.c |  9 ++++
 drivers/crypto/fsl/jobdesc.h |  3 ++
 drivers/crypto/fsl/jr.c      | 23 ++++++++--
 drivers/crypto/fsl/rng.c     | 87 ++++++++++++++++++++++++++++++++++++
 drivers/crypto/fsl/sec.c     |  2 +-
 include/fsl_sec.h            | 57 +++++++++++++++++++----
 8 files changed, 180 insertions(+), 13 deletions(-)
 create mode 100644 drivers/crypto/fsl/rng.c

-- 
2.20.1



More information about the U-Boot mailing list