Commit Graph

5 Commits

Author SHA1 Message Date
Ulrich Drepper
7dc6bd90c5 Use union to avoid casts in code to store results of hashsum computations 2011-07-19 16:53:43 -04:00
Ulrich Drepper
d5032639a4 Complete last patch 2011-07-02 20:46:37 -04:00
Ulrich Drepper
feea4948bc Fix last patch for big-endian machines 2011-07-02 13:03:53 -04:00
Ulrich Drepper
fcfc776bc6 Optimize long-word additions in SHA implementation 2011-07-02 12:30:03 -04:00
Ulrich Drepper
c3266dc0d8 * 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.
2007-09-19 20:37:48 +00:00