diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-12-19 01:24:16 -0600 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-12-23 15:49:02 +0100 |
commit | 0b68c872deb676b0cb104bfb30a1f356072b5edf (patch) | |
tree | eec5690dc53250cd94bdd5377cd0f698ec1c667e /libm/s_lib_version.c | |
parent | 78f25c8abfc3358a46061772944d30027ceb8288 (diff) | |
download | uClibc-alpine-0b68c872deb676b0cb104bfb30a1f356072b5edf.tar.bz2 uClibc-alpine-0b68c872deb676b0cb104bfb30a1f356072b5edf.tar.xz |
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 <nenolod@dereferenced.org>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
(cherry picked from commit 4c24dabb9cea4c8148d7a7efc7a1df694424c483)
Diffstat (limited to 'libm/s_lib_version.c')
0 files changed, 0 insertions, 0 deletions