diff options
| author | Stephan Mueller <[email protected]> | 2015-05-25 15:09:14 +0200 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2015-05-27 17:51:53 +0800 |
| commit | 3d6a5f75d1340539dcdcec4609761fa4b836a1f2 (patch) | |
| tree | d19d3ccb4f4875c20dde086b8d7abe75b807a159 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 16b369a91d0dd80be214b7f7801fbc51875454cc (diff) | |
crypto: drbg - prepare for async seeding
In order to prepare for the addition of the asynchronous seeding call,
the invocation of seeding the DRBG is moved out into a helper function.
In addition, a block of memory is allocated during initialization time
that will be used as a scratchpad for obtaining entropy. That scratchpad
is used for the initial seeding operation as well as by the
asynchronous seeding call. The memory must be zeroized every time the
DRBG seeding call succeeds to avoid entropy data lingering in memory.
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions