Use rdrand as additional entropy source.

If available rdrand is used as an additional entropy source for the
PRNG and for additional input in FIPS mode.
This commit is contained in:
Dr. Stephen Henson
2013-12-25 15:00:39 +00:00
parent 4b64e0cbdb
commit ef643cc7bd
3 changed files with 81 additions and 0 deletions

View File

@@ -154,5 +154,6 @@
#define MD(a,b,c) EVP_Digest(a,b,c,NULL,EVP_md2(), NULL)
#endif
void rand_hw_xor(unsigned char *buf, size_t num);
#endif