summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2004-05-05Make the Transform functions match the other hash types and document them.Todd C. Miller
Use sizeof() in the Init functions where it makes sense. Use weak aliases instead of wrapper functions. Probably should have gone in before the major bump but as these are only used internally by the sha2 functions themselves there should be no problem.
2004-05-05Make the 2nd arg to SHA1Transform const again and unifdef SHA1HANDSOFF.Todd C. Miller
It was defined before and there is no need to for this knob...
2004-05-03strtonum prototypeTed Unangst
2004-05-03Use KNF indentation style and do some u_char -> u_int8_t conversionTodd C. Miller
I missed earlier.
2004-05-03Add Pad and FileChunk functions for each family of hash functions.Todd C. Miller
The Pad function does padding like in Final but does not finish processing. The FileChunk function creates a digest from a portion of a file. Also made the length parameters consistent (and size_t).
2004-05-03Make ndbm match POSIX. A datum consists of a void *dptr and a size_t dsize.Todd C. Miller
Also make the open functions take a mode_t, not int. OK deraadt@
2004-05-03XPG specifies bsd_signal(3) so make it an alias for signal(3); OK deraadt@Todd C. Miller
2004-05-03Add _Exit(3) as per C99. Discussed with espie@ some time ago.Todd C. Miller
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-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-27Add __bounded__ attributes like the other hash functions have.Todd C. Miller
With help from avsm@
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-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-14implement RFC3493 AI_NUMERICSERV. tedu okJun-ichiro itojun Hagino
2004-04-13Add /dev/fd/ and /var/empty/; ok henning@ and krw@Todd C. Miller
2004-04-06prototypes for bcrypt and md5crypt, as described in manpage; ok deraadt@Damien Miller
2004-04-02fix non-gnu ansi compilers by not using 'inline' but '__inline' instead.Anil Madhavapeddy
lets tendra build again. ok deraadt@, pvalchev@, millert@
2004-03-31dumped is really spelled with one p and not twoHenning Brauer
from Daniel Lucq
2004-03-08Do not build binutils on arm. ARM needs at least binutils 2.14.Dale Rahn
Allows others to build OpenBSD/cats, use binutils from devel/binutils/stable Requested by deraadt@
2004-03-01Enable gnu/lib/libf2c for 'make includes' with GCC3, for [fg]2c.h ok deraadt@Dale Rahn
2004-01-27TSIZE & TIMEOUT support; from freebsd via tholoTheo de Raadt
2004-01-23USE_GCC3 switch, now that propolice is in.Marc Espie
2004-01-22Remove unnecessary typedef usage.Marc Espie
u_char -> unsigned char u_short -> unsigned short u_long -> unsigned long u_int -> unsigned int okay millert@
2004-01-21Prototype llabs(3). Forgotten commit gathering bit rot in my tree...Todd C. Miller
2004-01-17add a couple of new RR types; ok deraadt@Jakob Schlyter
2004-01-16spacingTheo de Raadt
2004-01-15If lint is defined, act like _ANSI_LIBRARY was defined. That wayTodd C. Miller
lint gets the prototypes it expects and doesn't get confused by the inline functions. OK deraadt@
2004-01-13Prototype closefrom(); tedu@ OKTodd C. Miller
2004-01-13Allow this to compile on non-gcc. OK deraadt@ art@Todd C. Miller
2004-01-07Implement kvm_getproc2(), kvm_getargv2() and kvm_getenvv2() that useTodd C. Miller
the KERN_PROC2 sysctl. Based on changes from NetBSD but uses our own kvm_arg_sysctl().
2004-01-03put an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macrosMarc Espie
to built-ins, so eventually we will have one version of these files. Special adjustments for the kernel to cope: machine/stdarg.h -> sys/stdarg.h and machine/ansi.h needs to have a _BSD_VA_LIST_ for syslog* prototypes. okay millert@, drahn@, miod@.
2003-12-31Implement svc_getreq_poll(3) and friends and use poll(2) instead of select(2)Todd C. Miller
in the libc rpc code. The main difference between this and the previous version is the use of a simple free list that simplifies the logic when adding a socket to svc_pollfd. I've also added code to pack svc_pollfd when the free list gets too big. The idea general idea is to keep svc_pollfd as tightly packed as possible to make poll(2) efficient. Tested by many people and OK deraadt@
2003-10-29PDTheo de Raadt
2003-10-07corrent __bounded__ attribute for the *Data functions, and addAnil Madhavapeddy
__minbytes__ checks where appropriate. tested by itojun@ fixes PR 3505 from Janjaap van Velthooven
2003-09-02Add defines for missing RTLD_, eg RTLD_GLOBAL and RTLD_LOCAL,Dale Rahn
values for RTLD_GLOBAL and RTLD_LOCAL are same as solaris uses.
2003-08-25rename struct dinode to ufs1_dinode. clears the namespace and makesTed Unangst
way for some future work. no function changes yet. help testing otto@ and markus@
2003-08-07des_cipher 3rd param is int32_t not longTheo de Raadt
2003-08-01add __bounded__ attributes for userland headers; enabled with -WboundedAnil Madhavapeddy
ok deraadt@
2003-07-21Need ftw.h for ftw(3) and nftw(3)Todd C. Miller
2003-07-15do not enter libcom_errTheo de Raadt
2003-07-15proto _assert2()Theo de Raadt
2003-07-14Enable build of unified libkrb5. ok deraadt, todd. Testing by hin, jakob, ↵Magnus Holmberg
David Krause, ...
2003-06-26Better value for vax MAXFLOATJason Wright
2003-06-26redefine MAXFLOAT in vax termsJason Wright
2003-06-26backout the __bounded__ attributes for a while; requested by deraadt@Anil Madhavapeddy
2003-06-26Mark various standard library functions with the __bounded__ attribute.Anil Madhavapeddy
You must have an up-to-date gcc for this! deraadt@ ok
2003-06-25proto getgrgid_r and getgrnam_rTheo de Raadt
2003-06-17Sync with share/misc/license.template and add missing DARPA creditTodd C. Miller
where applicable.