summaryrefslogtreecommitdiff
path: root/lib/libcrypt/crypt.h
Commit message (Collapse)AuthorAgeFilesLines
* MFC: Blowfish password hashing scheme (From OpenBSD) and remove the dlsym()Mark Murray2001-05-241-0/+1
| | | | | | | hack. Notes: svn path=/stable/4/; revision=77126
* MFC: login.conf password format switchingBrian Feldman2000-09-201-1/+0
| | | | Notes: svn path=/stable/4/; revision=66119
* Zap SHA1 password support. This will be re-implemented at a later date.Kris Kennaway2000-01-071-1/+0
| | | | Notes: svn path=/head/; revision=55535
* Big code cleanup. (Inspired by Brandon Gillespie). Also move asMark Murray1999-09-201-0/+39
| | | | | | | 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