From 13de01fef60a99d076c687b08e516bcd19058522 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Thu, 14 Mar 1991 11:11:40 +0000 Subject: [PATCH] fix copyrights; add RCS strings to those needing them git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1898 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/crypto/des/cbc_cksum.c | 2 +- src/lib/crypto/des/cksum.c | 2 +- src/lib/crypto/des/cs_entry.c | 4 ++-- src/lib/crypto/des/des.c | 2 +- src/lib/crypto/des/enc_dec.c | 2 +- src/lib/crypto/des/finish_key.c | 2 +- src/lib/crypto/des/init_rkey.c | 2 +- src/lib/crypto/des/key_parity.c | 2 +- src/lib/crypto/des/key_sched.c | 2 +- src/lib/crypto/des/krb_glue.c | 2 +- src/lib/crypto/des/make_e.c | 7 ++++++- src/lib/crypto/des/make_fp.c | 7 ++++++- src/lib/crypto/des/make_ip.c | 7 ++++++- src/lib/crypto/des/make_kp.c | 4 ++-- src/lib/crypto/des/make_odd.c | 7 ++++++- src/lib/crypto/des/make_p.c | 7 ++++++- src/lib/crypto/des/make_pt.c | 7 ++++++- src/lib/crypto/des/make_s.c | 8 +++++++- src/lib/crypto/des/make_st.c | 7 ++++++- src/lib/crypto/des/misc.c | 7 ++++++- src/lib/crypto/des/new_rn_key.c | 2 +- src/lib/crypto/des/process_ky.c | 2 +- src/lib/crypto/des/verify.c | 2 +- src/lib/crypto/des/weak_key.c | 4 ++-- 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 #include #include 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 * . @@ -25,7 +26,6 @@ static char rcsid_cksum_c[] = "$Id$"; #endif /* !lint & !SABER */ -#include #include #include 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 * . @@ -15,7 +16,6 @@ static char rcsid_cs_entry_c[] = "$Id$"; #endif /* !lint & !SABER */ -#include #include #include 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 * . @@ -39,7 +40,6 @@ static char rcsid_des_c[] = "$Id$"; #endif /* !lint & !SABER */ -#include #include #include 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 #include #include 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 * . @@ -14,7 +15,6 @@ static char rcsid_finish_key_c[] = "$Id$"; #endif /* !lint & !SABER */ -#include #include #include 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 * . @@ -14,7 +15,6 @@ static char rcsid_init_rkey_c[] = "$Id$"; #endif /* !lint & !SABER */ -#include #include #include 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 * . @@ -22,7 +23,6 @@ static char rcsid_key_parity_c[] = "$Id$"; #endif /* !lint & !SABER */ -#include #include #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 * . @@ -35,7 +36,6 @@ static char rcsid_key_sched_c[] = "$Id$"; #endif /* !lint & !SABER */ -#include #include #include 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 #include #include 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 * . @@ -11,7 +12,11 @@ * operations of the DES. */ -#include +#if !defined(lint) && !defined(SABER) +static char rcsid_make_e_c[] = +"$Id$"; +#endif /* !lint & !SABER */ + #include #include #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 * . @@ -11,7 +12,11 @@ * implementing the final permutation of the DES. */ -#include +#if !defined(lint) && !defined(SABER) +static char rcsid_make_fp_c[] = +"$Id$"; +#endif /* !lint & !SABER */ + #include #include #include 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 * . @@ -11,7 +12,11 @@ * permutation of the DES. */ -#include +#if !defined(lint) && !defined(SABER) +static char rcsid_make_ip_c[] = +"$Id$"; +#endif /* !lint & !SABER */ + #include #include #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 * . @@ -16,14 +17,13 @@ * subscripts starting at 0. */ -#include #include #include #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 . @@ -10,7 +11,11 @@ * This routine generates an odd-parity table for use in key generation. */ -#include +#if !defined(lint) && !defined(SABER) +static char rcsid_make_odd_c[] = +"$Id$"; +#endif /* !lint & !SABER */ + #include 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 . @@ -10,7 +11,11 @@ * This routine generates the P permutation code for the DES. */ -#include +#if !defined(lint) && !defined(SABER) +static char rcsid_make_p_c[] = +"$Id$"; +#endif /* !lint & !SABER */ + #include #include #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 * . * */ -#include +#if !defined(lint) && !defined(SABER) +static char rcsid_make_pt_c[] = +"$Id$"; +#endif /* !lint & !SABER */ + #include #include #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 . */ -#include +#if !defined(lint) && !defined(SABER) +static char rcsid_make_s_c[] = +"$Id$"; +#endif /* !lint & !SABER */ + + #include #include #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 . */ -#include +#if !defined(lint) && !defined(SABER) +static char rcsid_make_st_c[] = +"$Id$"; +#endif /* !lint & !SABER */ + #include #include #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 * . @@ -13,7 +14,11 @@ * generating the intermediate source files. */ -#include +#if !defined(lint) && !defined(SABER) +static char rcsid_misc_c[] = +"$Id$"; +#endif /* !lint & !SABER */ + #include #include #include 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 * . @@ -21,7 +22,6 @@ static char rcsid_new_rn_key_c[] = "$Id$"; #endif /* !lint & !SABER */ -#include #include #include #include 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 * . @@ -14,7 +15,6 @@ static char rcsid_process_ky_c[] = "$Id$"; #endif /* !lint & !SABER */ -#include #include #include 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 * . @@ -19,7 +20,6 @@ static char rcsid_verify_c[] = "$Id$"; #endif /*lint*/ -#include #include #include #include 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 * . @@ -20,7 +21,6 @@ static char rcsid_weak_key_c[] = "$Id$"; #endif /* !lint & !SABER */ -#include #include #include #include "des_int.h" -- 2.26.2