OpenBSD Journal

Even more randomness

Contributed by rueda on from the and-how-would-sir-like-his-randomness? dept.

Damien Miller (djm@) committed a change randomising the rekeying interval in arc4random(3) (and friends):

Module name:	src
Changes by:	2022/07/30 23:10:36

Modified files:
	lib/libc/crypt : arc4random.c 

Log message:
Randomise the rekey interval a little. Previously, the chacha20
instance would be rekeyed every 1.6MB. This makes it happen at a
random point somewhere in the 1-2MB range.

Feedback deraadt@ visa@, ok tb@ visa@

(Comments are closed)


Copyright © - Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to as well as images and HTML templates were copied from the fabulous original with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]