summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorLutz Jänicke <jaenicke@openssl.org>2001-05-15 18:02:35 +0200
committerLutz Jänicke <jaenicke@openssl.org>2001-05-15 18:02:35 +0200
commite8734731d3b39cf3f7fa6acb055d22e0bdc2a7ff (patch)
tree07d4aaae454f4c609235ed9c702f03a5f87d626d /crypto
parentDo not forget to increment the pointers... (diff)
downloadopenssl-e8734731d3b39cf3f7fa6acb055d22e0bdc2a7ff.tar.xz
openssl-e8734731d3b39cf3f7fa6acb055d22e0bdc2a7ff.zip
Increase ENTROPY_NEEDED to support Rijndael's larger key size.
Diffstat (limited to 'crypto')
-rw-r--r--crypto/rand/rand_lcl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rand/rand_lcl.h b/crypto/rand/rand_lcl.h
index 866eebeffc..1d9670738e 100644
--- a/crypto/rand/rand_lcl.h
+++ b/crypto/rand/rand_lcl.h
@@ -112,7 +112,7 @@
#ifndef HEADER_RAND_LCL_H
#define HEADER_RAND_LCL_H
-#define ENTROPY_NEEDED 20 /* require 160 bits = 20 bytes of randomness */
+#define ENTROPY_NEEDED 32 /* require 256 bits = 32 bytes of randomness */
#if !defined(USE_MD5_RAND) && !defined(USE_SHA1_RAND) && !defined(USE_MDC2_RAND) && !defined(USE_MD2_RAND)