#include <krb5/copyright.h>
-#include <sys/errno.h>
-
#include <krb5/krb5.h>
#include <krb5/ext-proto.h>
-#include <krb5/krb5_err.h>
#include "des_int.h"
"$Id$";
#endif /* !lint & !SABER */
-#include <mit-copyright.h>
-#include <stdio.h>
-#include <strings.h>
-
+#include <krb5/copyright.h>
#include <krb5/krb5.h>
+#include <krb5/ext-proto.h>
+
#include "des_int.h"
extern int mit_des_debug;
#include <krb5/copyright.h>
-#include <sys/errno.h>
-#include <krb5/krb5_err.h>
-
#include <krb5/krb5.h>
#include <krb5/ext-proto.h>
#include <krb5/crc-32.h>
#endif /* !lint & !SABER */
#include <krb5/copyright.h>
-
-#include <sys/errno.h>
-
#include <krb5/krb5.h>
#include <krb5/mit-des.h>
#include <krb5/ext-proto.h>
#endif /* !lint & !SABER */
#include <krb5/copyright.h>
-
-#include <sys/errno.h>
-
#include <krb5/krb5.h>
#include <krb5/ext-proto.h>
#endif /* !lint & !SABER */
#include <krb5/copyright.h>
-
-#include <sys/errno.h>
-
#include <krb5/krb5.h>
#include <krb5/ext-proto.h>
-#include <krb5/krb5_err.h>
#include "des_int.h"
#if !defined(lint) && !defined(SABER)
static char key_parity_c[] =
-"$Header$";
+"$Id$";
#endif /* !lint & !SABER */
-#include <mit-copyright.h>
+#include <krb5/copyright.h>
#include <krb5/krb5.h>
#include "des_int.h"
#if !defined(lint) && !defined(SABER)
static char key_sched_c[] =
-"$Header$";
+"$Id$";
#endif /* !lint & !SABER */
-#include <mit-copyright.h>
+#include <krb5/copyright.h>
#include <stdio.h>
#include <krb5/krb5.h>
* $Source$
* $Author$
*
- * Copyright 1987, 1988 by the Massachusetts Institute of Technology.
+ * Copyright 1987, 1988,1990 by the Massachusetts Institute of Technology.
*
* For copying and distribution information,
- * please see the file <mit-copyright.h>.
+ * please see the file <krb5/copyright.h>.
*
* This routine generates source code that implements the "E"
* operations of the DES.
*/
-#include <stdio.h>
+#include <krb5/mit-copyright.h>
#include <krb5/krb5.h>
+#include <stdio.h>
#include "des_int.h"
#include "tables.h"
* $Source$
* $Author$
*
- * Copyright 1988 by the Massachusetts Institute of Technology.
+ * Copyright 1988,1990 by the Massachusetts Institute of Technology.
*
* For copying and distribution information,
- * please see the file <mit-copyright.h>.
+ * please see the file <krb5/copyright.h>.
*
* This file contains a generation routine for source code
* implementing the final permutation of the DES.
*/
#include <krb5/copyright.h>
-#include <stdio.h>
#include <krb5/krb5.h>
+#include <stdio.h>
#include <krb5/ext-proto.h>
#include "des_int.h"
#include "tables.h"
* $Source$
* $Author$
*
- * Copyright 1987, 1988 by the Massachusetts Institute of Technology.
+ * Copyright 1987, 1988,1990 by the Massachusetts Institute of Technology.
*
* For copying and distribution information, please see the file
- * <mit-copyright.h>.
+ * <krb5/copyright.h>.
*
* This routine generates source code implementing the initial
* permutation of the DES.
*/
-#include <mit-copyright.h>
-#include <stdio.h>
+#include <krb5/copyright.h>
#include <krb5/krb5.h>
+#include <stdio.h>
#include "des_int.h"
#include "tables.h"
* $Author$
* $Locker$
*
- * Copyright 1988 by the Massachusetts Institute of Technology.
+ * Copyright 1988,1990 by the Massachusetts Institute of Technology.
*
* For copying and distribution information, please see the file
- * <mit-copyright.h>.
+ * <krb5/copyright.h>.
*
* This routine calculates an effective Key schedule set of
* permutations for des. Beginning with the pre-defined key schedule
* subscripts starting at 0.
*/
-#include <mit-copyright.h>
-#include <stdio.h>
-#include <errno.h>
+#include <krb5/copyright.h>
#include <krb5/krb5.h>
+#include <stdio.h>
#include "des_int.h"
#ifndef lint
static char rcsid[]=
- "$Header$";
+ "$Id$";
#endif /* lint */
char *progname;
* $Source$
* $Author$
*
- * Copyright 1988 by the Massachusetts Institute of Technology.
+ * Copyright 1988,1990 by the Massachusetts Institute of Technology.
*
* For copying and distribution information, please see
- * the file <mit-copyright.h>.
+ * the file <krb5/copyright.h>.
*
* This routine generates an odd-parity table for use in key generation.
*/
* $Source$
* $Author$
*
- * Copyright 1985, 1988 by the Massachusetts Institute of Technology.
+ * Copyright 1985, 1988,1990 by the Massachusetts Institute of Technology.
*
* For copying and distribution information, please
- * see the file <mit-copyright.h>.
+ * see the file <krb5/copyright.h>.
*
* This routine generates the P permutation code for the DES.
*/
#include <krb5/copyright.h>
-#include <stdio.h>
#include <krb5/krb5.h>
+#include <stdio.h>
#include "des_int.h"
#include "tables.h"
* $Source$
* $Author$
*
- * Copyright 1985, 1988 by the Massachusetts Institute of Technology.
+ * Copyright 1985, 1988,1990 by the Massachusetts Institute of Technology.
*
* For copying and distribution information, please
- * see the file <mit-copyright.h>.
+ * see the file <krb5/copyright.h>.
*
*/
-#include <mit-copyright.h>
-#include <stdio.h>
+#include <krb5/copyright.h>
#include <krb5/krb5.h>
+#include <stdio.h>
#include "des_int.h"
#include "tables.h"
* $Source$
* $Author$
*
- * Copyright 1985, 1988 by the Massachusetts Institute of Technology.
+ * Copyright 1985, 1988, 1990 by the Massachusetts Institute of Technology.
*
* For copying and distribution information, please
- * see the file <mit-copyright.h>.
+ * see the file <krb5/copyright.h>.
*/
-#include <mit-copyright.h>
-#include <stdio.h>
+#include <krb5/copyright.h>
#include <krb5/krb5.h>
+#include <stdio.h>
#include "des_int.h"
#include "s_table.h"
* $Source$
* $Author$
*
- * Copyright 1985, 1988 by the Massachusetts Institute of Technology.
+ * Copyright 1985, 1988, 1990 by the Massachusetts Institute of Technology.
*
* For copying and distribution information, please
- * see the file <mit-copyright.h>.
+ * see the file <krb5/copyright.h>.
*/
-#include <mit-copyright.h>
-#include <stdio.h>
+#include <krb5/copyright.h>
#include <krb5/krb5.h>
+#include <stdio.h>
#include "des_int.h"
#include "tables.h"
* $Source$
* $Author$
*
- * Copyright 1988 by the Massachusetts Institute of Technology.
+ * Copyright 1988,1990 by the Massachusetts Institute of Technology.
*
* For copying and distribution information,
- * please seethe file <mit-copyright.h>.
+ * please seethe file <krb5/copyright.h>.
*
* This file contains most of the routines needed by the various
* make_foo programs, to account for bit- and byte-ordering on
*/
#include <krb5/copyright.h>
-#include <stdio.h>
-#include <sys/errno.h>
#include <krb5/krb5.h>
#include <krb5/ext-proto.h>
+#include <stdio.h>
#include "des_int.h"
* $Source$
* $Author$
*
- * Copyright 1988 by the Massachusetts Institute of Technology.
+ * Copyright 1988,1990 by the Massachusetts Institute of Technology.
*
* For copying and distribution information, please see the file
- * <mit-copyright.h>.
+ * <krb5/copyright.h>.
*
* New pseudo-random key generator, using DES encryption to make the
* pseudo-random cycle as hard to break as DES.
#if !defined(lint) && !defined(SABER)
static char new_rnd_key_c[] =
-"$Header$";
+"$Id$";
#endif /* !lint & !SABER */
-#include <mit-copyright.h>
+#include <krb5/copyright.h>
#include <krb5/krb5.h>
#include "des_int.h"
* Copyright 1990 by the Massachusetts Institute of Technology.
*
* For copying and distribution information, please see the file
- * <krb5/mit-copyright.h>.
+ * <krb5/copyright.h>.
*
*/
#include <krb5/copyright.h>
-#include <sys/errno.h>
-
#include <krb5/krb5.h>
#include <krb5/ext-proto.h>
-#include <krb5/krb5_err.h>
#include "des_int.h"
* Copyright 1990 by the Massachusetts Institute of Technology.
*
* For copying and distribution information, please see the file
- * <krb5/mit-copyright.h>.
+ * <krb5/copyright.h>.
*
*/
#include <krb5/copyright.h>
-#include <sys/errno.h>
-
#include <krb5/krb5.h>
#include <krb5/ext-proto.h>
* Copyright 1990 by the Massachusetts Institute of Technology.
*
* For copying and distribution information, please see the file
- * <krb5/mit-copyright.h>.
+ * <krb5/copyright.h>.
*
* Wrapper for the V4 libdes for use with kerberos V5.
*/
#include <krb5/copyright.h>
-#include <sys/errno.h>
-
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
#include <krb5/ext-proto.h>
#include "des_int.h"
"$Id$";
#endif /*lint*/
-#include <mit-copyright.h>
-#include <stdio.h>
-#include <string.h>
-#include <errno.h>
+#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/mit-des.h>
-#include <krb5/krb5_err.h>
#include <krb5/ext-proto.h>
+#include <krb5/mit-des.h>
+#include <stdio.h>
#include <com_err.h>
extern int errno;
* Copyright 1989 by the Massachusetts Institute of Technology.
*
* For copying and distribution information, please see the file
- * <mit-copyright.h>.
+ * <krb5/copyright.h>.
*
* Under U.S. law, this software may not be exported outside the US
* without license from the U.S. Commerce department.
#if !defined(lint) && !defined(SABER)
static char weak_key_c[] =
-"$Header$";
+"$Id$";
#endif /* !lint & !SABER */
+#include <krb5/copyright.h>
#include <krb5/krb5.h>
#include <krb5/ext-proto.h>
#include "des_int.h"
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/kdb5_err.h>
#include <krb5/ext-proto.h>
-#include <errno.h>
/*
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/kdb5_err.h>
#include <krb5/ext-proto.h>
-#include <errno.h>
/*
* Encrypt a key for storage in the database. "eblock" is used
#include <krb5/copyright.h>
#include <krb5/krb5.h>
-#include <krb5/krb5_err.h>
-#include <krb5/kdb5_err.h>
#include <krb5/kdb.h>
-#include <errno.h>
-#include <stdio.h>
#include <krb5/libos-proto.h>
#include <krb5/ext-proto.h>
+#include <krb5/sysincl.h> /* for MAXPATHLEN */
#include "kdbint.h"
-#include <sys/param.h> /* XXX for MAXPATHLEN */
/* these are available to other funcs, and the pointers may be reassigned */
#endif /* lint */
#include <krb5/copyright.h>
-
-#include <krb5/dbm.h>
-
-#include <stdio.h>
-
-/* XXX these should go into a central system include file */
-#include <sys/types.h>
-#include <sys/time.h>
-#include <sys/stat.h>
-#include <sys/file.h>
-#include <errno.h>
-
#include <krb5/krb5.h>
+#include <krb5/dbm.h>
#include <krb5/kdb.h>
#include <krb5/kdb_dbm.h>
-#include <krb5/kdb5_err.h>
-
#include <krb5/ext-proto.h>
+#include <krb5/sysincl.h>
#define KRB5_DBM_MAX_RETRY 5
#include <krb5/krb5.h>
#include <krb5/kdb.h>
#include <krb5/ext-proto.h>
-#include <errno.h>
/*
* Given a key name and a realm name, construct a principal which can be used
#include <krb5/copyright.h>
#include <krb5/krb5.h>
#include <krb5/kdb.h>
-#include <errno.h>
-#include <stdio.h>
#include <krb5/libos-proto.h>
#include <krb5/ext-proto.h>
#include "kdbint.h"
-#include <sys/param.h> /* XXX for MAXPATHLEN */
-#ifdef unix
-#include <sys/file.h> /* XX for umask prototype */
-#endif
+#include <krb5/sysincl.h> /* for MAXPATHLEN */
/*
* Put the KDC database master key into a file. If keyfile is NULL,
#include <krb5/copyright.h>
#include <krb5/krb5.h>
#include <krb5/kdb.h>
-#include <krb5/krb5_err.h>
-#include <krb5/kdb5_err.h>
-#include <errno.h>
#include <krb5/ext-proto.h>
/*