libbb: add optionl support for SHA256/512 encrypted passwords
authorDenis Vlasenko <vda.linux@googlemail.com>
Mon, 10 Nov 2008 18:52:35 +0000 (18:52 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Mon, 10 Nov 2008 18:52:35 +0000 (18:52 -0000)
commit2211d5268cc6fc5575f758a9835070fae5ffc405
tree46b23253b2be2c2c5bcdb6909a740e894a93ae07
parent56dceb9b7722193ef53fb1afb981f1289eecb0b0
libbb: add optionl support for SHA256/512 encrypted passwords

function                                             old     new   delta
sha_crypt                                              -    2423   +2423
cryptpw_main                                         128     183     +55
to64                                                   -      29     +29
pw_encrypt                                           974    1000     +26
str_rounds                                             -      11     +11
login_main                                          1532    1541      +9
packed_usage                                       25215   25200     -15
__md5_to64                                            29       -     -29
------------------------------------------------------------------------------
(add/remove: 3/1 grow/shrink: 3/1 up/down: 2553/-44)         Total: 2509 bytes
coreutils/Kbuild
include/usage.h
libbb/pw_encrypt.c
libbb/pw_encrypt_md5.c
libbb/pw_encrypt_sha.c [new file with mode: 0644]
loginutils/Config.in
loginutils/cryptpw.c