]> git.ipfire.org Git - thirdparty/rng-tools.git/commit
rngd_rdrand: Actually perform the correct AES data reduction
authorH. Peter Anvin <hpa@linux.intel.com>
Wed, 1 Aug 2012 21:31:36 +0000 (14:31 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 2 Aug 2012 04:18:52 +0000 (00:18 -0400)
commit932e25b20fbf46dbc6d4438bbdd92fdfd1693e7b
tree6ff01113c1cd703d2ce4375f602ac1cdea245839
parent101309bc070667a39794bf13714d43f950b9bade
rngd_rdrand: Actually perform the correct AES data reduction

The pointers were confused in such a way that the AES data reduction
wasn't actually being performed.  Furthermore, architecturally we need
a 512:1 data reduction, rather than 128:1.  Finally, initialize the IV
to random value during startup and remove some unnecessary buffer
shuffling.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
rngd_rdrand.c