aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorŁukasz Stelmach <[email protected]>2017-12-12 17:36:06 +0100
committerHerbert Xu <[email protected]>2017-12-22 19:52:43 +1100
commit99c9acfe594e07085b11cc9c317c9c9961155ee4 (patch)
tree7a1451f3e84508e7a3bc22c8d3ff24ec3d70037f /tools/perf/scripts/python/export-to-sqlite.py
parent3a5a5e5c07e35366f313a5301fe3568349ab8655 (diff)
crypto: exynos - Reseed PRNG after generating 2^16 random bytes
Reseed PRNG after reading 65 kB of randomness. Although this may reduce performance, in most cases the loss is not noticeable. Also the time based threshold for reseeding is changed to one second. Reseeding is performed whenever either limit is exceeded. Reseeding of a PRNG does not increase entropy, but it helps preventing backtracking the internal state of the device from its output sequence, and hence, prevents potential attacker from predicting numbers to be generated. Signed-off-by: Łukasz Stelmach <[email protected]> Reviewed-by: Stephan Mueller <[email protected]> Reviewed-by: Krzysztof Kozlowski <[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