millert
6e98a98e41
Simpler byte order flipping. Now the only place we explicitly check
for the host byte order is when we copy the final digest (and that
is just an optimization).
20 years ago
deraadt
d934b608f5
change _pppoe to _ppp, i had thought about it before, but henning has convinced me
20 years ago
deraadt
9fd125c07e
_pppoe privdrop user for canacar
20 years ago
tedu
5435516474
improved man page, with example and error strings, suggested by deraadt@
man help jmc@
20 years ago
deraadt
3452944e6b
typo; sq@oganer.net
20 years ago
deraadt
e3347935bb
_afs user for privsep; beck ok
20 years ago
millert
9a4115e513
Make the Transform functions match the other hash types and document them.
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.
20 years ago
millert
f181b464e0
Make the 2nd arg to SHA1Transform const again and unifdef SHA1HANDSOFF.
It was defined before and there is no need to for this knob...
20 years ago
henning
73e3c491cd
provide some filter examples; PR3764
20 years ago
deraadt
81db547eac
bye bye bootpd. You will not be missed.
20 years ago
david
eddcf58572
+_rbootd; ok henning@ millert@
20 years ago
deraadt
e28e67ede2
nuke default .rhosts file; from S@mSmith.net, ok millert
20 years ago
jmc
eaf41443d6
sort SEE ALSO;
20 years ago
millert
2f87adf68b
Be smarter about signed vs. unsigned (produces better error messages).
OK otto@
20 years ago
millert
3fc0f059df
Missed this in the __strerror() removal.
20 years ago
tedu
bc41fb1d63
strtonum prototype
20 years ago
millert
cb92ad54e0
Sync some prototypes with the headers
20 years ago
millert
ca2cf99d81
Some u_char -> u_int8_t conversion I missed earlier.
20 years ago
millert
80dc37e3c6
Use KNF indentation style and do some u_char -> u_int8_t conversion
I missed earlier.
20 years ago
millert
f788b66522
No longer need __strerror(3) now that we use strerror_r() inside libc.
20 years ago
millert
e2e5c3d50c
Add Pad and FileChunk functions for each family of hash functions.
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).
20 years ago
millert
093859655c
Make ndbm match POSIX. A datum consists of a void *dptr and a size_t dsize.
Also make the open functions take a mode_t, not int. OK deraadt@
20 years ago
millert
5fd6059fd1
XPG specifies bsd_signal(3) so make it an alias for signal(3); OK deraadt@
20 years ago
millert
d3af4c4238
Add _Exit(3) as per C99. Discussed with espie@ some time ago.
20 years ago
tedu
55adc08842
typo spotted by grange
20 years ago
tedu
0ad4710abb
strtonum, a nicer version of strtoll, by millert and myself.
ok deraadt@ millert@
20 years ago
drahn
429915f6ba
Remove OpenBSD/pegaos, this has been announced before but delayed until
the tree was stable. No point in code supporting a company which screws
its employees being in the OpenBSD tree.
20 years ago
millert
45868bb9af
Do a better job of documenting strerror_r() and add an ERRORS section.
20 years ago
espie
075eca378d
build the error message in strerror_r.c directly, avoiding one copy there.
handle a few subtle details caught by the regression tests: correct
termination, non copying if buffer length == 0, errno setting.
let all former users of __strerror go through strerror_r.
Work by Todd Miller and I. Okay millert@.
20 years ago
millert
83cba58ed3
Rev 1.4 was bogus (committed from the wrong tree), this repairs it.
20 years ago
millert
a3e8d914af
some minor KNF
20 years ago
miod
2321142202
Install /etc/wsconsctl.conf on luna88k.
20 years ago
espie
5d22c77bac
let __strerror fill precisely the part of the buffer it can.
okay millert@
20 years ago
deraadt
74e643a7e1
rbootd privsep uid/gid
20 years ago
espie
bb84af69e3
Let __strerror work by fixing a number of problems. Work by tholo and I,
okay millert@.
- atoi was bogus.
- atoi was not reentrant.
- there's no reason to cast stuff to unsigned int.
20 years ago
jmc
4b37372268
oops, this was a reference to the local delivery agent - correct it
to /usr/libexec/mail.local;
from millert@
20 years ago
jmc
3f4d230022
the mail command lives in /usr/bin, not /bin;
ok xsa@ henning@
20 years ago
frantzen
5547b93a93
reminder to set net.inet.ip.forwarding/net.inet6.ip6.forwarding in sysctl.conf
ok cedric@ mcbride@
20 years ago
millert
18f2266550
Sync with md5.c rev. 1.4
20 years ago
millert
31a77154fb
Changes inspired by Markus's rmd160 implementation:
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.
20 years ago
millert
29064d763b
Undo some recent prototype changes; it is legal to pass the helper
functions can take a NULL buf pointer. They will malloc memory as
needed in this case.
20 years ago
millert
c71980a843
The data pointer passed to the transform function may not be properly
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@
20 years ago
jmc
fc7f44a3cc
typo in SEE ALSO;
20 years ago
millert
1e36196ad9
more KNF
20 years ago
millert
224ee4053e
Some KNF
20 years ago
millert
6766bb800e
KNF: function names should be at column 0 for easier grepping.
20 years ago
millert
ed861eb432
Pass sizeof(*pointer) not sizeof(point) to memset. Karsten Desler.
20 years ago
millert
9eef84d714
Don't build lib/libc/md, build md[45] in lib/libc/hash instead.
20 years ago
millert
93807fbee0
md[45] man page
20 years ago
millert
dbbc112215
Xr sha2(3)
20 years ago