summaryrefslogtreecommitdiff
path: root/libcrypt/Makefile.in
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-12-19 01:25:09 -0600
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-12-22 14:07:08 +0100
commit3ac5fd7ecaeb6721d812c2b93e446bf9a31acdde (patch)
tree8c4213f8174516406a1e3f830fcfb34ddea909f4 /libcrypt/Makefile.in
parent4c24dabb9cea4c8148d7a7efc7a1df694424c483 (diff)
libcrypt: add support for SHA256-CRYPT password hashing
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_SHA256_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>
Diffstat (limited to 'libcrypt/Makefile.in')
-rw-r--r--libcrypt/Makefile.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcrypt/Makefile.in b/libcrypt/Makefile.in
index 2fceaedb9..94753f4ad 100644
--- a/libcrypt/Makefile.in
+++ b/libcrypt/Makefile.in
@@ -21,6 +21,7 @@ libcrypt_OUT := $(top_builddir)libcrypt
libcrypt_SRC-y :=
libcrypt_SRC-$(UCLIBC_HAS_CRYPT_IMPL) += crypt.c des.c md5.c
+libcrypt_SRC-$(UCLIBC_HAS_SHA256_CRYPT_IMPL) += sha256.c sha256-crypt.c
libcrypt_SRC-$(UCLIBC_HAS_SHA512_CRYPT_IMPL) += sha512.c sha512-crypt.c
libcrypt_SRC-$(UCLIBC_HAS_CRYPT_STUB) += crypt_stub.c