]> err.no Git - linux-2.6/commit
random: improve variable naming, clear extract buffer
authorMatt Mackall <mpm@selenic.com>
Tue, 29 Apr 2008 08:02:59 +0000 (01:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:24 +0000 (08:06 -0700)
commitffd8d3fa5813430fe3926fe950fde23630f6b1a0
treec5ea8d040ef61603a84b9d3b0a7ca944f24f9d7f
parent53c3f63e824764da23676e5c718755ff4aac9b63
random: improve variable naming, clear extract buffer

- split the SHA variables apart into hash and workspace
- rename data to extract
- wipe extract and workspace after hashing

Signed-off-by: Matt Mackall <mpm@selenic.com>
Cc: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/random.c