Skip to contentSkip to conversation

/dev/random updates for 3.18

GIT PULL Theodore Ts'o 1 participant 1 message Oct 24, 2014

lore
Share & tools
lore
#0 lore raw

The following changes since commit 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9:

Linux 3.17-rc1 (2014-08-16 10:40:26 -0600)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tytso/random.git tags/random_for_linus

for you to fetch changes up to 7185ad2672a7d50bc384de0e38d90b75d99f3d82:

crypto: memzero_explicit - make sure to clear out sensitive data (2014-10-17 11:44:07 -0400)

----------------------------------------------------------------
This adds a memzero_explicit() call which is guaranteed not to be optimized away by GCC. This is important when we are wiping cryptographically sensitive material.

----------------------------------------------------------------
Daniel Borkmann (2):
random: add and use memzero_explicit() for clearing data
crypto: memzero_explicit - make sure to clear out sensitive data

 crypto/cts.c            |  3 ++-
 crypto/sha1_generic.c   |  2 +-
 crypto/sha256_generic.c |  5 ++---
 crypto/sha512_generic.c |  2 +-
 crypto/tgr192.c         |  4 ++--
 crypto/vmac.c           |  2 +-
 crypto/wp512.c          |  8 ++++----
 drivers/char/random.c   |  8 ++++----
 include/linux/string.h  |  5 +++--
 lib/string.c            | 16 ++++++++++++++++
 10 files changed, 36 insertions(+), 19 deletions(-)