[PATCH] libcrypt: add SHA512 support

Peter Mazinger ps.m at gmx.net
Wed Mar 9 13:08:34 UTC 2011


Hi,

that needs some cleanup, remove unused/unneeded parts, parts guarded with some ifdefs unused on uClibc, make internal functions static, maybe inline functions that are used only once (check size), remove inconsistency, like duplicate extern ... (once with attribute_hidden, once without), check that you do not export anything unwanted...

Peter
-------- Original-Nachricht --------
> Datum: Wed, 9 Mar 2011 04:25:06 -0600
> Von: William Pitcock <nenolod at dereferenced.org>
> An: 
> Betreff: [PATCH] libcrypt: add SHA512 support

> Add support for SHA512 crypt password hashing.
> The SHA512 implementation is from GLIBC.
> 
> Signed-off-by: Michael Zhou <zhoumichaely at gmail.com>
> Signed-off-by: William Pitcock <nenolod at dereferenced.org>
> ---
>  libcrypt/Makefile.in    |    2 +-
>  libcrypt/crypt.c        |    2 +
>  libcrypt/libcrypt.h     |    1 +
>  libcrypt/sha512-crypt.c |  419
> +++++++++++++++++++++++++++++++++++++++++++++++
>  libcrypt/sha512.c       |  336 +++++++++++++++++++++++++++++++++++++
>  libcrypt/sha512.h       |   58 +++++++
>  6 files changed, 817 insertions(+), 1 deletions(-)
>  create mode 100644 libcrypt/sha512-crypt.c
>  create mode 100644 libcrypt/sha512.c
>  create mode 100644 libcrypt/sha512.h

-- 
Schon gehört? GMX hat einen genialen Phishing-Filter in die
Toolbar eingebaut! http://www.gmx.net/de/go/toolbar


More information about the uClibc mailing list