From 4c24dabb9cea4c8148d7a7efc7a1df694424c483 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Mon, 19 Dec 2011 01:24:16 -0600 Subject: libcrypt: add support for SHA512-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_SHA512_CRYPT_IMPL configuration symbol. You must have UCLIBC_HAS_CRYPT_IMPL enabled as well. Signed-off-by: William Pitcock Signed-off-by: Bernhard Reutner-Fischer --- libcrypt/Makefile.in | 1 + 1 file changed, 1 insertion(+) (limited to 'libcrypt/Makefile.in') diff --git a/libcrypt/Makefile.in b/libcrypt/Makefile.in index 1d1fb55ad..2fceaedb9 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_SHA512_CRYPT_IMPL) += sha512.c sha512-crypt.c libcrypt_SRC-$(UCLIBC_HAS_CRYPT_STUB) += crypt_stub.c libcrypt_SRC := $(addprefix $(libcrypt_DIR)/,$(libcrypt_SRC-y)) -- cgit v1.2.3