diff options
author | Andrey Smirnov <[email protected]> | 2020-03-19 09:12:33 -0700 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2020-03-30 11:50:50 +1100 |
commit | ea53756d831a1a5db3ca00a12747365e2fcb4bd8 (patch) | |
tree | d794c789f1944ea429ae19b8915c0b0804d5a912 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 358ba762d9f1d4ba99ab31ef12bc28014b22f4c9 (diff) |
crypto: caam - limit single JD RNG output to maximum of 16 bytes
In order to follow recommendation in SP800-90C (section "9.4 The
Oversampling-NRBG Construction") limit the output of "generate" JD
submitted to CAAM. See
https://lore.kernel.org/linux-crypto/VI1PR0402MB3485EF10976A4A69F90E5B0F98580@VI1PR0402MB3485.eurprd04.prod.outlook.com/
for more details.
This change should make CAAM's hwrng driver good enough to have 1024
quality rating.
Signed-off-by: Andrey Smirnov <[email protected]>
Reviewed-by: Horia Geantă <[email protected]>
Cc: Chris Healy <[email protected]>
Cc: Lucas Stach <[email protected]>
Cc: Horia Geantă <[email protected]>
Cc: Herbert Xu <[email protected]>
Cc: Iuliana Prodan <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions