Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-07-16 | use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@ | Ingo Schwarze | |
2013-06-11 | spacing | Theo de Raadt | |
2013-06-05 | Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze | Ted Unangst | |
2013-04-21 | tweak a few comments | Ted Unangst | |
2013-04-21 | this man page is mostly about password hashing now (you really don't | Ted Unangst | |
want to be using DES) and some of the notes about the export controls are no longer so relevant. ok deraadt jmc | |||
2013-04-20 | Xr encrypt(1) to give people a hint if they just want a password string | Ted Unangst | |
2013-04-17 | add some prototypes, casts, includes, parenthesis, and whatnot to | Ted Unangst | |
silence some warnings. | |||
2012-11-30 | Document a known bug in the DES crypt cipher implementation which we're | Stefan Sperling | |
not going to fix in order to stay compatible with legacy password data. Nobody should use DES crypt anyway these days. See http://www.freebsd.org/security/advisories/FreeBSD-SA-12:02.crypt.asc for details about this bug. Discussed with deraadt and beck about half a year ago (I'm pruning Ms from my tree). | |||
2012-09-04 | arc4random_buf is the easy way to fill a buffer now. ok deraadt | Ted Unangst | |
2012-07-26 | remove reference to no longer existing description of nonexistent devices; | Christian Weisgerber | |
ok deraadt@ tedu@, wording tweaks jmc@ | |||
2012-06-24 | Change arc4random_uniform() to calculate ``2**32 % upper_bound'' as | Matthew Dempsky | |
``-upper_bound % upper_bound''. Simplifies the code and makes it the same on both ILP32 and LP64 architectures, and also slightly faster on LP64 architectures by using a 32-bit remainder instead of a 64-bit remainder. Pointed out by Jorden Verwer on tech@ ok deraadt; no objections from djm or otto | |||
2012-06-02 | Update STANDARDS section for a few <stdlib.h> functions | Philip Guenthe | |
Update SYNOPSIS for setkey() to show it's in <stdlib.h> ok jmc@, millert@ | |||
2010-12-22 | remove comment that hasn't been true for quite a while now; | Otto Moerbeek | |
ok deraadt@ djm@ | |||
2010-10-28 | remove skipjack and cast from the libc; ok deraadt | Mike Belopuhov | |
2010-02-03 | Use MACHINE_CPU instead of MACHINE_ARCH to pick the correct machine dependent | Miod Vallat | |
files or directories when applicable. The inspiration and name of MACHINE_CPU come from NetBSD, although the way to provide it to Makefiles is completely different. ok kettenis@ | |||
2009-12-15 | No point in refreshing the pid from inside arc4_stir() when that | Philip Guenthe | |
doesn't test it, so factor out the two places that test it into a routine and do the refreshing there. With this, arch4random_buf() doesn't trigger superfluous calls to getpid() when filling large buffers. ok deraadt@, "looks nicer indeed" otto@ | |||
2009-10-31 | s/Mhz/MHz/, MHz is a multiple of the SI unit hertz (whose symbol is Hz). | Igor Sobrado | |
2008-12-23 | repair the ARC4 story; ok jmc djm millert | Theo de Raadt | |
2008-10-03 | zap __arc4_getbyte(), it was only used by the old malloc; ok millert@ | Otto Moerbeek | |
kurt@ | |||
2008-06-09 | fix an Xr, and use a more appropriate macro; | Jason McIntyre | |
2008-06-08 | arc4random_stir() does not use /dev/arandom anymore, but sysctl kern.arandom | Theo de Raadt | |
2008-06-04 | fix math screwup that reintroduced a bias for upper_bounds in range | Damien Miller | |
(2^30,2^31). Nothing in the tree yet requests random numbers bounded by this range. report jakob!deraadt; ok deraadt@ | |||
2008-04-02 | Zero state buffers on return. OK deraadt@ | Todd C. Miller | |
2008-03-16 | - add NAME entries for arc4random_buf and arc4random_uniform | Jason McIntyre | |
- simplify a macro call (Do/Dc -> Dq) | |||
2008-03-16 | Add missing MLINKS | Theo de Raadt | |
2008-03-16 | diff from djm@ committed at his request: | Otto Moerbeek | |
introduce two new APIs for requesting strong random numbers: arc4random_buf() - fill an arbitrary memory range with random numbers arc4random_uniform() - return a uniformly distributed random number below a specified upper bound, avoiding the bias that comes from a naive "arc4random() % upper_bound" construction. these mirror similarly-named functions in the kernel; lots of discussion deraadt@ mcbride@ | |||
2008-01-01 | - make arc4random*() functions thread safe. Use a custom spinlock function | Kurt Miller | |
instead of the generic pthread macros since free(3) uses __arc4_getbyte() when freeing small sized allocations and the generic pthread macros call malloc(3). - eliminate passing pointers to a static variable with global scope (rs) for additional code clarity and reduction. - shlib minor bumps for libc and libpthread due to new functions. From andreas@ with some bits from me. okay tedu@ marc@ w/some spot checking from millert@ | |||
2007-10-08 | add a RETURN VALUES section. | Pierre-Yves Ritschard | |
ok jmc@ | |||
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-05-02 | macros at start of line require a `.'; | Jason McIntyre | |
2007-05-02 | Document the lack of error return value in arc4random. | Pierre-Yves Ritschard | |
Sync the documentation in getpid with arc4random's format. | |||
2007-03-19 | Get rid of useless #if 0 block, especially since the code is included | Ray Lai | |
immediately after. OK millert@. | |||
2007-02-20 | Change hard coded numbers to sizeof(buf). Also change some | Ray Lai | |
sizeof(buf) - 1 to sizeof(buf), since fgets takes the whole buffer size. Based on diff from Charles Longeau <chl at tuxfamily dot org> long ago. OK millert@. | |||
2007-02-12 | provide an libc internal interface to get random bytes, to be used by malloc | Otto Moerbeek | |
to get random data without calling getpid(), ok millert@ deraadt@ | |||
2006-08-05 | no point mentioning functions if we have nothing useful to say | Jason McIntyre | |
about them; ok djm | |||
2006-07-26 | wording/grammar tweaks; | Jason McIntyre | |
2006-07-26 | better macros; | Jason McIntyre | |
2006-07-26 | document `iv'; | Jason McIntyre | |
from eren elci; tweaked by djm ok djm | |||
2006-07-25 | updates from nicholas marriott; | Jason McIntyre | |
re-worded and ok djm | |||
2006-07-04 | allocate gsalt large enough; from Matthew R. Dempsky <mrd at alkemio | Otto Moerbeek | |
dot org>; ok djm@ deraadt@ | |||
2006-04-03 | be more careful with atoi() result; ok otto | Theo de Raadt | |
2005-11-30 | Use sysctl(KERN_ARND) to get n bytes, instead of just 4 at a time | Otto Moerbeek | |
and remove fallback code. If somebody is dumb enough to make the sysctl fail using systrace, he deserves what he gets. Saves 7 syscalls on process startup. looks good miod@ ok deraadt@ tedu@ | |||
2005-10-02 | add bf_{ecb,cbc}_{en,de}crypt to the .Nm list; | Jason McIntyre | |
2005-10-02 | add bcrypt_gensalt, bcrypt, and md5crypt, to the .Nm list; | Jason McIntyre | |
2005-08-08 | zap remaining rcsid. | Marc Espie | |
Kill old files that are no longer compiled. okay theo | |||
2005-07-17 | punctuation and minor rewording, ok jmc | Jared Yanovich | |
2005-06-07 | RC4 is a trademark. Rest of text left intact. | Kjell Wooding | |
2005-06-06 | Change email address for author, at his request. | Kjell Wooding | |
2005-06-06 | Change license to standard OpenBSD boilerplate, with permission | Kjell Wooding | |
from original author (David Mazieres) | |||
2005-06-04 | use the new fat random sysctl to get initial state. (fallback to looping). | Ted Unangst | |
stir after eating 400000 words. ok + input deraadt |