]> git.ipfire.org Git - thirdparty/rng-tools.git/commit
drng: Move DRNG code to a separate file and make safe on non-x86
authorH. Peter Anvin <hpa@linux.intel.com>
Wed, 1 Aug 2012 21:31:35 +0000 (14:31 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 2 Aug 2012 04:18:37 +0000 (00:18 -0400)
commit101309bc070667a39794bf13714d43f950b9bade
treef7e29de6de1ab4919401739273e4d344c55d1a53
parentb8579105d14f739d13e2c443a2c4b884785825b7
drng: Move DRNG code to a separate file and make safe on non-x86

Move all the DRNG code to a separate file, and make sure it is
properly stubbed out on non-x86.  Furthermore, fix the CPUID bits we
check for; in particular we need AES-ni for the whitening code.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Makefile.am
rngd_entsource.c
rngd_entsource.h
rngd_rdrand.c [new file with mode: 0644]