guenther
c9c56d2879
Wrap <unistd.h> so that internal calls go direct and they're all weak symbols
Delete unused 'fd' argument from internal function oldttyname()
9 years ago
jeremy
a0ab23b345
Unbreak, add errno header
OK tedu@
9 years ago
tedu
8cf39d5a4a
set errno in null cases, just in case.
9 years ago
bluhm
4498258510
If crypt(3) is called with an unknown setting, return NULL instead
of some undefined value.
OK tedu@
10 years ago
tedu
bd36abfa7c
bludgeon DES support out of crypt. long live the bcrypt.
10 years ago
deraadt
75d428b273
Move to the <limits.h> universe.
review by millert, binary checking process with doug, concept with guenther
10 years ago
tedu
9898588ce8
remove setkey and encrypt interfaces. they are useless and dangerous.
ok deraadt naddy
10 years ago
tedu
e536f2345b
revert the bludgeoning of DES. if we need a thread safe crypt, maybe it's
better to find one instead of continuing to mangle this mess.
10 years ago
tedu
5b2c645b15
push some global data down into functions to make this threadlier.
only doing what's needed for crypt_hashpass. sigh.
10 years ago
tedu
1653fb274d
refactor some of the des crypt code to use fewer globals.
ok miod
11 years ago
tedu
5d44aecec4
remove md5crypt.
while changing things, add a crypt_checkpass wrapper that handles most of
the edge cases. (not quite ready for production, though.)
ok deraadt
11 years ago
espie
b4fb9e2f94
zap remaining rcsid.
Kill old files that are no longer compiled.
okay theo
19 years ago
deraadt
efb1c5583a
do the char * to u_char * song and dance back and forth explicitly as
we match API's against each other, fun eh; millert ok
20 years ago
deraadt
dd0c426c1c
Split crypto routine sup again, but differently. This should make the
mail floppy parts a fair bit smaller.
22 years ago
deraadt
41645c48e4
unsplice crypt.c and morecrypt.c; start to document some bcrypt and md5crypt
things in crypt.3, and create MLINKS
22 years ago
pvalchev
5ca0ee4656
wierd -> weird
23 years ago
millert
b68c09e067
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
23 years ago
lebel
60ef74bf70
use strlcpy vs strncpy+a[len-1]='\0'. millert@ ok.
24 years ago
niklas
b8aef53588
$OpenBSD$
27 years ago
deraadt
36b350c2d4
indentation cleanup
28 years ago
millert
5daeee95dc
Clean up some -Wall flowers.
28 years ago
deraadt
5ca625a603
delete the unaligned code
28 years ago
downsj
8689f9cd28
Err, umm.
28 years ago
downsj
743ff0ad8a
Make this code sane.
28 years ago
provos
40aaa132e7
added hook for bcrypt
28 years ago
tholo
9cc7ffcbd2
Fix RCS ids
Make sure everything uses {SYS,}LIBC_SCCS properly
29 years ago
deraadt
151d8112cc
for magic MD5 salt, call md5crypt()
29 years ago
niklas
9d9f1bb154
Add md[245] routines in libc/md, remove md5 from libc/crypt. Add $OpenBSD$
29 years ago
tholo
077935535d
Update prototypes to match declarations
Remove unused variables
Install all man-page links
29 years ago
deraadt
cf571e9b70
i believe i took care of the 32bit and alignment issues, so the comment can go away
29 years ago
deraadt
889440ea82
non-USA crypto code by davidb@werj.com.au. The source has been split
& copied into two pieces so that use of crypt() pulls in a crypt.o
that contains only that one programmer interface -- this permits USA
export of binaries that use crypt() for authentication purposes.
morecrypt.c contains the other DES programmer interfaces commonly
used.
29 years ago