svn commit: trunk/busybox: include libbb loginutils networking

vda at busybox.net vda at busybox.net
Thu Jun 12 16:56:00 UTC 2008


Author: vda
Date: 2008-06-12 09:55:59 -0700 (Thu, 12 Jun 2008)
New Revision: 22307

Log:
uclibc insists on having 70k static buffer for crypt.
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.



Added:
   trunk/busybox/libbb/pw_encrypt_des.c
   trunk/busybox/libbb/pw_encrypt_md5.c

Modified:
   trunk/busybox/include/libbb.h
   trunk/busybox/libbb/correct_password.c
   trunk/busybox/libbb/pw_encrypt.c
   trunk/busybox/loginutils/chpasswd.c
   trunk/busybox/loginutils/cryptpw.c
   trunk/busybox/loginutils/passwd.c
   trunk/busybox/loginutils/sulogin.c
   trunk/busybox/networking/httpd.c


Changeset:

Sorry, the patch is too large to include (1632 lines).
Please use ViewCVS to see it!

http://busybox.net/cgi-bin/viewcvs.cgi?view=rev&root=svn&rev=22307



More information about the busybox-cvs mailing list