summaryrefslogtreecommitdiff
path: root/libcrypt/des.c
AgeCommit message (Collapse)Author
2023-07-30des.c: constify des tablesMax Filippov
DES tables take up a huge amount of space in the .bss and they aren't even variable. Generate constant tables and put them into des_tables.c and drop constants and code used to generate them from des.c This saves ~70KBytes of the .bss and ~3KBytes of the total library size: text data bss dec hex filename - 618508 25652 89400 733560 b3178 lib/libuClibc-1.0.42.so + 685664 25672 19488 730824 b26c8 lib/libuClibc-1.0.42.so Modified libc passes the DES validation suite from the uclibc-ng-test. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2012-06-15remove __FORCE_GLIBCPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2008-12-01rpc: ifdef out xdrrec_{get,put}long if int32 == long,Denis Vlasenko
otherwise use xdrrec_{get,put}int32 + trivial transform. eliminate warnings. des: small shrink + eliminate a warning
2008-07-23- trim any trailing whitespaceBernhard Reutner-Fischer
2008-06-13des: des_setkey always returns 0, there is no pointDenis Vlasenko
in checking whether it returns 1. text data bss dec hex filename - 4283 0 70209 74492 122fc libcrypt/des.o + 4273 0 70209 74482 122f2 libcrypt/des.o
2008-06-10Revert revision 19342, plus one whitespace fix demanded by the pre-commitBernd Schmidt
hook.
2007-07-30patch #3: make resolv.c use __uc_mallocDenis Vlasenko
2007-07-30convert des.c to use __uc_malloc (-70 kbytes of bss)Denis Vlasenko
2007-07-18des.c: move 0.5k of static data on stack, they are used only temporarilyDenis Vlasenko
by des_init.
2006-08-24fix by Bernhard Fischer to move local prototypes to a header to keep things saneMike Frysinger
2006-01-26Get rid of missing prototype warningsPeter S. Mazinger
2005-12-27fix salt type in setup_salt()Mike Frysinger
2005-11-21Hide __des_crypt/__md5_cryptPeter S. Mazinger
2005-08-11fix some sign warnings pointed out by gcc-4Mike Frysinger
2002-08-07Cleanup crypt and remove the crypt_r stuff, since SuSv3Eric Andersen
(IEEE Std 1003.1-2001) states that crypt need not be reentrant. -Erik
2002-06-13Begin efforts at reentrance by seperating out the stuff that isn'tEric Andersen
reentrant and labeling it, and making everything else const. -Erik
2002-05-24Fix libcrypt, thanks to Vadim Berkgaut <berk@rc.ru>Eric Andersen
2002-04-25Rework libcrypt based on the openbsd crypt implementation so that it passes theEric Andersen
DES validation suite. setkey_r, encrypt_r, and __des_crypt_r are not really reentrant now, and that should be fixed (or we should drop crypt_r and friends which are not supported by SuSv3). -Erik
2002-02-26Adjust function naming and make sure everything is properlyEric Andersen
static to avoid symbol leakage. -Erik
2001-12-19Update my email address. I am no longer andersen@lineo.comEric Andersen
2001-06-29Fix a missing include in des.c and add configurability of loop unrollingManuel Novoa III
to md5.c. Note: by default it is smallest/slowest.
2001-06-28I missed an item when reentrantifying des.c, reuse a smallerEric Andersen
field for md5.c -Erik
2001-06-28Replace the crypt implementation with one based on crypt(3) from minix,Eric Andersen
fixing a licensing problem with the previous version. Manuel did the initial port, and I fixed it up to be reentrant. I hope I didn't break anything... -Erik
2001-04-19Add in a libcrypt implementation. About 8k.Eric Andersen
-Erik