The NetBSD Project

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

[BACK] Up to [cvs.NetBSD.org] / src / lib / libc / gen

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.19.2.1 / (download) - annotate - [select for diffs], Tue Jul 26 03:24:15 2016 UTC (7 years, 8 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.19: +11 -5 lines
Diff to previous 1.19 (colored) next main 1.20 (colored) to selected 1.7.40.1 (colored)

Sync with HEAD

Revision 1.21 / (download) - annotate - [select for diffs], Fri Jul 15 21:19:19 2016 UTC (7 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, HEAD
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored) to selected 1.7.40.1 (colored)

Fix mdoclint warnings.

Revision 1.20 / (download) - annotate - [select for diffs], Fri Jul 15 15:23:43 2016 UTC (7 years, 9 months ago) by riastradh
Branch: MAIN
Changes since 1.19: +8 -2 lines
Diff to previous 1.19 (colored) to selected 1.7.40.1 (colored)

Number the properties.  Identify the key erasure property by name.

Revision 1.9.22.1 / (download) - annotate - [select for diffs], Wed Mar 18 07:50:01 2015 UTC (9 years, 1 month 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.9: +272 -88 lines
Diff to previous 1.9 (colored) next main 1.10 (colored) to selected 1.7.40.1 (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!
--
Grammar.
--
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.
Oops.
Fortunately, there is no public cryptanalysis even of ChaCha8: the
best published attack is on ChaCha7 with time complexity 2^248.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Nov 17 18:41:29 2014 UTC (9 years, 5 months ago) by riastradh
Branch: MAIN
CVS Tags: pgoyette-localcount-base
Branch point for: pgoyette-localcount
Changes since 1.18: +11 -7 lines
Diff to previous 1.18 (colored) to selected 1.7.40.1 (colored)

Tweak wording, define `output', remove misplaced scaremongering.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Nov 17 15:28:22 2014 UTC (9 years, 5 months ago) by riastradh
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored) to selected 1.7.40.1 (colored)

Fix Google Groups link.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Nov 17 15:17:41 2014 UTC (9 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored) to selected 1.7.40.1 (colored)

Remove unnecessary Ns before punctuation. Fix a line.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Nov 17 15:08:37 2014 UTC (9 years, 5 months ago) by riastradh
Branch: MAIN
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (colored) to selected 1.7.40.1 (colored)

Cross-reference rnd(4).

Revision 1.15 / (download) - annotate - [select for diffs], Mon Nov 17 15:06:59 2014 UTC (9 years, 5 months ago) by riastradh
Branch: MAIN
Changes since 1.14: +6 -3 lines
Diff to previous 1.14 (colored) to selected 1.7.40.1 (colored)

Markup for BUGS note about arc4random_uniform.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Nov 17 15:05:12 2014 UTC (9 years, 5 months ago) by riastradh
Branch: MAIN
Changes since 1.13: +18 -6 lines
Diff to previous 1.13 (colored) to selected 1.7.40.1 (colored)

Amplify comment about how quickly RC4 was known to be bad.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Nov 17 07:11:00 2014 UTC (9 years, 5 months ago) by riastradh
Branch: MAIN
Changes since 1.12: +37 -1 lines
Diff to previous 1.12 (colored) to selected 1.7.40.1 (colored)

Ruminate on security model choices and API design in arc4random(3).

Revision 1.12 / (download) - annotate - [select for diffs], Mon Nov 17 06:37:23 2014 UTC (9 years, 5 months ago) by riastradh
Branch: MAIN
Changes since 1.11: +7 -2 lines
Diff to previous 1.11 (colored) to selected 1.7.40.1 (colored)

Note relation of arc4random(3) to rand(3)/random(3).

Revision 1.11 / (download) - annotate - [select for diffs], Sun Nov 16 20:37:35 2014 UTC (9 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored) to selected 1.7.40.1 (colored)

Grammar.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Nov 16 20:33:04 2014 UTC (9 years, 5 months ago) by riastradh
Branch: MAIN
Changes since 1.9: +211 -88 lines
Diff to previous 1.9 (colored) to selected 1.7.40.1 (colored)

Rewrite arc4random(3) with ChaCha20-based PRNG and per-thread state.

Explain the security model in the man page.

No more RC4!

XXX pullup to netbsd-6, netbsd-5

Revision 1.7.40.1 / (download) - annotate - [selected], Tue Feb 8 16:18:59 2011 UTC (13 years, 2 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.7: +22 -2 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Sync with HEAD

Revision 1.9 / (download) - annotate - [select for diffs], Sat Feb 5 00:24:08 2011 UTC (13 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, agc-symver-base, agc-symver
Branch point for: netbsd-7
Changes since 1.8: +5 -5 lines
Diff to previous 1.8 (colored) to selected 1.7.40.1 (colored)

Remove trailing whitespace.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Feb 4 22:07:07 2011 UTC (13 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.7: +22 -2 lines
Diff to previous 1.7 (colored) to selected 1.7.40.1 (colored)

add arc4random_{buf,uniform}, from OpenBSD.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Dec 26 19:40:14 2005 UTC (18 years, 3 months ago) by perry
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, mjf-devfs2-base, mjf-devfs2, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-premerge-20101231, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, christos-time_t-nbase, christos-time_t-base, christos-time_t, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: bouyer-quota2
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored) to selected 1.7.40.1 (colored)

u_intN_t -> uintN_t

Revision 1.6.2.2 / (download) - annotate - [select for diffs], Fri Mar 26 22:52:53 2004 UTC (20 years ago) by jmc
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-base
Changes since 1.6.2.1: +113 -0 lines
Diff to previous 1.6.2.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored) to selected 1.7.40.1 (colored)

Pullup rev 1.1-1.6 (requested by provos in ticket #1386)

Introduce bcrypt password scheme. Adds the arc4random API for creating
cryptographically strong random numbers.

Revision 1.6.2.1, Wed Apr 16 13:34:35 2003 UTC (21 years ago) by jmc
Branch: netbsd-1-6
Changes since 1.6: +0 -113 lines
FILE REMOVED

file arc4random.3 was added on branch netbsd-1-6 on 2004-03-26 22:52:53 +0000

Revision 1.6 / (download) - annotate - [select for diffs], Wed Apr 16 13:34:35 2003 UTC (21 years ago) by wiz
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Branch point for: netbsd-1-6
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored) to selected 1.7.40.1 (colored)

Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Fri Jun 21 18:18:07 2002 UTC (21 years, 10 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.5.2.1: +113 -0 lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored) to selected 1.7.40.1 (colored)

Catch up to -current.

Revision 1.5.2.1, Tue May 28 11:38:29 2002 UTC (21 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.5: +0 -113 lines
FILE REMOVED

file arc4random.3 was added on branch nathanw_sa on 2002-06-21 18:18:07 +0000

Revision 1.5 / (download) - annotate - [select for diffs], Tue May 28 11:38:29 2002 UTC (21 years, 10 months ago) by itojun
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Branch point for: nathanw_sa
Changes since 1.4: +3 -1 lines
Diff to previous 1.4 (colored) to selected 1.7.40.1 (colored)

add LIBRARY section

Revision 1.4 / (download) - annotate - [select for diffs], Fri May 24 14:37:19 2002 UTC (21 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored) to selected 1.7.40.1 (colored)

refer rnd(4), not random(4).

Revision 1.3 / (download) - annotate - [select for diffs], Fri May 24 09:45:00 2002 UTC (21 years, 11 months ago) by wiz
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored) to selected 1.7.40.1 (colored)

Quote <> for HTML output.

Revision 1.2 / (download) - annotate - [select for diffs], Fri May 24 04:54:14 2002 UTC (21 years, 11 months ago) by itojun
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored) to selected 1.7.40.1 (colored)

use /dev/urandom, not /dev/arandom

Revision 1.1 / (download) - annotate - [select for diffs], Fri May 24 04:01:44 2002 UTC (21 years, 11 months ago) by itojun
Branch: MAIN
Diff to selected 1.7.40.1 (colored)

add arc4random(3).  from openbsd

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 <webmaster@jp.NetBSD.org>