mbox series

[v2,0/1] crypto: caam/rng: Add support for PRNG

Message ID 20220316180149.4070622-1-meenakshi.aggarwal@nxp.com (mailing list archive)
Headers show
Series crypto: caam/rng: Add support for PRNG | expand

Message

Meenakshi Aggarwal March 16, 2022, 6:01 p.m. UTC
From: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com>

changes in v2:
	- rebase to latest master
        - fixed compile time warning reported by kernel test robot
	- fixed checkpatch warning
	- fixed "rejecting DMA map of vmalloc memory" issue while running
	  "ecdh-nist-p256" algorithm self-test. This test uses caam prng's
	  to generate random number for its key.

Meenakshi Aggarwal (1):
  crypto: caam/rng: Add support for PRNG

 drivers/crypto/caam/Kconfig    |   9 ++
 drivers/crypto/caam/Makefile   |   1 +
 drivers/crypto/caam/caamprng.c | 256 +++++++++++++++++++++++++++++++++
 drivers/crypto/caam/desc.h     |   1 +
 drivers/crypto/caam/intern.h   |  15 ++
 drivers/crypto/caam/jr.c       |   2 +
 6 files changed, 284 insertions(+)
 create mode 100644 drivers/crypto/caam/caamprng.c


base-commit: 56e337f2cf1326323844927a04e9dbce9a244835