summaryrefslogtreecommitdiffstats
path: root/src/lib/crypto/md4/md4.c
Commit message (Collapse)AuthorAgeFilesLines
* Crypto modularity proj: Separate files under crypto directory based on their ↵Zhanna Tsitkov2009-08-031-246/+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-16/+5
| | | | | | | 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
* * md4.c (Transform) [CONFIG_SMALL]: Roll loops for each roundKen Raeburn2005-05-011-0/+23
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17207 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-16/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13081 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/+4
| | | | 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-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8299 dc483132-0cff-0310-8789-dd5450dbe970
* Renamed the functions to begin with krb5_ (like was done with MD5)Richard Basch1996-04-131-7/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7805 dc483132-0cff-0310-8789-dd5450dbe970
* Allow md4.c to be optimized by native DEC compilersPaul Park1995-06-271-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6170 dc483132-0cff-0310-8789-dd5450dbe970
* * md4.c: reverse sense of KRB5_PROVIDE_PROTOTYPESTom Yu1995-06-231-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6155 dc483132-0cff-0310-8789-dd5450dbe970
* Windows global stuff:Keith Vetter1995-04-141-5/+5
| | | | | | | | | 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
* 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): Add -I../des to pull in DES header file.John Gilmore1995-01-261-2/+2
| | | | | | | | | * rsa-md4.h: New include file, moved from include/krb5, since it's only used locally. * md4.c, md4crypto.c, md4driver.c, md4glue.c: Replace <.../...> includes with "..."s. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4849 dc483132-0cff-0310-8789-dd5450dbe970
* Add the UL macro to control how unsigned long constants are compiled.Theodore Tso1994-10-131-6/+12
| | | | | | | 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
* stamp out rcs keywordsMark Eichin1994-08-181-7/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4191 dc483132-0cff-0310-8789-dd5450dbe970
* Change "UINT4" type to "krb5_ui_4"John Carr1992-08-211-24/+24
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2360 dc483132-0cff-0310-8789-dd5450dbe970
* add support for KRB5_PROVIDE_PROTOTYPESJohn Kohl1991-04-231-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2028 dc483132-0cff-0310-8789-dd5450dbe970
* fix up #ifdef on rcsid_md4_cJohn Kohl1991-03-011-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1822 dc483132-0cff-0310-8789-dd5450dbe970
* forgot to /* */ a comment on #endifJohn Kohl1991-02-261-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1787 dc483132-0cff-0310-8789-dd5450dbe970
* kerberizeJohn Kohl1991-02-261-1/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1785 dc483132-0cff-0310-8789-dd5450dbe970
* updated code from RFCJohn Kohl1991-02-261-297/+205
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1782 dc483132-0cff-0310-8789-dd5450dbe970
* fix problem with referencing past end of array on byte-alignedJohn Kohl1991-01-171-4/+12
| | | | | | input git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1634 dc483132-0cff-0310-8789-dd5450dbe970
* change to copy onto stack to avoid modifying input in MDupdateJohn Kohl1990-11-081-15/+30
| | | | | | | add Kerberos byte-order detection some compilers will require the "L" qualifier on long constants. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1417 dc483132-0cff-0310-8789-dd5450dbe970
* Initial code from RFCJohn Kohl1990-11-071-0/+299
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1414 dc483132-0cff-0310-8789-dd5450dbe970