diff options
| author | Stephan Mueller <[email protected]> | 2015-05-25 15:09:59 +0200 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2015-05-27 17:51:53 +0800 |
| commit | b8ec5ba42c4a3854e27c44e697d9b4f0b84b32bb (patch) | |
| tree | 45522a56a48f8391f925689f78333a5344977a75 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 4c7879907eddd5b3ec09489bc980aab4f44e38dd (diff) | |
crypto: drbg - use Jitter RNG to obtain seed
During initialization, the DRBG now tries to allocate a handle of the
Jitter RNG. If such a Jitter RNG is available during seeding, the DRBG
pulls the required entropy/nonce string from get_random_bytes and
concatenates it with a string of equal size from the Jitter RNG. That
combined string is now the seed for the DRBG.
Written differently, the initial seed of the DRBG is now:
get_random_bytes(entropy/nonce) || jitterentropy (entropy/nonce)
If the Jitter RNG is not available, the DRBG only seeds from
get_random_bytes.
CC: Andreas Steffen <[email protected]>
CC: Theodore Ts'o <[email protected]>
CC: Sandy Harris <[email protected]>
Signed-off-by: Stephan Mueller <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions