2000-01-24 Tom Yu <tlyu@mit.edu> * crypto_libinit.c: Add terminating newline; use 0 and 1 instead of false and true. Fri Jan 21 22:47:00 2000 Miro Jurisic <meeroh@mit.edu> * Makefile.in: added crypto_libinit.[co] * crypto_libinit.[ch]: new files, contain library initialization and cleanup code 2000-01-21 Ken Raeburn <raeburn@mit.edu> * cksumtypes.c (krb5_cksumtypes_list, krb5_cksumtypes_length): Now const. * cksumtypes.h (krb5_cksumtypes_list, krb5_cksumtypes_length): Updated decls. * etypes.c (krb5_enctypes_list, krb5_enctypes_length): Now const. * etypes.h (krb5_enctypes_list, krb5_enctypes_length): Updated decls. * make_random_key.c (krb5_c_make_random_key): Pointers to enc_provider table now point to const. * prng.c (enc): Now static and const, and points to const. * string_to_key.c (krb5_c_string_to_key): Ditto. * hmac.c (krb5_hmac): Put extra parens around if(a=b) constructs to keep gcc happy. * make_random_key.c (krb5_c_make_random_key): Ditto. * old_api_glue.c (krb5_encrypt, krb5_decrypt, krb5_random_key, krb5_calculate_checksum, krb5_verify_checksum, krb5_encrypt_data, krb5_decrypt_data): Ditto. * prng.c (krb5_c_random_make_octets): Ditto. * string_to_key.c (krb5_c_string_to_key): Ditto. * verify_checksum.c (krb5_c_verify_checksum): Ditto. * make_checksum.c: Include dk.h. * nfold.c (krb5_nfold): Delete unused variables. 1999-10-26 Tom Yu <tlyu@mit.edu> * Makefile.in: Clean up usage of CFLAGS, CPPFLAGS, DEFS, DEFINES, LOCAL_INCLUDES such that one can override CFLAGS from the command line without losing CPP search patchs and defines. Some associated Makefile cleanup. [from wsanchez@apple.com] 1999-08-26 Tom Yu <tlyu@mit.edu> * etypes.c: Add aliases "des" for "des-cbc-md5", "des3-hmac-sha1" and "des3-cbc-sha1-kd" for "des3-cbc-sha1". * cksumtypes.c: Add alias "hmac-sha1-des3-kd". 1999-08-18 Tom Yu <tlyu@mit.edu> * etypes.c: Update des3-cbc-sha1 to alignt with new number assignments. * cksumtypes.c: Update hmac-sha1-des3 to align with new number assignments. Tue May 18 19:52:56 1999 Danilo Almeida <dalmeida@mit.edu> * Makefile.in: Remove - from recursive Win32 make invocation. Mon May 10 15:15:00 1999 Danilo Almeida <dalmeida@mit.edu> * Makefile.in: Do win32 build in subdir. Tue Jan 5 00:06:02 1999 Tom Yu <tlyu@mit.edu> * make_checksum.c (krb5_c_make_checksum): Note the fact that we're punting on dealing with backwards compat with length-included checksums. * etypes.c: Add ENCTYPE_LOCAL_DES3_HMAC_SHA1 as a temporary kludge. Note that this is added to the end of the array so other code can lop off the last member of the array and the right thing will happen so that it is possible to disable des3-marc-hmac-sha1 from the KDC command line, for instance. * configure.in: Conditionalize ATHENA_DES3_KLUDGE on --enable-athena. 1998-11-13 Theodore Ts'o <tytso@rsts-11.mit.edu> * Makefile.in: Set the myfulldir and mydir variables (which are relative to buildtop and thisconfigdir, respectively.) Thu Dec 3 23:37:28 1998 Theodore Y. Ts'o <tytso@mit.edu> * Makefile.in: Added missing "cd .." necessary for making this compile under Windows. Also added missing *.lst files to OBJFILELIST. Fri Nov 6 10:23:32 1998 Ezra Peisach <epeisach@mit.edu> * keyhash_provider/Makefile.in: Fix to allow building out of the source tree. Tue Sep 22 21:19:01 1998 Tom Yu <tlyu@mit.edu> * prng.c (krb5_c_random_make_octets): Fix to nfold into 15 bytes, not one byte. Mon Sep 21 15:23:19 1998 Tom Yu <tlyu@mit.edu> * prng.c (krb5_c_random_seed): Fix memory leak. Mon Sep 14 23:21:17 1998 Tom Yu <tlyu@mit.edu> * old/decrypt.c (krb5_old_decrypt): Fix memory leak. Tue Sep 1 19:33:38 1998 Tom Yu <tlyu@mit.edu> * etypes.c: Add ETYPE_LOCAL_DES3_HMAC_SHA1 to deal with marc's des3 code. ETYPE_DES3_HMAC_SHA1 remains the same for now. Mon Aug 17 23:40:11 1998 Tom Yu <tlyu@mit.edu> * keyhash_provider/k5_md4des.c (k5_md4des_verify): Add compatibility for krb5-beta5 checksums. * keyhash_provider/k5_md5des.c (k5_md5des_verify): Add compatibility for krb5-beta5 checksums. Fix typos similar to those corrected in k5_md4des.c. Sun Jul 19 12:00:00 1998 Marc Horowitz <marc@mit.edu> * *.c: replace the crypto layer. Wed Apr 15 18:02:44 1998 Tom Yu <tlyu@mit.edu> * Makefile.in (LIB): Rename to k5crypto. Wed Feb 18 16:05:11 1998 Tom Yu <tlyu@mit.edu> * Makefile.in: Remove trailing slash from thisconfigdir. Fix up BUILDTOP for new conventions. Fri Feb 13 15:19:37 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> * Makefile.in: Define LOCAL_SUBDIRS to recurse into the subdirectories (crc32, md5, os, etc.) * configure.in: Create the makefiles for all of the subdirectories and move all of the configure.in tests from the subdirectories into this configure.in. Mon Feb 2 17:02:29 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> * configure.in: Use AC_CONFIG_DIRS instead of CONFIG_DIRS, and remove use of DO_SUBDIRS. * Makefile.in: Define BUILDTOP and thisconfigdir in the Makefile Tue Oct 14 15:34:44 1997 Tom Yu <tlyu@voltage-multiplier.mit.edu> * Makefile.in: Bump major version due to possible size changes. Fri Feb 21 18:40:13 1997 Sam Hartman <hartmans@tertius.mit.edu> * Makefile.in (OBJS): Move in crypto_glue.c as krb5_glue.c; avoid libcrypto depending on libkrb5 Sat Feb 22 01:37:23 1997 Sam Hartman <hartmans@luminous.MIT.EDU> * Makefile.in (LIBMINOR): Bump minor version Sun Dec 29 21:52:44 1996 Tom Yu <tlyu@mit.edu> * Makefile.in: * configure.in: Update to use new library build procedure. Sat Nov 23 00:22:20 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> * cryptoconf.c: Also zero out the entries in cryptoconf, to make sure no one tries to use triple DES and SHA. Fri Nov 22 20:49:13 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> * configure.in (enableval): Disable triple DES and SHA, since what's there isn't the final triple DES. [PR#231] Mon Nov 18 20:38:24 1996 Ezra Peisach <epeisach@mit.edu> [krb5-libs/201] * configure.in: Set shared library version to 1.0. Thu Jun 6 00:04:38 1996 Theodore Y. Ts'o <tytso@mit.edu> * Makefile.in (all-windows): Don't pass $(LIBCMD) on the command line. It's set in the windows.in prologue for all Makefiles anyway. Thu Jun 6 00:03:05 1996 Theodore Y. Ts'o <tytso@mit.edu> * Makefile.in (MAC_SUBDIRS): Include sha in the list of subdirectories for the Macintosh Mon May 20 10:59:23 1996 Tom Yu <tlyu@dragons-lair.MIT.EDU> * Makefile.in (libcrypto.$(STEXT): deal with new improved libupdate Sat May 18 13:34:01 1996 Ezra Peisach (epeisach@paris) * des3_sha.c: Add static keywords in function declarartions to match earlier declarations. Tue May 14 15:14:20 1996 Richard Basch <basch@lehman.com> * cryptoconf.c: replaced sha-des3 cksum with hmac-sha * des_crc.c des_md5.c: set the length field of the cksum structure. * des3_sha.c: Increase the confounder length to 24 bytes. Set the length of the cksum structure. Fri May 10 01:34:46 1996 Richard Basch <basch@lehman.com> * configure.in cryptoconf.c des3_sha.c: Support enctype-des3-sha, cksum-sha, cksum-sha-des3 * Removed des3_md5.c (and all des3-md5 support). Tue Apr 30 00:38:14 1996 Ken Raeburn <raeburn@cygnus.com> * Makefile.in (libcrypto.$(STEXT)): Remove before creating. Thu May 2 18:48:35 1996 Richard Basch <basch@lehman.com> * des3_md5.c des3_raw.c: use the new common random routines for des & des3 (the old des3 routines have been removed) Sat Mar 30 22:52:46 1996 Theodore Y. Ts'o <tytso@dcl> * cryptoconf.c: Fixed comments describing the various checksum types. (Added numbers, and fixed a mistake in a description of an undefined checksum type.) Thu Mar 28 09:49:08 1996 Richard Basch <basch@lehman.com> * cryptoconf.c: Added support for CKSUMTYPE_RSA_MD5_DES3 and ENCTYPE_DES3_CBC_RAW * des3_md5.c: Abstraction correction: use sizeof(mit_des3_cblock) * configure.in: Cosmetic renaming of des-cbc-raw configuration vars. Added support for des3-cbc-raw. * des3_raw.c: New file (support ENCTYPE_DES3_CBC_RAW) Mon Mar 11 10:59:40 1996 Ezra Peisach <epeisach@kangaroo.mit.edu> * des_crc.c (mit_des_crc_decrypt_func): Add const to pointer cast for suncc warning. Wed Feb 7 00:23:18 1996 Theodore Y. Ts'o <tytso@dcl> * Makefile.in: Folded in danw's changes to allow building Makefiles for the Macintosh. We now can build MPW makefiles which are interpreted by CodeWarrior. Mon Nov 13 11:30:10 1995 Theodore Y. Ts'o <tytso@dcl> * encrypt_data.c (krb5_encrypt_data): New file. A generic routine for encrypting data in a krb5_data structure. Fills in a krb5_enc_data structure. * decrypt_data.c (krb5_decrypt_data): New file. A generic routine for decrypting data in a krb5_enc_data structure. Fills in a krb5_data structure. * Makefile.in (SRCS): Added decrypt_data.c and encrypt_data.c to list of files to be compiled. Fri Oct 6 22:01:04 1995 Theodore Y. Ts'o <tytso@dcl> * Makefile.in: Remove ##DOS!include of config/windows.in. config/windows.in is now included by wconfig. Thu Oct 5 21:32:33 1995 Theodore Y. Ts'o <tytso@dcl> * cryptoconf.c: Change types of krb5_max_enctype and krb5_max_cksumtype to be krb5_enctype and krb5_cksumtype, to fix some gcc -Wall flames. Mon Oct 2 10:34:12 1995 Ezra Peisach <epeisach@kangaroo.mit.edu> * configure.in (V5_MAKE_SHARED_LIB): Change for version 0.1 of shared library. Remove install lines which are in aclocal.m4 Mon Sep 25 16:26:53 1995 Theodore Y. Ts'o <tytso@dcl> * Makefile.in: Removed "foo:: foo-$(WHAT)" lines from the Makefile. * configure.in: Don't include "all:: all-$(WHAT)" at the end of the Makefile. That's now included at the very beginning by pre.in Wed Sep 13 10:26:37 1995 Keith Vetter (keithv@fusion.com) * Makefile.in: moved shared rule to all-unix:: target. * des_crc.c, des_md5.c, raw_des.c: had a volatile/const mismatch which needs a cast to resolve. Wed Sep 06 14:20:57 1995 Chris Provenzano (proven@mit.edu) * cryptoconf.c, des_crc.c, des_md5.c raw_des.c s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/g Tue Sep 05 22:10:34 1995 Chris Provenzano (proven@mit.edu) * cryptoconf.c : Remove krb5_csarray. * cryptoconf.c, des_crc.c, des_md5.c, raw_des.c : Remove krb5_enctype references, and replace with krb5_keytype where appropriate. Thu Aug 24 17:55:47 1995 Ezra Peisach <epeisach@kangaroo.mit.edu> * des_crc.c, des_md5.c, raw_des.c: Remove casting in call to mit_des_cbc_encrypt. Thu Jul 27 15:15:46 EDT 1995 Paul Park (pjpark@mit.edu) * configure.in - Add --enable-{des-cbc-md5,des-cbc-crc,raw-des-cbc, des-cbc-cksum,crc32,rsa-md4,rsa-md5} which set the appropriate preprocessor flags which used to be set in k5-config.h. * cryptoconf.c - Set the KEYTYPE_DES entry to the DES-CBC-MD5 entry if enabled, then the DES-CBC-CRC entry, if enabled, then to null. Fri Jun 23 12:16:52 1995 Sam Hartman <hartmans@tardis.MIT.EDU> * configure.in: krb5_cv_staticlibs_enabled, not krb5_cv_enable_staticlibs Thu Jun 22 18:34:26 1995 Sam Hartman (hartmans@tardis) * configure.in: Changed to new scheme for static libs. Fri Jun 16 11:14:50 EDT 1995 Paul Park (pjpark@mit.edu) * configure.in - Add install target for shared library. Thu Jun 15 17:58:41 EDT 1995 Paul Park (pjpark@mit.edu) * Makefile.in - Add definitions for shared library building rules. Add explicit dependency on "shared" since we probably need it. * configure.in - Create symlinks for archive and shared library when we build them. Fri Jun 9 18:52:19 1995 <tytso@rsx-11.mit.edu> * des_crc.c, des_md5.c: Fix -Wall nits. * configure.in: Remove standardized set of autoconf macros, which are now handled by CONFIG_RULES. Use DO_SUBDIRS to recurse down subdirectories. Thu May 25 22:15:18 1995 Theodore Y. Ts'o (tytso@dcl) * configure.in, Makefile.in: Add support for shared libraries. Thu Apr 13 15:49:16 1995 Keith Vetter (keithv@fusion.com) * *.[ch]: removed unneeded INTERFACE from non-api functions. * *.h added FAR to pointers visible at to the world. Tue Mar 28 20:00:00 1995 Keith Vetter (keithv@fusion.com) * Makefile.in: more of nmake's strange behavior. Problem goes away with the addition of a nop line. Wed Mar 22 11:28:08 1995 Keith Vetter (keithv@fusion.com) * Makefile.in: put back '##DOSLIBNAME' since it makes the .c.obj rule put the object file into that library. * Makefile.in: strange nmake error 'missing ) on macro invocation' which only appeared intermitantly and only when invoked recursively. Fixed (I hope) by interchanging some lines. Thu Mar 16 21:10:37 1995 John Gilmore (gnu at toad.com) * Makefile.in (CFLAGS): Avoid continuation line that starts with 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. Wed Mar 15 20:23:17 1995 Keith Vetter (keithv@fusion.com) * Makefile.in: cleaned up for the PC Tue Mar 14 17:31:01 1995 Keith Vetter (keithv@fusion.com) * Makefile.in: removed all DLL stuff--it now happens up a directory. * win_glue.c, libcrypto.def: removed Tue Mar 7 17:26:06 1995 Keith Vetter (keithv@fusion.com) * cryptoco.c: Added more windows syntactic sugar for segmenting. Fri Mar 3 19:15:54 1995 Keith Vetter (keithv@fusion.com) * libcrypto.def: added 3 entry points for methods for pulling in data from a DLL. * Makefile.in: libcrypto.lib depends upon libcrypto.def Thu Mar 2 17:43:25 1995 Keith Vetter (keithv@fusion.com) * Makefile.in: added rules to make a DLL from a lib. * win_glue.c, librcrypto.def: needed for making a DLL. Tue Feb 28 00:15:06 1995 John Gilmore (gnu at toad.com) * cryptoconf.c, des_md5.c: Avoid <krb5/...> includes. Fri Feb 3 02:44:07 1995 John Gilmore <gnu@cygnus.com> Rename files so that they work in the DOS LIB command, 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. Thu Feb 2 02:59:58 1995 John Gilmore <gnu@cygnus.com> * Makefile.in (CFLAGS): Handle $(srcdir) properly in -I options. Wed Jan 25 19:55:59 1995 John Gilmore (gnu at toad.com) * Makefile.in (CFLAGS): Add -I options to pick up include files from the various algorithm subdirs. * cryptoconf.c, des-crc.c, des-md5.c, raw-des.c: Replace most <.../...> include files with "..." includes. Tue Oct 18 15:46:01 1994 Mark Eichin (eichin@cygnus.com) * des-crc.c (mit_des_crc_decrypt_func): cast key->key->contents to krb5_pointer to satisfy sunos cc about :? argument types. (mit_des_crc_encrypt_funct): ditto. * raw-des.c (mit_raw_des_decrypt_func): ditto. (mit_raw_des_encrypt_func): ditto. * des-md5.c (mit_des_md5_decrypt_funct): cast zero_ivec. (mit_des_md5_encrypt_funct): ditto. Fri Oct 14 00:37:08 1994 Theodore Y. Ts'o (tytso@dcl) * cryptoconf.c: Add support for the new cryptosystem DES/MD5. * Makefile.in: Add support for new files des-crc.c, des-md5.c, and raw-des.c Thu Oct 6 20:07:41 1994 Theodore Y. Ts'o (tytso@dcl) * configure.in: Add recursive "make check" target. Mon Oct 3 21:11:56 1994 Theodore Y. Ts'o (tytso@dcl) * Makefile.in: make install obey $(DESTDIR) Thu Aug 4 03:40:24 1994 Tom Yu (tlyu@dragons-lair) * configure.in: oops check for install * Makefile.in: make install fixes