summaryrefslogtreecommitdiffstats
path: root/src/lib/crypto/md5/md5.c
Commit message (Collapse)AuthorAgeFilesLines
* Crypto modularity proj: Separate files under crypto directory based on their ↵Zhanna Tsitkov2009-08-031-343/+0
| | | | | | | | functionality. Move Kerberos specific files into krb subdir and MIT specific - into builtin subdir. Place all tests into crypto_tests subfolder. bigredbutton: whitespace git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22477 dc483132-0cff-0310-8789-dd5450dbe970
* If CONFIG_SMALL_NO_CRYPTO is defined, turn off CONFIG_SMALL changes for ↵Ken Raeburn2008-08-121-1/+1
| | | | | | crypto code only git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20648 dc483132-0cff-0310-8789-dd5450dbe970
* Make more uses of load/store_32_be/le, which on x86 at least expandsKen Raeburn2008-08-021-15/+3
| | | | | | | to a single unaligned load/store instruction, instead of open-coding the shifts and masks. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20599 dc483132-0cff-0310-8789-dd5450dbe970
* * md5.c (Transform) [CONFIG_SMALL]: Roll loops for each roundKen Raeburn2005-05-011-0/+56
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17208 dc483132-0cff-0310-8789-dd5450dbe970
* protoizeKen Raeburn2004-02-191-11/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16102 dc483132-0cff-0310-8789-dd5450dbe970
* Danilo also says we can get rid of _MSDOS (Win16) tests, and explicit ↵Ken Raeburn2001-10-061-7/+7
| | | | | | FAR/NEAR specs git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13786 dc483132-0cff-0310-8789-dd5450dbe970
* minor cleanup + audit issuesKen Raeburn2001-03-151-75/+69
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13084 dc483132-0cff-0310-8789-dd5450dbe970
* Various changes to:Ken Raeburn2000-01-221-3/+3
| | | | | | | | | | | | | | * make most non-changing data const * silence "gcc -Wall -Werror" complaints on sparc-solaris2.6 ** delete unused functions and variables ** change if(a=b) ... to if((a=b)) or if((a=b)!=0) [yeah, kinda gratuitous] ** insert extra braces for 2-D arrays * some basic thread safety checks Not changing afsstring2key.c until I make sure I've got some tests for it. Currently, prng.c and afsstring2key.c, at least, still aren't thread-safe. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11959 dc483132-0cff-0310-8789-dd5450dbe970
* * md5.c: Fix to deal with types longer than 32 bitsTom Yu1997-10-281-1/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10259 dc483132-0cff-0310-8789-dd5450dbe970
* Add #ifdef _WIN32 in places where we had #ifdef _MSDOSTheodore Tso1996-06-121-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8299 dc483132-0cff-0310-8789-dd5450dbe970
* Renamed the functions to be preceded with krb5_ (I ran into a namingRichard Basch1996-04-131-13/+13
| | | | | | | conflict with the standard MD5 library calls in another application, and this version has non-standard calling arguments.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7804 dc483132-0cff-0310-8789-dd5450dbe970
* Change PROTOTYPE -> KRB5_PROTOTYPETheodore Tso1995-06-211-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6113 dc483132-0cff-0310-8789-dd5450dbe970
* Windows global stuff:Keith Vetter1995-04-141-4/+4
| | | | | | | | | o removed INTERFACE from non-api functions o add FAR to pointers visible to the world o made the tests for __STDC__ also check for _WINDOWS o creates GSSAPI.DLL & GSSAPI.LIB as per spec. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5354 dc483132-0cff-0310-8789-dd5450dbe970
* Avoid <krb5/...> includesJohn Gilmore1995-02-281-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5006 dc483132-0cff-0310-8789-dd5450dbe970
* Made the CRYPTO directories work on the PC by adding INTERFACE to all theKeith Vetter1995-02-211-10/+13
| | | | | | functions and prototypes, and updating the Makefile.in. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4956 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (CFLAGS): Use -I../des to pull in include file.John Gilmore1995-01-261-1/+1
| | | | | | | * md5.c, md5crypto.c, md5glue.c, t_mddriver.c: Replace <.../...> includes with "..."s. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4850 dc483132-0cff-0310-8789-dd5450dbe970
* Add the UL macro to control how unsigned long constants are compiled.Theodore Tso1994-10-131-68/+74
| | | | | | | If we have an ANSI C environment, use the UL suffix to keep the compiler from warning about numbers that would overflow a signed long. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4498 dc483132-0cff-0310-8789-dd5450dbe970
* Change "UINT4" type to "krb5_ui_4"John Carr1992-08-211-25/+30
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2360 dc483132-0cff-0310-8789-dd5450dbe970
* Initial revisionJohn Carr1992-03-261-0/+290
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2271 dc483132-0cff-0310-8789-dd5450dbe970