summaryrefslogtreecommitdiffstats
path: root/crypto/rand/rand_lcl.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2013-12-25 15:00:39 +0000
committerDr. Stephen Henson <steve@openssl.org>2014-01-11 14:19:25 +0000
commitef643cc7bdb24fbff4740192a7fc1fc768fb7693 (patch)
tree5b23135247501a337e1a66c3a7089e0e95c3a44c /crypto/rand/rand_lcl.h
parent4b64e0cbdb563e13a6f7cd8631b31532c04f1234 (diff)
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.
Diffstat (limited to 'crypto/rand/rand_lcl.h')
-rw-r--r--crypto/rand/rand_lcl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/rand/rand_lcl.h b/crypto/rand/rand_lcl.h
index 618a8ec899..6696b8057b 100644
--- a/crypto/rand/rand_lcl.h
+++ b/crypto/rand/rand_lcl.h
@@ -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