summaryrefslogtreecommitdiffstats
path: root/src/lib/crypto/md4/md4crypto.c
Commit message (Collapse)AuthorAgeFilesLines
* pull up 3des implementation from the marc-3des branchMarc Horowitz1998-10-301-385/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11001 dc483132-0cff-0310-8789-dd5450dbe970
* Windows/NT integration (V1_0_WIN32_BRANCH merge)Richard Basch1997-02-061-27/+46
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9788 dc483132-0cff-0310-8789-dd5450dbe970
* md4crypto.c:Richard Basch1996-05-221-2/+2
| | | | | | | | | The incorrect size was being used to compare the computed message digest and the supplied checksum for the "fixed" md4 case, causing decryption integrity failures. [Fixed by epeisach/audited by basch; fixes 'make check'] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8099 dc483132-0cff-0310-8789-dd5450dbe970
* Change use of RSA_MD4_DES_CKSUM_LENGTH to useTheodore Tso1996-05-201-35/+28
| | | | | | | OLD_RSA_MD4_DES_CKSUM_LENGTH and NEW_RSA_MD4_DES_CKSUM_LENGTH, as appropriate. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8065 dc483132-0cff-0310-8789-dd5450dbe970
* Define MD4_K5BETA_COMPAT and MD4_K5BETA_COMP_DEF so that we continueTheodore Tso1996-05-181-5/+9
| | | | | | | | | | | | doing things the wrong (broken) way. All hail backwards compatibility.... The code now generates the old checksum, but it will verify both the old and the correct checksum formats. Also fixed two bugs in the "correct" MD4_CRYPTO implementation; use a zero initialization vector, and calculate the confounder at the beginning of the message, not at the end. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8043 dc483132-0cff-0310-8789-dd5450dbe970
* * md4crypto.c md4glue.c:Richard Basch1996-05-151-1/+3
| | | | | | ensure the cksum content length is sufficient git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8024 dc483132-0cff-0310-8789-dd5450dbe970
* Renamed the functions to begin with krb5_ (like was done with MD5)Richard Basch1996-04-131-27/+27
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7805 dc483132-0cff-0310-8789-dd5450dbe970
* Removed ^M's from DOS integration. (Oops!)Theodore Tso1995-09-231-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6830 dc483132-0cff-0310-8789-dd5450dbe970
* md4crypt.c: put function prototype back in, fixed signed/unsignedTheodore Tso1995-09-231-4/+12
| | | | | | | | mismatch and removed unused variables. md4glue.c: put function prototypes back in. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6819 dc483132-0cff-0310-8789-dd5450dbe970
* Reintegrate the keytype->enctype changesEzra Peisach1995-09-121-4/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6756 dc483132-0cff-0310-8789-dd5450dbe970
* Mac Beta 1 submissionKeith Vetter1995-09-111-4/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6749 dc483132-0cff-0310-8789-dd5450dbe970
* * md4crypto.c : s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/gChris Provenzano1995-09-061-4/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6713 dc483132-0cff-0310-8789-dd5450dbe970
* * md4crypto.c : Replace KEYTYPE_DES_CBC_MD4 for KEYTYPE_DESChris Provenzano1995-09-061-4/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6677 dc483132-0cff-0310-8789-dd5450dbe970
* Correct implementation of RSA-MD4-DES checksums and add verifier ↵Paul Park1995-07-071-6/+276
| | | | | | procedure/dispatch git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6252 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
* md4crypto.c: Fix -Wall nitsTheodore Tso1995-06-091-1/+1
| | | | | | | configure.in: Remove standardized set of autoconf macros, which are now handled by CONFIG_RULES. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6019 dc483132-0cff-0310-8789-dd5450dbe970
* Windows global stuff:Keith Vetter1995-04-141-2/+2
| | | | | | | | | 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
* Two changes in the crypto directory: 1) 16 vs 32 bit errors in DES and 2)Keith Vetter1995-03-151-12/+0
| | | | | | removed crud for making a DLL (will be done at a higher level.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5123 dc483132-0cff-0310-8789-dd5450dbe970
* Finished off changed needed for making libcrypto.dll. Biggest changeKeith Vetter1995-03-041-0/+12
| | | | | | | is that you can't pull in data from a DLL so had to add three routines that return the address of various data structures. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5074 dc483132-0cff-0310-8789-dd5450dbe970
* Made the CRYPTO directories work on the PC by adding INTERFACE to all theKeith Vetter1995-02-211-4/+8
| | | | | | 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-6/+3
| | | | | | | | | * 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
* Added placeholder for magic numberTheodore Tso1994-10-041-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4448 dc483132-0cff-0310-8789-dd5450dbe970
* stamp out rcs keywordsMark Eichin1994-08-181-6/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4191 dc483132-0cff-0310-8789-dd5450dbe970
* Change export warning notice from "is assumed to require an export license"Theodore Tso1993-09-011-2/+2
| | | | | | to "may require..." git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2638 dc483132-0cff-0310-8789-dd5450dbe970
* Update copyright noticeJohn Kohl1991-06-061-2/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2156 dc483132-0cff-0310-8789-dd5450dbe970
* use byte counts, not bit countsJohn Kohl1991-02-271-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1807 dc483132-0cff-0310-8789-dd5450dbe970
* remove <krb5/copyright.h>John Kohl1991-02-261-1/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1789 dc483132-0cff-0310-8789-dd5450dbe970
* update to use latest MD4 codeJohn Kohl1991-02-261-20/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1788 dc483132-0cff-0310-8789-dd5450dbe970
* include count in the outputJohn Kohl1991-02-131-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1689 dc483132-0cff-0310-8789-dd5450dbe970
* need to encrypt the output, dummy!John Kohl1991-01-171-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1633 dc483132-0cff-0310-8789-dd5450dbe970
* cast the seed to an octet *John Kohl1991-01-031-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1613 dc483132-0cff-0310-8789-dd5450dbe970
* fix names of table entriesJohn Kohl1991-01-031-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1610 dc483132-0cff-0310-8789-dd5450dbe970
* *** empty log message ***John Kohl1991-01-031-0/+87
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1608 dc483132-0cff-0310-8789-dd5450dbe970