summaryrefslogtreecommitdiffstats
path: root/crypto/rand/rand_lcl.h
diff options
context:
space:
mode:
authorLutz Jänicke <jaenicke@openssl.org>2001-05-15 16:02:35 +0000
committerLutz Jänicke <jaenicke@openssl.org>2001-05-15 16:02:35 +0000
commite8734731d3b39cf3f7fa6acb055d22e0bdc2a7ff (patch)
tree07d4aaae454f4c609235ed9c702f03a5f87d626d /crypto/rand/rand_lcl.h
parent9e0fcabeca06be09617a45df3aa67791b1d6bc3d (diff)
Increase ENTROPY_NEEDED to support Rijndael's larger key size.
Diffstat (limited to 'crypto/rand/rand_lcl.h')
-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)