Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Aug 2001 18:15:25 -0700 (PDT)
From:      Mike Silbersack <silby@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/libkern arc4random.c
Message-ID:  <200108300115.f7U1FPQ43014@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
silby       2001/08/29 18:15:25 PDT

  Modified files:
    sys/libkern          arc4random.c 
  Log:
  Minor improvements to arc4random():
  
  - Decrease reseeding interval from every 64 to every 16384 runs
    to reduce entropy usage.
  - Add time based reseeding.  (Every 5 minutes.)
  - Throw away the first 256 words of output as suggested in
    "Weaknesses in the Key Scheduling Algorithm of RC4."
  
  Reviewed by: Mark Murray
  MFC After: jkh says ok
  
  Revision  Changes    Path
  1.8       +30 -5     src/sys/libkern/arc4random.c


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108300115.f7U1FPQ43014>