]> Git Repo - uclibc-ng.git/commit
libcrypt: add support for SHA256-CRYPT password hashing
authorWilliam Pitcock <[email protected]>
Mon, 19 Dec 2011 07:25:09 +0000 (01:25 -0600)
committerBernhard Reutner-Fischer <[email protected]>
Thu, 22 Dec 2011 13:07:08 +0000 (14:07 +0100)
commit3ac5fd7ecaeb6721d812c2b93e446bf9a31acdde
tree8c4213f8174516406a1e3f830fcfb34ddea909f4
parent4c24dabb9cea4c8148d7a7efc7a1df694424c483
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 <[email protected]>
Signed-off-by: Bernhard Reutner-Fischer <[email protected]>
extra/Configs/Config.in
libcrypt/Makefile.in
libcrypt/crypt.c
libcrypt/libcrypt.h
libcrypt/sha256-crypt.c [new file with mode: 0644]
libcrypt/sha256.c [new file with mode: 0644]
libcrypt/sha256.h [new file with mode: 0644]
This page took 0.024803 seconds and 4 git commands to generate.