- (djm) Increase REKEY_BYTES to 2^24 for arc4random

This commit is contained in:
Damien Miller 2000-10-27 09:27:32 +11:00
parent 76020ba5c0
commit 656d717541
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
20001027
- (djm) Increase REKEY_BYTES to 2^24 for arc4random
20001025 20001025
- (djm) Added WARNING.RNG file and modified configure to ask users of the - (djm) Added WARNING.RNG file and modified configure to ask users of the
builtin entropy code to read it. builtin entropy code to read it.

View File

@ -33,7 +33,7 @@
#define SEED_SIZE 20 #define SEED_SIZE 20
/* Number of bytes to reseed after */ /* Number of bytes to reseed after */
#define REKEY_BYTES (1 << 18) #define REKEY_BYTES (1 << 24)
static int rc4_ready = 0; static int rc4_ready = 0;
static RC4_KEY rc4; static RC4_KEY rc4;