From c3266dc0d85ed519ff40d1738aadf7b1280af3ba Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 19 Sep 2007 20:37:48 +0000 Subject: * crypt/Makefile (libcrypt-routines): Add sha256-crypt, sha256, sha512-crypt, and sha512. (tests): Add sha256test, sha256c-test, sha512test, and sha512c-test. (distribute): Add sha256.h and sha512.h. * crypt/crypt-entry.c (crypt): Recognize the new $5$ and $6$ prefixes and call the appropriate code. * crypt/sha256-crypt.c: New file. * crypt/sha256.c: New file. * crypt/sha256.h: New file. * crypt/sha256c-test.c: New file. * crypt/sha256test.c: New file. * crypt/sha512-crypt.c: New file. * crypt/sha512.c: New file. * crypt/sha512.h: New file. * crypt/sha512c-test.c: New file. * crypt/sha512test.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start): Likewise. --- crypt/Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'crypt/Makefile') diff --git a/crypt/Makefile b/crypt/Makefile index 575221a1c5..28f82193b6 100644 --- a/crypt/Makefile +++ b/crypt/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 1996, 2000, 2001 Free Software Foundation, Inc. +# Copyright (C) 1996, 2000, 2001, 2007 Free Software Foundation, Inc. # This file is part of the GNU C Library. # The GNU C Library is free software; you can redistribute it and/or @@ -26,12 +26,13 @@ headers := crypt.h extra-libs := libcrypt extra-libs-others := $(extra-libs) -libcrypt-routines := crypt-entry md5-crypt md5 crypt crypt_util +libcrypt-routines := crypt-entry md5-crypt md5 sha256-crypt sha256 \ + sha512-crypt sha512 crypt crypt_util -tests := cert md5test md5c-test +tests := cert md5test md5c-test sha256test sha256c-test sha512test sha512c-test distribute := ufc-crypt.h crypt-private.h ufc.c speeds.c README.ufc-crypt \ - Banner md5.h + Banner md5.h sha256.h sha512.h include ../Makeconfig @@ -40,6 +41,8 @@ routines += $(libcrypt-routines) endif $(objpfx)md5test: $(objpfx)md5.o +$(objpfx)sha256test: $(objpfx)sha256.o +$(objpfx)sha512test: $(objpfx)sha512.o include ../Rules -- cgit v1.2.3