summaryrefslogtreecommitdiff
path: root/src/lib/libc/crypt (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Document the lack of error return value in arc4random.pyr2007-05-021-1/+4
| | | | Sync the documentation in getpid with arc4random's format.
* Get rid of useless #if 0 block, especially since the code is includedray2007-03-191-5/+1
| | | | | | immediately after. OK millert@.
* Change hard coded numbers to sizeof(buf). Also change someray2007-02-201-3/+3
| | | | | | | | 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@.
* provide an libc internal interface to get random bytes, to be used by mallocotto2007-02-121-3/+12
| | | | to get random data without calling getpid(), ok millert@ deraadt@
* no point mentioning functions if we have nothing useful to sayjmc2006-08-051-13/+1
| | | | | | about them; ok djm
* wording/grammar tweaks;jmc2006-07-261-3/+4
|
* better macros;jmc2006-07-261-6/+6
|
* document `iv';jmc2006-07-261-1/+4
| | | | | from eren elci; tweaked by djm ok djm
* updates from nicholas marriott;jmc2006-07-251-5/+9
| | | | re-worded and ok djm
* allocate gsalt large enough; from Matthew R. Dempsky <mrd at alkemiootto2006-07-041-2/+2
| | | | dot org>; ok djm@ deraadt@
* be more careful with atoi() result; ok ottoderaadt2006-04-031-3/+5
|
* Use sysctl(KERN_ARND) to get n bytes, instead of just 4 at a timeotto2005-11-301-9/+2
| | | | | | | 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@
* add bf_{ecb,cbc}_{en,de}crypt to the .Nm list;jmc2005-10-021-2/+6
|
* add bcrypt_gensalt, bcrypt, and md5crypt, to the .Nm list;jmc2005-10-021-2/+5
|
* zap remaining rcsid.espie2005-08-083-15/+3
| | | | | | Kill old files that are no longer compiled. okay theo
* punctuation and minor rewording, ok jmcjaredy2005-07-172-6/+6
|
* RC4 is a trademark. Rest of text left intact.kjell2005-06-071-2/+2
|
* Change email address for author, at his request.kjell2005-06-061-2/+2
|
* Change license to standard OpenBSD boilerplate, with permissionkjell2005-06-061-6/+15
| | | | from original author (David Mazieres)
* use the new fat random sysctl to get initial state. (fallback to looping).tedu2005-06-041-12/+14
| | | | stir after eating 400000 words. ok + input deraadt
* sync setkey prototype with realitymillert2005-05-261-2/+2
|
* Be correct in our man pages when talking about NUL termination (that is,cloder2005-02-251-4/+4
| | | | | termination with '\0') vs. null termination. Input from krw@, jaredy@, jmc@. OK deraadt@
* Test the upper limit for the max # of rounds to, to avoid wrapping and endingotto2004-12-221-2/+7
| | | | up with a low number of rounds. Spotted by mpech@; ok mpech@ millert@
* knf, no binary changehshoexer2004-11-031-54/+65
| | | | ok krw@ millert@
* ansi, indentation, etc.hshoexer2004-11-021-17/+8
| | | | ok markus@ krw@ cloder@ millert@
* kill spaceshshoexer2004-11-021-3/+3
| | | | ok djm@
* add some missing $, ok djm@ 'That looks fine to me' millert@jsg2004-10-011-0/+2
|
* do the char * to u_char * song and dance back and forth explicitly asderaadt2004-09-142-8/+8
| | | | we match API's against each other, fun eh; millert ok
* some of these functions are prototyped in pwd.h; ok deraadt@djm2004-04-061-1/+2
|
* Discard first 256 bytes of keystream, as per recommendation indjm2003-11-261-1/+10
| | | | | "Weaknesses in the Key Scheduling Algorithm of RC4", Fluhrer, Mantin and Shamir. ok itojun@
* wording improvement from Michael Knudsen;jmc2003-08-281-2/+2
|
* just use sysctl for stirring. thread safe and can't fail.tedu2003-08-161-23/+10
| | | | ok deraadt and co.
* Split crypto routine sup again, but differently. This should make thederaadt2003-08-123-84/+149
| | | | mail floppy parts a fair bit smaller.
* unsplice crypt.c and morecrypt.c; start to document some bcrypt and md5cryptderaadt2003-08-074-658/+67
| | | | things in crypt.3, and create MLINKS
* ansideraadt2003-08-072-18/+8
|
* protosderaadt2003-06-252-3/+7
|
* ansification; checked by pvalderaadt2003-06-111-18/+9
|
* - section reorder in crypt(3)jmc2003-05-302-5/+5
| | | | - use .An/.Aq for authors
* makeing local table static saves some bytes; idea from mickey@markus2003-04-091-2/+2
|
* Use snprintf instead of a strcpy(), strncat() and strcat() sequencemillert2003-04-021-5/+4
| | | | deraadt@ OK
* re-stir if pid changes; markus & mederaadt2003-02-141-3/+5
|
* wierd -> weirdpvalchev2002-04-291-3/+3
|
* We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.millert2002-02-192-117/+2
|
* Part one of userland __P removal. Done with a simple regexp with some minor ↵millert2002-02-163-12/+12
| | | | hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
* fix the history refsmickey2002-01-241-2/+2
|
* o) We always close .Bl and .Bd tags;mpech2001-08-062-4/+4
| | | | | | | | | | o) .Sh AUTHOR -> .Sh AUTHORS; o) We don't like .Pp before/after .Sh; o) We don't like .Pp before/after .Rs/.Re; o) NetBSD -> .Nx; o) OpenBSD -> .Ox; millert@ ok
* use strlcpy vs strncpy+a[len-1]='\0'. millert@ ok.lebel2001-06-271-4/+3
|
* License clarification from David Mazieres, ok deraadt@pvalchev2001-06-051-3/+2
|
* grammer/spellingtodd2001-01-042-4/+4
|
* typo; ciper -> cipheraaron2000-12-211-2/+2
|