Commit e8734731 authored by Lutz Jänicke's avatar Lutz Jänicke
Browse files

Increase ENTROPY_NEEDED to support Rijndael's larger key size.

parent 9e0fcabe
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -11,6 +11,9 @@
         *) applies to 0.9.6a (/0.9.6b) and 0.9.7
         +) applies to 0.9.7 only

  +) Increase ENTROPY_NEEDED to 32 bytes, as Rijndael can operate with
     256 bit (=32 byte) keys. Of course seeding with more entropy bytes
     than this minimum value is recommended.

  +) New random seeder for OpenVMS, using the system process statistics
     that are easily reachable.
+1 −1
Original line number Diff line number Diff line
@@ -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)