The NetBSD Project

CVS log for src/lib/libc/gen/arc4random.c

[BACK] Up to [] / src / lib / libc / gen

Request diff between arbitrary revisions

Default branch: MAIN
Current tag: netbsd-7-0

Revision / (download) - annotate - [select for diffs], Wed Mar 18 07:50:01 2015 UTC (4 years, 9 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.25: +673 -222 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Pull up following revision(s) (requested by riastradh in ticket #597):
	lib/libc/gen/arc4random.c: revisions 1.26-1.28
	lib/libc/gen/arc4random.3:: revisions 1.10-1.19
Rewrite arc4random(3) with ChaCha20-based PRNG and per-thread state.
Explain the security model in the man page.
No more RC4!
Note relation of arc4random(3) to rand(3)/random(3).
Ruminate on security model choices and API design in arc4random(3).
Amplify comment about how quickly RC4 was known to be bad.
Markup for BUGS note about arc4random_uniform.
Cross-reference rnd(4).
Remove unnecessary Ns before punctuation. Fix a line.
Fix Google Groups link.
Tweak wording, define `output', remove misplaced scaremongering.
Fix non _REENTRANT build.
Use ChaCha20 here as advertised, not ChaCha8.
Fortunately, there is no public cryptanalysis even of ChaCha8: the
best published attack is on ChaCha7 with time complexity 2^248.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>