aboutsummaryrefslogtreecommitdiff
path: root/libbb/pw_encrypt_md5.c
AgeCommit message (Collapse)Author
2008-06-14crypt: code shrinkDenis Vlasenko
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
2008-06-13trivial crypt shrinkageDenis Vlasenko
function old new delta __md5_to64 27 29 +2 pw_encrypt 3631 3608 -23
2008-06-12uclibc insists on having 70k static buffer for crypt.Denis Vlasenko
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.