aboutsummaryrefslogtreecommitdiff
path: root/libbb/pw_encrypt_md5.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* libbb/crypt: code shrinkDenis Vlasenko2008-12-041-6/+0
| | | | | | | | | function old new delta to64_msb_first - 63 +63 des_crypt 1509 1338 -171 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/1 up/down: 63/-171) Total: -108 bytes
* libbb: disable a second md5 implementation which managed to creep in :)Denis Vlasenko2008-11-111-510/+39
| | | | | | | | | | | | | | | | | | | | function old new delta sha512_end 239 237 -2 sha256_end 162 160 -2 sha1_end 191 189 -2 md5_end 168 166 -2 __md5__magic 4 - -4 md5_crypt 627 621 -6 static.S 16 - -16 __md5_Init 42 - -42 static.P 64 - -64 __md5_Final 131 - -131 __md5_Update 153 - -153 static.C 268 12 -256 __md5_Transform 293 - -293 ------------------------------------------------------------------------------ (add/remove: 0/7 grow/shrink: 0/6 up/down: 0/-973) Total: -973 bytes
* libbb: add optionl support for SHA256/512 encrypted passwordsDenis Vlasenko2008-11-101-12/+2
| | | | | | | | | | | | | | | 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
* crypt: code shrinkDenis Vlasenko2008-06-141-13/+4
| | | | | | | | | | function old new delta des_crypt - 1682 +1682 md5_crypt - 627 +627 pw_encrypt 3608 1036 -2572 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 0/1 up/down: 2309/-2572) Total: -263 bytes
* trivial crypt shrinkageDenis Vlasenko2008-06-131-7/+8
| | | | | | | function old new delta __md5_to64 27 29 +2 pw_encrypt 3631 3608 -23
* uclibc insists on having 70k static buffer for crypt.Denis Vlasenko2008-06-121-0/+656
For bbox it's not acceptable. Roll our own des and md5 crypt implementation. Against older uclibc: text data bss dec hex filename 759945 604 6684 767233 bb501 busybox_old 759766 604 6684 767054 bb44e busybox_unstripped so, we still save on code size.