summaryrefslogtreecommitdiffstats
path: root/src/lib/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/crypto')
-rw-r--r--src/lib/crypto/des/cbc_cksum.c2
-rw-r--r--src/lib/crypto/des/cksum.c2
-rw-r--r--src/lib/crypto/des/cs_entry.c4
-rw-r--r--src/lib/crypto/des/des.c2
-rw-r--r--src/lib/crypto/des/enc_dec.c2
-rw-r--r--src/lib/crypto/des/finish_key.c2
-rw-r--r--src/lib/crypto/des/init_rkey.c2
-rw-r--r--src/lib/crypto/des/key_parity.c2
-rw-r--r--src/lib/crypto/des/key_sched.c2
-rw-r--r--src/lib/crypto/des/krb_glue.c2
-rw-r--r--src/lib/crypto/des/make_e.c7
-rw-r--r--src/lib/crypto/des/make_fp.c7
-rw-r--r--src/lib/crypto/des/make_ip.c7
-rw-r--r--src/lib/crypto/des/make_kp.c4
-rw-r--r--src/lib/crypto/des/make_odd.c7
-rw-r--r--src/lib/crypto/des/make_p.c7
-rw-r--r--src/lib/crypto/des/make_pt.c7
-rw-r--r--src/lib/crypto/des/make_s.c8
-rw-r--r--src/lib/crypto/des/make_st.c7
-rw-r--r--src/lib/crypto/des/misc.c7
-rw-r--r--src/lib/crypto/des/new_rn_key.c2
-rw-r--r--src/lib/crypto/des/process_ky.c2
-rw-r--r--src/lib/crypto/des/verify.c2
-rw-r--r--src/lib/crypto/des/weak_key.c4
24 files changed, 73 insertions, 27 deletions
diff --git a/src/lib/crypto/des/cbc_cksum.c b/src/lib/crypto/des/cbc_cksum.c
index 39988441a..a7ce6c229 100644
--- a/src/lib/crypto/des/cbc_cksum.c
+++ b/src/lib/crypto/des/cbc_cksum.c
@@ -4,6 +4,7 @@
*
* Copyright 1985, 1986, 1987, 1988, 1990 by the Massachusetts Institute
* of Technology.
+ * All Rights Reserved.
*
* Under U.S. law, this software may not be exported outside the US
* without license from the U.S. Commerce department.
@@ -20,7 +21,6 @@ static char rcsid_cbc_cksum_c[] =
"$Id$";
#endif /* !lint & !SABER */
-#include <krb5/copyright.h>
#include <krb5/krb5.h>
#include <krb5/ext-proto.h>
diff --git a/src/lib/crypto/des/cksum.c b/src/lib/crypto/des/cksum.c
index ae24a917a..382df1f19 100644
--- a/src/lib/crypto/des/cksum.c
+++ b/src/lib/crypto/des/cksum.c
@@ -4,6 +4,7 @@
*
* Copyright 1985, 1986, 1987, 1988, 1990 by the Massachusetts Institute
* of Technology.
+ * All Rights Reserved.
*
* For copying and distribution information, please see the file
* <krb5/copyright.h>.
@@ -25,7 +26,6 @@ static char rcsid_cksum_c[] =
"$Id$";
#endif /* !lint & !SABER */
-#include <krb5/copyright.h>
#include <krb5/krb5.h>
#include <krb5/ext-proto.h>
diff --git a/src/lib/crypto/des/cs_entry.c b/src/lib/crypto/des/cs_entry.c
index 985d3f034..0c6f6f39b 100644
--- a/src/lib/crypto/des/cs_entry.c
+++ b/src/lib/crypto/des/cs_entry.c
@@ -2,7 +2,8 @@
* $Source$
* $Author$
*
- * Copyright 1990 by the Massachusetts Institute of Technology.
+ * Copyright 1990,1991 by the Massachusetts Institute of Technology.
+ * All Rights Reserved.
*
* For copying and distribution information, please see the file
* <krb5/copyright.h>.
@@ -15,7 +16,6 @@ static char rcsid_cs_entry_c[] =
"$Id$";
#endif /* !lint & !SABER */
-#include <krb5/copyright.h>
#include <krb5/krb5.h>
#include <krb5/crc-32.h>
diff --git a/src/lib/crypto/des/des.c b/src/lib/crypto/des/des.c
index ff8b3b9b4..2c7853a24 100644
--- a/src/lib/crypto/des/des.c
+++ b/src/lib/crypto/des/des.c
@@ -4,6 +4,7 @@
*
* Copyright 1985, 1986, 1987, 1988, 1990 by the Massachusetts Institute
* of Technology.
+ * All Rights Reserved.
*
* For copying and distribution information, please see the file
* <krb5/copyright.h>.
@@ -39,7 +40,6 @@ static char rcsid_des_c[] =
"$Id$";
#endif /* !lint & !SABER */
-#include <krb5/copyright.h>
#include <krb5/krb5.h>
#include <krb5/ext-proto.h>
diff --git a/src/lib/crypto/des/enc_dec.c b/src/lib/crypto/des/enc_dec.c
index 8238c8463..516732cc2 100644
--- a/src/lib/crypto/des/enc_dec.c
+++ b/src/lib/crypto/des/enc_dec.c
@@ -4,6 +4,7 @@
*
* Copyright 1985, 1986, 1987, 1988, 1990 by the Massachusetts Institute
* of Technology.
+ * All Rights Reserved.
*
* These routines perform encryption and decryption using the DES
* private key algorithm, or else a subset of it -- fewer inner loops.
@@ -26,7 +27,6 @@ static char rcsid_enc_dec_c[] =
"$Id$";
#endif /* !lint & !SABER */
-#include <krb5/copyright.h>
#include <krb5/krb5.h>
#include <krb5/ext-proto.h>
diff --git a/src/lib/crypto/des/finish_key.c b/src/lib/crypto/des/finish_key.c
index 52982311b..297f04222 100644
--- a/src/lib/crypto/des/finish_key.c
+++ b/src/lib/crypto/des/finish_key.c
@@ -3,6 +3,7 @@
* $Author$
*
* Copyright 1990 by the Massachusetts Institute of Technology.
+ * All Rights Reserved.
*
* For copying and distribution information, please see the file
* <krb5/copyright.h>.
@@ -14,7 +15,6 @@ static char rcsid_finish_key_c[] =
"$Id$";
#endif /* !lint & !SABER */
-#include <krb5/copyright.h>
#include <krb5/krb5.h>
#include <krb5/ext-proto.h>
diff --git a/src/lib/crypto/des/init_rkey.c b/src/lib/crypto/des/init_rkey.c
index dabc8b00c..732265bc3 100644
--- a/src/lib/crypto/des/init_rkey.c
+++ b/src/lib/crypto/des/init_rkey.c
@@ -3,6 +3,7 @@
* $Author$
*
* Copyright 1990 by the Massachusetts Institute of Technology.
+ * All Rights Reserved.
*
* For copying and distribution information, please see the file
* <krb5/copyright.h>.
@@ -14,7 +15,6 @@ static char rcsid_init_rkey_c[] =
"$Id$";
#endif /* !lint & !SABER */
-#include <krb5/copyright.h>
#include <krb5/krb5.h>
#include <krb5/ext-proto.h>
diff --git a/src/lib/crypto/des/key_parity.c b/src/lib/crypto/des/key_parity.c
index 9cfff2902..3890d4adf 100644
--- a/src/lib/crypto/des/key_parity.c
+++ b/src/lib/crypto/des/key_parity.c
@@ -3,6 +3,7 @@
* $Author$
*
* Copyright 1989, 1990 by the Massachusetts Institute of Technology.
+ * All Rights Reserved.
*
* For copying and distribution information, please see the file
* <krb5/copyright.h>.
@@ -22,7 +23,6 @@ static char rcsid_key_parity_c[] =
"$Id$";
#endif /* !lint & !SABER */
-#include <krb5/copyright.h>
#include <krb5/krb5.h>
#include "des_int.h"
diff --git a/src/lib/crypto/des/key_sched.c b/src/lib/crypto/des/key_sched.c
index 30e239f7a..a77e50596 100644
--- a/src/lib/crypto/des/key_sched.c
+++ b/src/lib/crypto/des/key_sched.c
@@ -4,6 +4,7 @@
*
* Copyright 1985, 1986, 1987, 1988, 1990 by the Massachusetts Institute
* of Technology.
+ * All Rights Reserved.
*
* For copying and distribution information, please see the file
* <krb5/copyright.h>.
@@ -35,7 +36,6 @@ static char rcsid_key_sched_c[] =
"$Id$";
#endif /* !lint & !SABER */
-#include <krb5/copyright.h>
#include <stdio.h>
#include <krb5/krb5.h>
diff --git a/src/lib/crypto/des/krb_glue.c b/src/lib/crypto/des/krb_glue.c
index 23373b9db..3396d96ae 100644
--- a/src/lib/crypto/des/krb_glue.c
+++ b/src/lib/crypto/des/krb_glue.c
@@ -4,6 +4,7 @@
*
* Copyright 1985, 1986, 1987, 1988, 1990 by the Massachusetts Institute
* of Technology.
+ * All Rights Reserved.
*
* These routines perform encryption and decryption using the DES
* private key algorithm, or else a subset of it -- fewer inner loops.
@@ -32,7 +33,6 @@ static char rcsid_enc_dec_c[] =
"$Id$";
#endif /* !lint & !SABER */
-#include <krb5/copyright.h>
#include <krb5/krb5.h>
#include <krb5/ext-proto.h>
diff --git a/src/lib/crypto/des/make_e.c b/src/lib/crypto/des/make_e.c
index b2afd0a69..d912967cb 100644
--- a/src/lib/crypto/des/make_e.c
+++ b/src/lib/crypto/des/make_e.c
@@ -3,6 +3,7 @@
* $Author$
*
* Copyright 1987, 1988, 1990 by the Massachusetts Institute of Technology.
+ * All Rights Reserved.
*
* For copying and distribution information, please see the file
* <krb5/copyright.h>.
@@ -11,7 +12,11 @@
* operations of the DES.
*/
-#include <krb5/copyright.h>
+#if !defined(lint) && !defined(SABER)
+static char rcsid_make_e_c[] =
+"$Id$";
+#endif /* !lint & !SABER */
+
#include <krb5/krb5.h>
#include <stdio.h>
#include "des_int.h"
diff --git a/src/lib/crypto/des/make_fp.c b/src/lib/crypto/des/make_fp.c
index 49e7659d4..a47890695 100644
--- a/src/lib/crypto/des/make_fp.c
+++ b/src/lib/crypto/des/make_fp.c
@@ -3,6 +3,7 @@
* $Author$
*
* Copyright 1988, 1990 by the Massachusetts Institute of Technology.
+ * All Rights Reserved.
*
* For copying and distribution information, please see the file
* <krb5/copyright.h>.
@@ -11,7 +12,11 @@
* implementing the final permutation of the DES.
*/
-#include <krb5/copyright.h>
+#if !defined(lint) && !defined(SABER)
+static char rcsid_make_fp_c[] =
+"$Id$";
+#endif /* !lint & !SABER */
+
#include <krb5/krb5.h>
#include <stdio.h>
#include <krb5/ext-proto.h>
diff --git a/src/lib/crypto/des/make_ip.c b/src/lib/crypto/des/make_ip.c
index feb02f71f..6114f9dbe 100644
--- a/src/lib/crypto/des/make_ip.c
+++ b/src/lib/crypto/des/make_ip.c
@@ -3,6 +3,7 @@
* $Author$
*
* Copyright 1987, 1988,1990 by the Massachusetts Institute of Technology.
+ * All Rights Reserved.
*
* For copying and distribution information, please see the file
* <krb5/copyright.h>.
@@ -11,7 +12,11 @@
* permutation of the DES.
*/
-#include <krb5/copyright.h>
+#if !defined(lint) && !defined(SABER)
+static char rcsid_make_ip_c[] =
+"$Id$";
+#endif /* !lint & !SABER */
+
#include <krb5/krb5.h>
#include <stdio.h>
#include "des_int.h"
diff --git a/src/lib/crypto/des/make_kp.c b/src/lib/crypto/des/make_kp.c
index e7745599b..3cbd3f301 100644
--- a/src/lib/crypto/des/make_kp.c
+++ b/src/lib/crypto/des/make_kp.c
@@ -4,6 +4,7 @@
* $Locker$
*
* Copyright 1988,1990 by the Massachusetts Institute of Technology.
+ * All Rights Reserved.
*
* For copying and distribution information, please see the file
* <krb5/copyright.h>.
@@ -16,14 +17,13 @@
* subscripts starting at 0.
*/
-#include <krb5/copyright.h>
#include <krb5/krb5.h>
#include <stdio.h>
#include "des_int.h"
#ifndef lint
static char rcsid_make_kp[]=
- "$Id$";
+"$Id$";
#endif /* lint */
char *progname;
diff --git a/src/lib/crypto/des/make_odd.c b/src/lib/crypto/des/make_odd.c
index 84653ea50..1c3f4deb9 100644
--- a/src/lib/crypto/des/make_odd.c
+++ b/src/lib/crypto/des/make_odd.c
@@ -3,6 +3,7 @@
* $Author$
*
* Copyright 1988,1990 by the Massachusetts Institute of Technology.
+ * All Rights Reserved.
*
* For copying and distribution information, please see
* the file <krb5/copyright.h>.
@@ -10,7 +11,11 @@
* This routine generates an odd-parity table for use in key generation.
*/
-#include <krb5/copyright.h>
+#if !defined(lint) && !defined(SABER)
+static char rcsid_make_odd_c[] =
+"$Id$";
+#endif /* !lint & !SABER */
+
#include <stdio.h>
void gen(stream)
diff --git a/src/lib/crypto/des/make_p.c b/src/lib/crypto/des/make_p.c
index 4f2cc9bf8..0a83fd182 100644
--- a/src/lib/crypto/des/make_p.c
+++ b/src/lib/crypto/des/make_p.c
@@ -3,6 +3,7 @@
* $Author$
*
* Copyright 1985, 1988,1990 by the Massachusetts Institute of Technology.
+ * All Rights Reserved.
*
* For copying and distribution information, please
* see the file <krb5/copyright.h>.
@@ -10,7 +11,11 @@
* This routine generates the P permutation code for the DES.
*/
-#include <krb5/copyright.h>
+#if !defined(lint) && !defined(SABER)
+static char rcsid_make_p_c[] =
+"$Id$";
+#endif /* !lint & !SABER */
+
#include <krb5/krb5.h>
#include <stdio.h>
#include "des_int.h"
diff --git a/src/lib/crypto/des/make_pt.c b/src/lib/crypto/des/make_pt.c
index 27fd5af26..9bdc885f7 100644
--- a/src/lib/crypto/des/make_pt.c
+++ b/src/lib/crypto/des/make_pt.c
@@ -3,13 +3,18 @@
* $Author$
*
* Copyright 1985, 1988, 1990 by the Massachusetts Institute of Technology.
+ * All Rights Reserved.
*
* For copying and distribution information, please see the file
* <krb5/copyright.h>.
*
*/
-#include <krb5/copyright.h>
+#if !defined(lint) && !defined(SABER)
+static char rcsid_make_pt_c[] =
+"$Id$";
+#endif /* !lint & !SABER */
+
#include <krb5/krb5.h>
#include <stdio.h>
#include "des_int.h"
diff --git a/src/lib/crypto/des/make_s.c b/src/lib/crypto/des/make_s.c
index 342b4c873..7b41f87cd 100644
--- a/src/lib/crypto/des/make_s.c
+++ b/src/lib/crypto/des/make_s.c
@@ -3,12 +3,18 @@
* $Author$
*
* Copyright 1985, 1988, 1990 by the Massachusetts Institute of Technology.
+ * All Rights Reserved.
*
* For copying and distribution information, please
* see the file <krb5/copyright.h>.
*/
-#include <krb5/copyright.h>
+#if !defined(lint) && !defined(SABER)
+static char rcsid_make_s_c[] =
+"$Id$";
+#endif /* !lint & !SABER */
+
+
#include <krb5/krb5.h>
#include <stdio.h>
#include "des_int.h"
diff --git a/src/lib/crypto/des/make_st.c b/src/lib/crypto/des/make_st.c
index 144f20f0d..37db177eb 100644
--- a/src/lib/crypto/des/make_st.c
+++ b/src/lib/crypto/des/make_st.c
@@ -3,12 +3,17 @@
* $Author$
*
* Copyright 1985, 1988, 1990 by the Massachusetts Institute of Technology.
+ * All Rights Reserved.
*
* For copying and distribution information, please
* see the file <krb5/copyright.h>.
*/
-#include <krb5/copyright.h>
+#if !defined(lint) && !defined(SABER)
+static char rcsid_make_st_c[] =
+"$Id$";
+#endif /* !lint & !SABER */
+
#include <krb5/krb5.h>
#include <stdio.h>
#include "des_int.h"
diff --git a/src/lib/crypto/des/misc.c b/src/lib/crypto/des/misc.c
index ecca804d6..2d224937a 100644
--- a/src/lib/crypto/des/misc.c
+++ b/src/lib/crypto/des/misc.c
@@ -3,6 +3,7 @@
* $Author$
*
* Copyright 1988, 1990 by the Massachusetts Institute of Technology.
+ * All Rights Reserved.
*
* For copying and distribution information, please see the file
* <krb5/copyright.h>.
@@ -13,7 +14,11 @@
* generating the intermediate source files.
*/
-#include <krb5/copyright.h>
+#if !defined(lint) && !defined(SABER)
+static char rcsid_misc_c[] =
+"$Id$";
+#endif /* !lint & !SABER */
+
#include <krb5/krb5.h>
#include <krb5/ext-proto.h>
#include <stdio.h>
diff --git a/src/lib/crypto/des/new_rn_key.c b/src/lib/crypto/des/new_rn_key.c
index e0fd7b9af..117c24e67 100644
--- a/src/lib/crypto/des/new_rn_key.c
+++ b/src/lib/crypto/des/new_rn_key.c
@@ -3,6 +3,7 @@
* $Author$
*
* Copyright 1988,1990 by the Massachusetts Institute of Technology.
+ * All Rights Reserved.
*
* For copying and distribution information, please see the file
* <krb5/copyright.h>.
@@ -21,7 +22,6 @@ static char rcsid_new_rn_key_c[] =
"$Id$";
#endif /* !lint & !SABER */
-#include <krb5/copyright.h>
#include <krb5/krb5.h>
#include <krb5/ext-proto.h>
#include <krb5/libos-proto.h>
diff --git a/src/lib/crypto/des/process_ky.c b/src/lib/crypto/des/process_ky.c
index 0445acbfd..f8b41d049 100644
--- a/src/lib/crypto/des/process_ky.c
+++ b/src/lib/crypto/des/process_ky.c
@@ -3,6 +3,7 @@
* $Author$
*
* Copyright 1990 by the Massachusetts Institute of Technology.
+ * All Rights Reserved.
*
* For copying and distribution information, please see the file
* <krb5/copyright.h>.
@@ -14,7 +15,6 @@ static char rcsid_process_ky_c[] =
"$Id$";
#endif /* !lint & !SABER */
-#include <krb5/copyright.h>
#include <krb5/krb5.h>
#include <krb5/ext-proto.h>
diff --git a/src/lib/crypto/des/verify.c b/src/lib/crypto/des/verify.c
index 0f68493d0..827108b0e 100644
--- a/src/lib/crypto/des/verify.c
+++ b/src/lib/crypto/des/verify.c
@@ -3,6 +3,7 @@
* $Author$
*
* Copyright 1988, 1990 by the Massachusetts Institute of Technology.
+ * All Rights Reserved.
*
* For copying and distribution information, please see the file
* <krb5/copyright.h>.
@@ -19,7 +20,6 @@ static char rcsid_verify_c[] =
"$Id$";
#endif /*lint*/
-#include <krb5/copyright.h>
#include <krb5/krb5.h>
#include <krb5/ext-proto.h>
#include <krb5/mit-des.h>
diff --git a/src/lib/crypto/des/weak_key.c b/src/lib/crypto/des/weak_key.c
index 6643b2d7a..3ac743f33 100644
--- a/src/lib/crypto/des/weak_key.c
+++ b/src/lib/crypto/des/weak_key.c
@@ -2,7 +2,8 @@
* $Source$
* $Author$
*
- * Copyright 1989 by the Massachusetts Institute of Technology.
+ * Copyright 1989,1990 by the Massachusetts Institute of Technology.
+ * All Rights Reserved.
*
* For copying and distribution information, please see the file
* <krb5/copyright.h>.
@@ -20,7 +21,6 @@ static char rcsid_weak_key_c[] =
"$Id$";
#endif /* !lint & !SABER */
-#include <krb5/copyright.h>
#include <krb5/krb5.h>
#include <krb5/ext-proto.h>
#include "des_int.h"