aboutsummaryrefslogtreecommitdiff
path: root/libbb/pw_encrypt.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* libbb: move crypt_make_salt() to pw_encrypt.c, reuseDenis Vlasenko2008-12-071-9/+46
| | | | | | | | | | bin-to-ascii64 conversion which does not require an array. function old new delta to64 29 33 +4 to64_msb_first 63 62 -1 ascii64 65 - -65
* libbb: add optionl support for SHA256/512 encrypted passwordsDenis Vlasenko2008-11-101-15/+28
| | | | | | | | | | | | | | | 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
* libbb: add a TODO to support new SHA-based encrypted passwordsDenis Vlasenko2008-11-071-12/+5
|
* *: introduce and use FAST_FUNC: regparm on i386, otherwise no-onDenis Vlasenko2008-06-271-2/+2
| | | | | | | text data bss dec hex filename 808035 611 6868 815514 c719a busybox_old 804472 611 6868 811951 c63af busybox_unstripped
* whitespace and comment fixes, no code changesDenis Vlasenko2008-06-161-4/+0
|
* Specially for Bernhard Fischer introduce USE_BB_CRYPTDenis Vlasenko2008-06-151-0/+17
| | | | | which selects between libc/custom crypt routines.
* make pw_encrypt() return malloc'ed string.Denis Vlasenko2008-06-121-4/+3
| | | | | | | text data bss dec hex filename 759802 604 6684 767090 bb472 busybox_old 759804 604 6676 767084 bb46c busybox_unstripped
* uclibc insists on having 70k static buffer for crypt.Denis Vlasenko2008-06-121-4/+49
| | | | | | | | | | | | 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.
* libbb: random hunt for staticsDenis Vlasenko2007-06-181-7/+5
| | | | | | | | | | | | | | | | function old new delta bb_askpass 306 321 +15 pw_encrypt 38 39 +1 static.passwd 64 4 -60 static.cipher 128 4 -124 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/2 up/down: 16/-184) Total: -168 bytes # size busybox_old busybox_unstripped text data bss dec hex filename 683705 2704 14240 700649 ab0e9 busybox_old 683721 2704 14064 700489 ab049 busybox_unstripped
* passwd: small size optimization. salt generation improvedDenis Vlasenko2006-11-301-1/+0
| | | | (really generated different salts even if called back-to-back).
* usage.h: fix compile-time bugs exposed by previous changeDenis Vlasenko2006-09-271-3/+1
|
* Replace current verbose GPL stuff in libbb/*.c with one-line GPL boilerplate."Robert P. J. Day"2006-07-101-14/+1
|
* skip_whitespace() shouldn't claim its return value is const, it doesn't knowRob Landley2006-06-181-1/+1
| | | | that and callers wind up typecasting it back.
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley2006-03-061-1/+1
| | | | definitions. (That should only be on prototypes.)
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-1/+1
|
* Update a bunch of docs. Run a script to update my email addr.Eric Andersen2003-07-141-1/+1
|
* Vodz, last_patch_86Glenn L McGrath2003-05-261-4/+1
|
* Port over the last of the tinylogin appletsEric Andersen2002-06-231-0/+48
-Erik