diff options
| author | Neil Horman <[email protected]> | 2008-11-05 12:13:14 +0800 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2008-12-25 11:01:21 +1100 |
| commit | 2566578a6feb9d9e39da41326afe8ed6022db3c5 (patch) | |
| tree | 4fb341d8912afbf5b1c47e0938f251210843ef2d /tools/perf/scripts/python | |
| parent | 420a4b20c504e4674bf253601f793bdb254f99fa (diff) | |
crypto: ansi_cprng - Allow resetting of DT value
This is a patch that was sent to me by Jarod Wilson, marking off my
outstanding todo to allow the ansi cprng to set/reset the DT counter value in a
cprng instance. Currently crytpo_rng_reset accepts a seed byte array which is
interpreted by the ansi_cprng as a {V key} tuple. This patch extends that tuple
to now be {V key DT}, with DT an optional value during reset. This patch also
fixes a bug we noticed in which the offset of the key area of the seed is
started at DEFAULT_PRNG_KSZ rather than DEFAULT_BLK_SZ as it should be.
Signed-off-by: Neil Horman <[email protected]>
Signed-off-by: Jarod Wilson <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions