linux-stable/drivers/crypto/caam
Meenakshi Aggarwal 0aa6ac7795 crypto: caam/rng - Add support for PRNG
Add support for random number generation using PRNG
mode of CAAM and expose the interface through crypto API.

According to the RM, the HW implementation of the DRBG follows
NIST SP 800-90A specification for DRBG_Hash SHA-256 function

Signed-off-by: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com>
Reviewed-by: Horia Geant <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2022-05-06 18:16:55 +08:00
..
caamalg.c crypto: caam - save caam memory to support crypto engine retry mechanism. 2021-12-03 15:56:17 +11:00
caamalg_desc.c crypto: caam/jr - add support for XTS with 16B IV 2020-10-02 18:02:12 +10:00
caamalg_desc.h
caamalg_qi.c crypto: caam/qi - simplify error path for context allocation 2020-11-20 14:45:32 +11:00
caamalg_qi2.c crypto: caam - replace this_cpu_ptr with raw_cpu_ptr 2021-11-20 15:02:07 +11:00
caamalg_qi2.h crypto: caam/qi2 - add fallback for XTS with more than 8B IV 2020-10-02 18:02:11 +10:00
caamhash.c crypto: caam - save caam memory to support crypto engine retry mechanism. 2021-12-03 15:56:17 +11:00
caamhash_desc.c
caamhash_desc.h
caampkc.c crypto: caam - save caam memory to support crypto engine retry mechanism. 2021-12-03 15:56:17 +11:00
caampkc.h crypto: caam - add crypto_engine support for RSA algorithms 2020-02-22 09:25:48 +08:00
caamprng.c crypto: caam/rng - Add support for PRNG 2022-05-06 18:16:55 +08:00
caamrng.c crypto: caam - limit single JD RNG output to maximum of 16 bytes 2020-03-30 11:50:50 +11:00
compat.h crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
ctrl.c crypto: caam - fix i.MX6SX entropy delay value 2022-04-29 13:44:58 +08:00
ctrl.h
debugfs.c crypto: caam - Replace DEFINE_SIMPLE_ATTRIBUTE with DEFINE_DEBUGFS_ATTRIBUTE 2021-02-10 17:55:57 +11:00
debugfs.h crypto: caam - Move debugfs fops into standalone file 2020-08-21 14:47:49 +10:00
desc.h crypto: caam - fix typos 2020-06-15 17:38:54 +10:00
desc_constr.h
dpseci-debugfs.c crypto: caam - Convert to DEFINE_SHOW_ATTRIBUTE 2020-09-25 17:48:16 +10:00
dpseci-debugfs.h
dpseci.c crypto: caam/qi2 - add support for dpseci_reset() 2020-06-18 17:19:45 +10:00
dpseci.h crypto: caam/qi2 - add support for dpseci_reset() 2020-06-18 17:19:45 +10:00
dpseci_cmd.h crypto: caam/qi2 - add support for dpseci_reset() 2020-06-18 17:19:45 +10:00
error.c crypto: caam - add more RNG hw error codes 2020-07-31 18:25:28 +10:00
error.h
intern.h crypto: caam/rng - Add support for PRNG 2022-05-06 18:16:55 +08:00
jr.c crypto: caam/rng - Add support for PRNG 2022-05-06 18:16:55 +08:00
jr.h
Kconfig crypto: caam/rng - Add support for PRNG 2022-05-06 18:16:55 +08:00
key_gen.c crypto: caam - change return code in caam_jr_enqueue function 2020-02-22 09:25:47 +08:00
key_gen.h
Makefile crypto: caam/rng - Add support for PRNG 2022-05-06 18:16:55 +08:00
pdb.h treewide: Replace zero-length arrays with flexible-array members 2022-02-17 07:00:39 -06:00
pkc_desc.c
qi.c crypto: caam: Replace in_irq() usage. 2020-11-03 17:41:38 -08:00
qi.h crypto: caam/qi - optimize frame queue cleanup 2020-02-13 17:05:25 +08:00
regs.h crypto: caam - disable pkc for non-E SoCs 2021-09-24 16:03:04 +08:00
sg_sw_qm.h
sg_sw_qm2.h
sg_sw_sec4.h