summaryrefslogtreecommitdiffstats
path: root/bsd-arc4random.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-10-27 09:27:32 +1100
committerDamien Miller <djm@mindrot.org>2000-10-27 09:27:32 +1100
commit656d71754122aeeaff1e17e8e115017b04239fb2 (patch)
treeb8e9398d943cce8b0555861c7e3ac45b82fb4814 /bsd-arc4random.c
parent76020ba5c0360b9e9adf619d4249f82d1e3b83b6 (diff)
- (djm) Increase REKEY_BYTES to 2^24 for arc4random
Diffstat (limited to 'bsd-arc4random.c')
-rw-r--r--bsd-arc4random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd-arc4random.c b/bsd-arc4random.c
index ea0abf3f..c45459f5 100644
--- a/bsd-arc4random.c
+++ b/bsd-arc4random.c
@@ -33,7 +33,7 @@
#define SEED_SIZE 20
/* Number of bytes to reseed after */
-#define REKEY_BYTES (1 << 18)
+#define REKEY_BYTES (1 << 24)
static int rc4_ready = 0;
static RC4_KEY rc4;