commit | c431761dddff87039edb3300b9b29d1f9e0af2c9 | [log] [tgz] |
---|---|---|
author | Harald Freudenberger <freude@linux.vnet.ibm.com> | Mon May 04 13:27:49 2015 +0200 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Wed May 13 09:57:38 2015 +0200 |
tree | 5e295f98543fc9b954971d48940bb6fd7dcda99d | |
parent | f60b8d449d850ae4aa3ee4fdaefec6b7882c92f7 [diff] |
s390/crypto: fix stckf loop The store-clock-fast loop in generate_entropy() mixes (exors) only the first 64 bytes of the initial page before doing the first SHA256. Fix the loop to mix the store-clock-fast values all over the page. Signed-off-by: Harald Freudenberger <freude@linux.vnet.ibm.com> Reported-by: David Binderman <dcb314@hotmail.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>