summaryrefslogtreecommitdiffstats
path: root/src/lib/crypto
Commit message (Collapse)AuthorAgeFilesLines
...
* Made the shared library makefile changes not apply to the PCKeith Vetter1995-06-035-9/+50
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5938 dc483132-0cff-0310-8789-dd5450dbe970
* Add timestamp check file required by libupdate.shTheodore Tso1995-05-271-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5909 dc483132-0cff-0310-8789-dd5450dbe970
* Add support building shared librariesTheodore Tso1995-05-2618-14/+120
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5885 dc483132-0cff-0310-8789-dd5450dbe970
* * key_sched.c (mit_des_key_sched): *always* fill in the schedule,Mark Eichin1995-05-122-2/+8
| | | | | | | regardless of the key failing other tests, as a defense against telnet-style bugs. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5802 dc483132-0cff-0310-8789-dd5450dbe970
* removed unneeded #include of wordsize.hTheodore Tso1995-04-202-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5387 dc483132-0cff-0310-8789-dd5450dbe970
* Add Cygnus's "Sanitize" system to the krb5 tree, to make it easier to doTheodore Tso1995-04-147-0/+300
| | | | | | releases.... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5359 dc483132-0cff-0310-8789-dd5450dbe970
* Windows global stuff:Keith Vetter1995-04-1437-101/+135
| | | | | | | | | 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
* Chasing an elusive nmake bugKeith Vetter1995-03-292-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5306 dc483132-0cff-0310-8789-dd5450dbe970
* Bring in portability fixes from Cygnus K4 releaseJohn Gilmore1995-03-287-58/+93
| | | | | | | | | | | | | * f_cbc.c, f_cksum.c, f_pcbc.c: Replace individual casts with simpler solution. * f_tables.h: Insert debugging code, and circumvention for MPW compiler bug. * key_sched.c: Remove ancient (microvax??!) comments, and dup prototype. * verify.c: Small hack for MS-Windows scrolling. Fix spelling. "register x" -> "register int x". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5288 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (memmove.c): memmove.c is in krb5/posix, not krb5/osMark Eichin1995-03-252-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5249 dc483132-0cff-0310-8789-dd5450dbe970
* Use $(SRCTOP) instead of $(srcdir), since Mac's don't like dealingTheodore Tso1995-03-242-6/+11
| | | | | | with $(U)$(U). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5234 dc483132-0cff-0310-8789-dd5450dbe970
* Repair some makefile changes which broke the PC buildKeith Vetter1995-03-222-3/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5196 dc483132-0cff-0310-8789-dd5450dbe970
* Fix rules for localdr.c, ustime.c, and memmove.c so that theyTheodore Tso1995-03-182-6/+11
| | | | | | | reference $(srcdir) where appropriate. (The conversion to use the $(S)$(U) hacks screwed this up.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5160 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (LDFLAGS): Eliminate, comes in from pre.in.John Gilmore1995-03-172-9/+14
| | | | | | | (all-mac): Add. (localaddr.c, ustime.c, memmove.c): Fix paths to work on Mac. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5146 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (LDFLAGS): Remove, conflicts with pre.in.John Gilmore1995-03-172-11/+12
| | | | | | | | (all): Remove all-$(WHAT) stuff. (t_mddriver): Make it build on Mac. (check): Use $(EXEEXT). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5145 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (CFLAGS): Tweak for Unix->MPW converter.John Gilmore1995-03-172-10/+13
| | | | | | | | | (LDFLAGS): Remove, conflicts with pre.in. (all): Remove all-$(WHAT) stuff, generalize for all platforms. (t_mddriver): Remove t_mddriver-$(WHAT) stuff, ditto. (check): Use $(EXEEXT). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5144 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (LDFLAGS): Remove, conflicts with pre.in.John Gilmore1995-03-173-7/+19
| | | | | | | | | | | (clean): Insert FIXME. (verify$(EXEEXT), destest$(EXEEXT)): Make them work on Mac. (check-mac): Add, identical to Unix. (clean): Use $(EXEEXT). * des_int.h (mit_des_cbc_cksum): Fix prototype from void to long, to match the actual function. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5143 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (crctest, crctest.exe): Replace crctest-unix andJohn Gilmore1995-03-172-5/+10
| | | | | | | crctest-windows with versions that work for Mac too. (check): Build and run crctest$(EXEEXT). This runs on MPW now. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5142 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (CFLAGS): Avoid continuation line that starts withJohn Gilmore1995-03-172-5/+13
| | | | | | | | | | dash; it confuses the Unix->MPW makefile converter. (##DOSLIBNAME): No longer needed since DLL built one level up. (all-mac): Add. (libcrypto.a): Use explicit "./" on paths to DONE files, to help Unix->MPW makefile converter with rotten Mac pathname conventions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5141 dc483132-0cff-0310-8789-dd5450dbe970
* Added 3 new files and changed the makefile in lib to be able to make a DLLKeith Vetter1995-03-162-16/+21
| | | | | | on the PC out of the source in crypto, krb5 and util\et. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5130 dc483132-0cff-0310-8789-dd5450dbe970
* Two changes in the crypto directory: 1) 16 vs 32 bit errors in DES and 2)Keith Vetter1995-03-1516-210/+85
| | | | | | 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
* Added syntactic sugar for Windows segmented architectureKeith Vetter1995-03-082-3/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5083 dc483132-0cff-0310-8789-dd5450dbe970
* Finished off changed needed for making libcrypto.dll. Biggest changeKeith Vetter1995-03-049-9/+69
| | | | | | | 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
* Added the files and changes needed to create a dll out of libcryptoKeith Vetter1995-03-0320-43/+198
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5068 dc483132-0cff-0310-8789-dd5450dbe970
* Remove reference to $(ISODELIB)Theodore Tso1995-03-022-2/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5066 dc483132-0cff-0310-8789-dd5450dbe970
* Remove ISODE_INCLUDE, replace check for -lsocket and -lnsl withTheodore Tso1995-03-012-3/+6
| | | | | | WITH_NETLIB check. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5039 dc483132-0cff-0310-8789-dd5450dbe970
* Avoid <krb5/...> includesJohn Gilmore1995-02-2812-10/+27
| | | | 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-2140-160/+333
| | | | | | functions and prototypes, and updating the Makefile.in. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4956 dc483132-0cff-0310-8789-dd5450dbe970
* Experimental checkinKeith Vetter1995-02-202-1/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4953 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: made to work under WindowsJohn Gilmore1995-02-154-14/+32
| | | | | | | | | | | | | | | - added windows only make preamble - moved the all target after the objects it depends on - used $(OBJEXT) and $(EXEEXT) where needed - split crctest into unix rules and windows rules - changed file separatars into macros where needed * crctest.c: changed int to long to work on 16 bit machines * crc.c: added Windows calling convention to the function and casted the assignment of the function. [There's a minor problem -- the cast should be fixed another way -- but I'll check it in this way and then Keith will fix it.] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4949 dc483132-0cff-0310-8789-dd5450dbe970
* Add KRB5_INT32 definitions for non-32 int platformsTheodore Tso1995-02-082-0/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4925 dc483132-0cff-0310-8789-dd5450dbe970
* Add .cvsignore file so that cvs ignores the autoconf-built configure fileTheodore Tso1995-02-036-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4904 dc483132-0cff-0310-8789-dd5450dbe970
* Remove unused cruft from des_int.hTheodore Tso1995-02-032-73/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4901 dc483132-0cff-0310-8789-dd5450dbe970
* Fix typo; "%02 X" --> "%02X"Theodore Tso1995-02-032-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4891 dc483132-0cff-0310-8789-dd5450dbe970
* Rename files so that they work in the DOS LIB command,John Gilmore1995-02-035-6/+17
| | | | | | | | | | | | which amazingly finds dashes in mid-name and treats them like option switches. * des-crc.c => des_crc.c * des-md5.c => des_md5.c * raw-des.c => raw_des.c * Makefile.in: changed to match. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4888 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (CFLAGS): Handle $(srcdir) properly in -I optionsJohn Gilmore1995-02-026-3/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4877 dc483132-0cff-0310-8789-dd5450dbe970
* * rnd_confoun.c: Replace <.../...> includes with "..."sJohn Gilmore1995-01-262-2/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4852 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (CFLAGS): Use -I../des to pull in include file.John Gilmore1995-01-266-13/+14
| | | | | | | * 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
* * Makefile.in (CFLAGS): Add -I../des to pull in DES header file.John Gilmore1995-01-267-20/+120
| | | | | | | | | * 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
* * cbc_cksum.c, cs_entry.c, des.h, destest.c, f_sched.c,John Gilmore1995-01-2616-69/+27
| | | | | | | | fin_rndkey.c, finish_key.c, init_rkey.c, key_sched.c, new_rn_key.c, process_ky.c, random_key.c, string2key.c, verify.c, weak_key.c: Replace <.../...> includes with "..."s. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4848 dc483132-0cff-0310-8789-dd5450dbe970
* * crc-32.h: New file, moved from include/krb5/crc-32.h.John Gilmore1995-01-264-6/+44
| | | | | | * crc.c, crctest.c: Replace <.../...> includes with "..."s. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4847 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (CFLAGS): Add -I options to pick up include filesJohn Gilmore1995-01-266-34/+24
| | | | | | | | from the various algorithm subdirs. * cryptoconf.c, des-crc.c, des-md5.c, raw-des.c: Replace most <.../...> include files with "..." includes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4846 dc483132-0cff-0310-8789-dd5450dbe970
* * Removed all narrow types and references to wide.h and narrow.hChris Provenzano1995-01-252-7/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4837 dc483132-0cff-0310-8789-dd5450dbe970
* it belongs here insteadMark Eichin1995-01-181-0/+54
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4821 dc483132-0cff-0310-8789-dd5450dbe970
* Removed all references to DECLARG and OLDDECLARGChris Provenzano1995-01-1313-111/+78
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4809 dc483132-0cff-0310-8789-dd5450dbe970
* Add magic numbers to keyblock structureTheodore Tso1994-11-192-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4701 dc483132-0cff-0310-8789-dd5450dbe970
* Change internal calling signature to pass in the encryption block, soTheodore Tso1994-11-084-5/+22
| | | | | | | that the encryption type in the keyblock structure can be properly initialized. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4649 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: stop building f_pcbc.c, since it belongs inMark Eichin1994-11-032-2/+7
| | | | | | libdes425, but leave it here for reference. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4627 dc483132-0cff-0310-8789-dd5450dbe970
* Conversion of autoconfigury to Autoconf V2Mark Eichin1994-10-266-8/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4576 dc483132-0cff-0310-8789-dd5450dbe970
* Use the srand48/lrand48 functions if availableTheodore Tso1994-10-243-23/+40
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4563 dc483132-0cff-0310-8789-dd5450dbe970