summaryrefslogtreecommitdiff
path: root/include/linux/random.h
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2013-12-17 21:16:39 -0500
committerTheodore Ts'o <tytso@mit.edu>2014-03-19 22:18:52 -0400
commit46884442fc5bb81a896f7245bd850fde9b435509 (patch)
treee0954b5941c39132dbb1914006d91672e9724b58 /include/linux/random.h
parent2132a96f66b6b4d865113e7d4cb56d5f7c6e3cdf (diff)
random: use the architectural HWRNG for the SHA's IV in extract_buf()
To help assuage the fears of those who think the NSA can introduce a massive hack into the instruction decode and out of order execution engine in the CPU without hundreds of Intel engineers knowing about it (only one of which woud need to have the conscience and courage of Edward Snowden to spill the beans to the public), use the HWRNG to initialize the SHA starting value, instead of xor'ing it in afterwards. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'include/linux/random.h')
0 files changed, 0 insertions, 0 deletions