summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2004-04-29Sync with md5.c rev. 1.4Todd C. Miller
2004-04-29Changes inspired by Markus's rmd160 implementation:Todd C. Miller
o Make MD5Update() more readable o Simplify padding in MD5Final() o Do copy + byte flip in MD5Transform() instead of in the caller The result is a faster md5 and the byte order foo is kept to a minimum.
2004-04-29Undo some recent prototype changes; it is legal to pass the helperTodd C. Miller
functions can take a NULL buf pointer. They will malloc memory as needed in this case.
2004-04-29The data pointer passed to the transform function may not be properlyTodd C. Miller
aligned so copy it in a way that a) is endian indepenent and b) does not rely on alignment. Problem found and solution tested by hshoexer@
2004-04-29typo in SEE ALSO;Jason McIntyre
2004-04-29more KNFTodd C. Miller
2004-04-29Some KNFTodd C. Miller
2004-04-28KNF: function names should be at column 0 for easier grepping.Todd C. Miller
2004-04-28Pass sizeof(*pointer) not sizeof(point) to memset. Karsten Desler.Todd C. Miller
2004-04-28Remove old md[45]Todd C. Miller
2004-04-28Don't build lib/libc/md, build md[45] in lib/libc/hash instead.Todd C. Miller
2004-04-28md[45] man pageTodd C. Miller
2004-04-28Xr sha2(3)Todd C. Miller
2004-04-28PD md4 code derived from Colin Plumb's md5 routines.Todd C. Miller
2004-04-28Rename members of struct MD5Context to match other hash routines.Todd C. Miller
Add constants for buffer lengths and use them. Make bit count 64bit based on changes by niklas@ long ago. Conver htole32n() to macros and unroll loops.
2004-04-28PD version of md5(3) based on code written by Colin Plumb.Todd C. Miller
2004-04-28various tweaks;Jason McIntyre
2004-04-28update to libevent 0.8; keep local changesBrad Smith
ok markus@
2004-04-28typo from Jared Yanovich;Jason McIntyre
ok deraadt@
2004-04-28Include db.h, not ndbm.h since this uses db routines and not ndbm.Todd C. Miller
2004-04-28remove dup file kvm_amd64 should be used.Marco S Hyman
OK deraadt@
2004-04-27fd passing works over a socketpair too of course so document this.Todd C. Miller
Also test it in regress to be pedantic (though the kernel path is really the same). While there, remove cred-passing code that we don't support. OK deraadt@,
2004-04-27A quad is two ints, not two longs. Also fix some problems withOtto Moerbeek
conversions from floating point to quad. Problem reported by Marcus Holland-Moritz. From NetBSD. ok millert@
2004-04-27Make the bit count u_int64_t instead of two u_int32_t. Adapted fromTodd C. Miller
changes Niklas made to the md5 code long ago. OK hshoexer@
2004-04-27do not link ssltest.c into libssl, stops main/doit symbols from beingAnil Madhavapeddy
exported. no bump needed since nothing should use them, markus@ ok
2004-04-26Use a common source file for all the hash helper functions thatTodd C. Miller
previously lived in foohl.c. The foohl.c files are now generated via sed, though perhaps cpp could be used in the future. Use u_int8_t instead of unsigned char for the buffers struct fooContext. Add constants for buffer lengths and use them in function prototypes and the man pages. This is basically cosmetic surgery; there should be no functional changes. OK deraadt@
2004-04-25add/subtract ULONG_MAX + 1 on over/underflows, fixes float -> quadDaniel Hartmeier
conversion in libc, reported by Marcus Holland-Moritz, ok beck@
2004-04-25update missing pieces from 0.9.7d; ok henningMarkus Friedl
crank minor for API extensions
2004-04-25avoid NULL deref; from danh@Markus Friedl
2004-04-25from openssl, 1.50.2.9, make S/MIME encrypt work again.Markus Friedl
2004-04-21Rename kvm_mvme88k so that luna88k can build libkvm.Miod Vallat
2004-04-21kill whitespace at eol;Jason McIntyre
2004-04-20Adapt to new pw_copy() API, closes PR 3698.Todd C. Miller
2004-04-20Change pw_copy(3) to take a 3rd arguement, the existing passwd entry.Todd C. Miller
This allows an application to only update a password entry if it is in the state it expects. Additionally, if the old passwd struct is specified the new one may have a different pw_name field since matching is done on the original. Adapted from FreeBSD.
2004-04-20kern.maxclusters. ok beck@ deraadt@ jmc@Ted Unangst
2004-04-19tidy up a list;Jason McIntyre
move `.Ts OR Ns 'ing' and `.Em or Ns 'ing' -> `OR'ing';
2004-04-16more display/list fixes, and a little whitespace;Jason McIntyre
2004-04-15various improvements to lists and displays:Jason McIntyre
.Pp removal -compact removal for displays other list/display errors
2004-04-15connect(2) can set errno = EPROTOTYPE for unix domain sockets. OK jmc@Todd C. Miller
2004-04-14remove an extra occurence of the word `succeeds'Jean-Francois Brousseau
ok jmc@
2004-04-14remove references to rfc 2553, since 3493 obsoletes it;Jason McIntyre
ok itojun@
2004-04-14Document %v. ok deraadt@Otto Moerbeek
2004-04-14implement RFC3493 AI_NUMERICSERV. tedu okJun-ichiro itojun Hagino
2004-04-13refresh curthread after a thread switch so it points to the realMarco S Hyman
current thread. ok deraadt@
2004-04-12Clean up malloc_active state when aborting.Thierry Deval
This allows for safe abort handling, without tripping into false recursivity problems. Ok tedu@, deraadt@
2004-04-11Crank max ptys to 992. We now have 62 pty/tty pairs for each letterTodd C. Miller
instead of 16. E.g. it is now /dev/{p,t}typ[0-9a-zA-z] instead of just /dev/{p,t}typ[0-9a-f]. This requires that you update MAKEDEV and run: # cd /dev && ./MAKEDEV pty0 && rm -f [pt]ty[rq]*
2004-04-10Apply change from vsnprintf.c rev. 1.5. Use a single characterTodd C. Miller
buffer for the size==0 case. Stdio internals do not deal correctly with zero size buffer and NULL pointer. From torek@bsdi.com; Ok henning@
2004-04-10ansiBrad Smith
2004-04-10styleBrad Smith
2004-04-09When poll(2)'ing for readability or writability of a file descriptorBrad Smith
on behalf of a thread, we should check the POLLERR, POLLHUP, and POLLNVAL flags as well to wake up the thread in these cases. From: FreeBSD's libc_r ok marc@