summaryrefslogtreecommitdiff
path: root/libcrypt/crypt.c
AgeCommit message (Collapse)Author
2011-12-22libcrypt: add support for SHA512-CRYPT password hashingWilliam Pitcock
This is based on Ulrich Drepper's implementation in GLIBC, but hacked up to work in uClibc. The differences from the GLIBC version are as follows: - b64_from_24bit() has been converted into a macro - Usage of GLIBC-isms (such as libc_freeres_ptr) have been removed It is enabled by the UCLIBC_HAS_SHA512_CRYPT_IMPL configuration symbol. You must have UCLIBC_HAS_CRYPT_IMPL enabled as well. Signed-off-by: William Pitcock <nenolod@dereferenced.org> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-12-22libcrypt: make crypt() itself more modularWilliam Pitcock
By using a function table, we can more cleanly support new crypt implementations, such as SHA256 ($5$) and SHA512 ($6$). Signed-off-by: William Pitcock <nenolod@dereferenced.org> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-11-20libcrypt: do not cast away const of key/saltMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2006-08-24fix by Bernhard Fischer to move local prototypes to a header to keep things saneMike Frysinger
2006-07-05fixup my copyright notice, trim stale remnants of older notices whichEric Andersen
I had clearly run search/replace on that were cluttering things up.
2006-01-16Update licensePeter S. Mazinger
2005-12-13Hidden __md5_crypt/__des_crypt, missed to adapt prototypePeter S. Mazinger
2005-11-23import license updates from glibcMike Frysinger
2002-08-07Cleanup crypt and remove the crypt_r stuff, since SuSv3Eric Andersen
(IEEE Std 1003.1-2001) states that crypt need not be reentrant. -Erik
2002-04-25Rework libcrypt based on the openbsd crypt implementation so that it passes theEric Andersen
DES validation suite. setkey_r, encrypt_r, and __des_crypt_r are not really reentrant now, and that should be fixed (or we should drop crypt_r and friends which are not supported by SuSv3). -Erik
2002-02-26Don't try to return stuff from void funcsEric Andersen
2002-02-26Adjust function naming and make sure everything is properlyEric Andersen
static to avoid symbol leakage. -Erik
2001-12-19Update my email address. I am no longer andersen@lineo.comEric Andersen
2001-04-19Add in a libcrypt implementation. About 8k.Eric Andersen
-Erik