aboutsummaryrefslogtreecommitdiff
path: root/lib/libcrypt/crypt-shs.c
Commit message (Collapse)AuthorAgeFilesLines
* Zap SHA1 password support. This will be re-implemented at a later date.Kris Kennaway2000-01-071-190/+0
| | | | Notes: svn path=/head/; revision=55535
* Make a dlopen failure consistant with dlsym(). "Shouldn't happen."Peter Wemm1999-12-171-1/+3
| | | | Notes: svn path=/head/; revision=54753
* patch glitchPeter Wemm1999-12-171-3/+0
| | | | Notes: svn path=/head/; revision=54752
* Remove -lmd. Use dlopen() and dlsym() instead for calls to the MD5* andPeter Wemm1999-12-171-1/+47
| | | | | | | | SHA* routines so that callers of libcrypt are not exposed to the internal implementation. Notes: svn path=/head/; revision=54751
* Big code cleanup. (Inspired by Brandon Gillespie). Also move asMark Murray1999-09-201-0/+145
| | | | | | | much as possible away from secure/ to make extending easier. Notes: svn path=/head/; revision=51462
* The new crypt code broke "make world". Back it out.Mark Murray1999-01-231-122/+0
| | | | Notes: svn path=/head/; revision=43092
* Rewrite of crypt library to be more modular, and addition of theBrandon Gillespie1999-01-211-0/+122
Secure Hashing Algorithm - 1 (SHA-1), along with the further refinement of what $x$salt$hash means. With this new crypt the following are all acceptable: $1$ $MD5$ $SHA1$ Note: $2$ is used by OpenBSD's Blowfish, which I considered adding as $BF$, but there is no actual need for it with SHA-1. However, somebody wishing to add OpenBSD password support could easilly add it in now. There is also a malloc_crypt() available in the library now, which behaves exactly the same as crypt(), but it uses a malloced buffer instead of a static buffer. However, this is not standard so will likely not be used much (at all). Also, for those interested I did a brief speed test Pentium 166/MMX, which shows the DES crypt to do approximately 2640 crypts a CPU second, MD5 to do about 62 crypts a CPU second and SHA1 to do about 18 crypts a CPU second. Reviewed by: Mark Murray Notes: svn path=/head/; revision=42981