1*4e5b757fSkupfer    * Copyright (c) 1993, 1999 The Australian National University.
2*4e5b757fSkupfer    * All rights reserved.
3*4e5b757fSkupfer    *
4*4e5b757fSkupfer    * Redistribution and use in source and binary forms are permitted
5*4e5b757fSkupfer    * provided that the above copyright notice and this paragraph are
6*4e5b757fSkupfer    * duplicated in all such forms and that any documentation,
7*4e5b757fSkupfer    * advertising materials, and other materials related to such
8*4e5b757fSkupfer    * distribution and use acknowledge that the software was developed
9*4e5b757fSkupfer    * by the Australian National University.  The name of the University
10*4e5b757fSkupfer    * may not be used to endorse or promote products derived from this
11*4e5b757fSkupfer    * software without specific prior written permission.
12*4e5b757fSkupfer    * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
13*4e5b757fSkupfer    * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
14*4e5b757fSkupfer    * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
15*4e5b757fSkupfer
16*4e5b757fSkupfer    * Copyright (c) 1994 The Australian National University.
17*4e5b757fSkupfer    * All rights reserved.
18*4e5b757fSkupfer    *
19*4e5b757fSkupfer    * Permission to use, copy, modify, and distribute this software and its
20*4e5b757fSkupfer    * documentation is hereby granted, provided that the above copyright
21*4e5b757fSkupfer    * notice appears in all copies.  This software is provided without any
22*4e5b757fSkupfer    * warranty, express or implied. The Australian National University
23*4e5b757fSkupfer    * makes no representations about the suitability of this software for
24*4e5b757fSkupfer    * any purpose.
25*4e5b757fSkupfer    *
26*4e5b757fSkupfer    * IN NO EVENT SHALL THE AUSTRALIAN NATIONAL UNIVERSITY BE LIABLE TO ANY
27*4e5b757fSkupfer    * PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
28*4e5b757fSkupfer    * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
29*4e5b757fSkupfer    * THE AUSTRALIAN NATIONAL UNIVERSITY HAVE BEEN ADVISED OF THE POSSIBILITY
30*4e5b757fSkupfer    * OF SUCH DAMAGE.
31*4e5b757fSkupfer    *
32*4e5b757fSkupfer    * THE AUSTRALIAN NATIONAL UNIVERSITY SPECIFICALLY DISCLAIMS ANY WARRANTIES,
33*4e5b757fSkupfer    * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
34*4e5b757fSkupfer    * AND FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
35*4e5b757fSkupfer    * ON AN "AS IS" BASIS, AND THE AUSTRALIAN NATIONAL UNIVERSITY HAS NO
36*4e5b757fSkupfer    * OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS,
37*4e5b757fSkupfer    * OR MODIFICATIONS.
38*4e5b757fSkupfer
39*4e5b757fSkupfer    * Copyright (c) 1989 Carnegie Mellon University.
40*4e5b757fSkupfer    * All rights reserved.
41*4e5b757fSkupfer    *
42*4e5b757fSkupfer    * Redistribution and use in source and binary forms are permitted
43*4e5b757fSkupfer    * provided that the above copyright notice and this paragraph are
44*4e5b757fSkupfer    * duplicated in all such forms and that any documentation,
45*4e5b757fSkupfer    * advertising materials, and other materials related to such
46*4e5b757fSkupfer    * distribution and use acknowledge that the software was developed
47*4e5b757fSkupfer    * by Carnegie Mellon University.  The name of the
48*4e5b757fSkupfer    * University may not be used to endorse or promote products derived
49*4e5b757fSkupfer    * from this software without specific prior written permission.
50*4e5b757fSkupfer    * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
51*4e5b757fSkupfer    * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
52*4e5b757fSkupfer    * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
53*4e5b757fSkupfer
54*4e5b757fSkupfer    * Copyright (c) 1995 Pedro Roque Marques
55*4e5b757fSkupfer    * All rights reserved.
56*4e5b757fSkupfer    *
57*4e5b757fSkupfer    * Redistribution and use in source and binary forms are permitted
58*4e5b757fSkupfer    * provided that the above copyright notice and this paragraph are
59*4e5b757fSkupfer    * duplicated in all such forms and that any documentation,
60*4e5b757fSkupfer    * advertising materials, and other materials related to such
61*4e5b757fSkupfer    * distribution and use acknowledge that the software was developed
62*4e5b757fSkupfer    * by Pedro Roque Marques.  The name of the author may not be used to
63*4e5b757fSkupfer    * endorse or promote products derived from this software without
64*4e5b757fSkupfer    * specific prior written permission.
65*4e5b757fSkupfer    *
66*4e5b757fSkupfer    * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
67*4e5b757fSkupfer    * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
68*4e5b757fSkupfer    * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
69*4e5b757fSkupfer
70*4e5b757fSkupfer    * Copyright (c) 1991 Gregory M. Christy.
71*4e5b757fSkupfer    * All rights reserved.
72*4e5b757fSkupfer    *
73*4e5b757fSkupfer    * Redistribution and use in source and binary forms are permitted
74*4e5b757fSkupfer    * provided that the above copyright notice and this paragraph are
75*4e5b757fSkupfer    * duplicated in all such forms and that any documentation,
76*4e5b757fSkupfer    * advertising materials, and other materials related to such
77*4e5b757fSkupfer    * distribution and use acknowledge that the software was developed
78*4e5b757fSkupfer    * by Gregory M. Christy.  The name of the author may not be used to
79*4e5b757fSkupfer    * endorse or promote products derived from this software without
80*4e5b757fSkupfer    * specific prior written permission.
81*4e5b757fSkupfer    *
82*4e5b757fSkupfer    * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
83*4e5b757fSkupfer    * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
84*4e5b757fSkupfer    * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
85*4e5b757fSkupfer
86*4e5b757fSkupfer    * Copyright (c) 1995 Eric Rosenquist, Strata Software Limited.
87*4e5b757fSkupfer    * http://www.strataware.com/
88*4e5b757fSkupfer    *
89*4e5b757fSkupfer    * All rights reserved.
90*4e5b757fSkupfer    *
91*4e5b757fSkupfer    * Redistribution and use in source and binary forms are permitted
92*4e5b757fSkupfer    * provided that the above copyright notice and this paragraph are
93*4e5b757fSkupfer    * duplicated in all such forms and that any documentation,
94*4e5b757fSkupfer    * advertising materials, and other materials related to such
95*4e5b757fSkupfer    * distribution and use acknowledge that the software was developed
96*4e5b757fSkupfer    * by Eric Rosenquist.	The name of the author may not be used to
97*4e5b757fSkupfer    * endorse or promote products derived from this software without
98*4e5b757fSkupfer    * specific prior written permission.
99*4e5b757fSkupfer    *
100*4e5b757fSkupfer    * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
101*4e5b757fSkupfer    * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
102*4e5b757fSkupfer    * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
103*4e5b757fSkupfer
104*4e5b757fSkupfer    ipv6cp.h - PPP IPV6 Control Protocol.
105*4e5b757fSkupfer    Copyright (C) 1999	Tommi Komulainen <Tommi.Komulainen@iki.fi>
106*4e5b757fSkupfer
107*4e5b757fSkupfer    Redistribution and use in source and binary forms are permitted
108*4e5b757fSkupfer    provided that the above copyright notice and this paragraph are
109*4e5b757fSkupfer    duplicated in all such forms.  The name of the author may not be
110*4e5b757fSkupfer    used to endorse or promote products derived from this software
111*4e5b757fSkupfer    without specific prior written permission.
112*4e5b757fSkupfer    THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
113*4e5b757fSkupfer    IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
114*4e5b757fSkupfer    WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
115*4e5b757fSkupfer    */
116*4e5b757fSkupfer
117*4e5b757fSkupfer    /*  Original version, based on RFC2023 :
118*4e5b757fSkupfer
119*4e5b757fSkupfer    Copyright (c) 1995, 1996, 1997 Francis.Dupont@inria.fr, INRIA Rocquencourt,
120*4e5b757fSkupfer    Alain.Durand@imag.fr, IMAG,
121*4e5b757fSkupfer    Jean-Luc.Richier@imag.fr, IMAG-LSR.
122*4e5b757fSkupfer
123*4e5b757fSkupfer    Copyright (c) 1998, 1999 Francis.Dupont@inria.fr, GIE DYADE,
124*4e5b757fSkupfer    Alain.Durand@imag.fr, IMAG,
125*4e5b757fSkupfer    Jean-Luc.Richier@imag.fr, IMAG-LSR.
126*4e5b757fSkupfer
127*4e5b757fSkupfer    Ce travail a \351t\351 fait au sein du GIE DYADE (Groupement d'Int\351r\352t
128*4e5b757fSkupfer    \311conomique ayant pour membres BULL S.A. et l'INRIA).
129*4e5b757fSkupfer
130*4e5b757fSkupfer    Ce logiciel informatique est disponible aux conditions
131*4e5b757fSkupfer    usuelles dans la recherche, c'est-\340-dire qu'il peut
132*4e5b757fSkupfer    \352tre utilis\351, copi\351, modifi\351, distribu\351 \340 l'unique
133*4e5b757fSkupfer    condition que ce texte soit conserv\351 afin que
134*4e5b757fSkupfer    l'origine de ce logiciel soit reconnue.
135*4e5b757fSkupfer
136*4e5b757fSkupfer    Le nom de l'Institut National de Recherche en Informatique
137*4e5b757fSkupfer    et en Automatique (INRIA), de l'IMAG, ou d'une personne morale
138*4e5b757fSkupfer    ou physique ayant particip\351 \340 l'\351laboration de ce logiciel ne peut
139*4e5b757fSkupfer    \352tre utilis\351 sans son accord pr\351alable explicite.
140*4e5b757fSkupfer
141*4e5b757fSkupfer    Ce logiciel est fourni tel quel sans aucune garantie,
142*4e5b757fSkupfer    support ou responsabilit\351 d'aucune sorte.
143*4e5b757fSkupfer    Ce logiciel est d\351riv\351 de sources d'origine
144*4e5b757fSkupfer    "University of California at Berkeley" et
145*4e5b757fSkupfer    "Digital Equipment Corporation" couvertes par des copyrights.
146*4e5b757fSkupfer
147*4e5b757fSkupfer    L'Institut d'Informatique et de Math\351matiques Appliqu\351es de Grenoble (IMAG)
148*4e5b757fSkupfer    est une f\351d\351ration d'unit\351s mixtes de recherche du CNRS, de l'Institut
149*4e5b757fSkupfer    National
150*4e5b757fSkupfer    Polytechnique de Grenoble et de l'Universit\351 Joseph Fourier regroupant
151*4e5b757fSkupfer    sept laboratoires dont le laboratoire Logiciels, Syst\350mes, R\351seaux (LSR).
152*4e5b757fSkupfer
153*4e5b757fSkupfer    This work has been done in the context of GIE DYADE (joint R & D venture
154*4e5b757fSkupfer    between BULL S.A. and INRIA).
155*4e5b757fSkupfer
156*4e5b757fSkupfer    This software is available with usual "research" terms
157*4e5b757fSkupfer    with the aim of retain credits of the software.
158*4e5b757fSkupfer    Permission to use, copy, modify and distribute this software for any
159*4e5b757fSkupfer    purpose and without fee is hereby granted, provided that the above
160*4e5b757fSkupfer    copyright notice and this permission notice appear in all copies,
161*4e5b757fSkupfer    and the name of INRIA, IMAG, or any contributor not be used in advertising
162*4e5b757fSkupfer    or publicity pertaining to this material without the prior explicit
163*4e5b757fSkupfer    permission. The software is provided "as is" without any
164*4e5b757fSkupfer    warranties, support or liabilities of any kind.
165*4e5b757fSkupfer    This software is derived from source code from
166*4e5b757fSkupfer    "University of California at Berkeley" and
167*4e5b757fSkupfer    "Digital Equipment Corporation" protected by copyrights.
168*4e5b757fSkupfer
169*4e5b757fSkupfer    Grenoble's Institute of Computer Science and Applied Mathematics (IMAG)
170*4e5b757fSkupfer    is a federation of seven research units funded by the CNRS, National
171*4e5b757fSkupfer    Polytechnic Institute of Grenoble and University Joseph Fourier.
172*4e5b757fSkupfer    The research unit in Software, Systems, Networks (LSR) is member of IMAG.
173*4e5b757fSkupfer    */
174*4e5b757fSkupfer
175*4e5b757fSkupfer    * Copyright (c) 2000 Paul Mackerras.
176*4e5b757fSkupfer    * All rights reserved.
177*4e5b757fSkupfer    *
178*4e5b757fSkupfer    * Redistribution and use in source and binary forms are permitted
179*4e5b757fSkupfer    * provided that the above copyright notice and this paragraph are
180*4e5b757fSkupfer    * duplicated in all such forms.  The name of the author may not be
181*4e5b757fSkupfer    * used to endorse or promote products derived from this software
182*4e5b757fSkupfer    * without specific prior written permission.
183*4e5b757fSkupfer    * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
184*4e5b757fSkupfer    * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
185*4e5b757fSkupfer    * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
186*4e5b757fSkupfer
187*4e5b757fSkupfer    * The basic framework for this code came from the reference
188*4e5b757fSkupfer    * implementation for MD5.  That implementation is Copyright (C)
189*4e5b757fSkupfer    * 1991-2, RSA Data Security, Inc. Created 1991. All rights reserved.
190*4e5b757fSkupfer    *
191*4e5b757fSkupfer    * License to copy and use this software is granted provided that it
192*4e5b757fSkupfer    * is identified as the "RSA Data Security, Inc. MD5 Message-Digest
193*4e5b757fSkupfer    * Algorithm" in all material mentioning or referencing this software
194*4e5b757fSkupfer    * or this function.
195*4e5b757fSkupfer    *
196*4e5b757fSkupfer    * License is also granted to make and use derivative works provided
197*4e5b757fSkupfer    * that such works are identified as "derived from the RSA Data
198*4e5b757fSkupfer    * Security, Inc. MD5 Message-Digest Algorithm" in all material
199*4e5b757fSkupfer    * mentioning or referencing the derived work.
200*4e5b757fSkupfer    *
201*4e5b757fSkupfer    * RSA Data Security, Inc. makes no representations concerning either
202*4e5b757fSkupfer    * the merchantability of this software or the suitability of this
203*4e5b757fSkupfer    * software for any particular purpose. It is provided "as is"
204*4e5b757fSkupfer    * without express or implied warranty of any kind.
205*4e5b757fSkupfer    *
206*4e5b757fSkupfer    * These notices must be retained in any copies of any part of this
207*4e5b757fSkupfer    * documentation and/or software.
208*4e5b757fSkupfer    *
209*4e5b757fSkupfer    * NOTE: Cleaned-up and optimized, version of SHA1, based on the FIPS 180-1
210*4e5b757fSkupfer    * standard, available at http://www.itl.nist.gov/div897/pubs/fip180-1.htm
211*4e5b757fSkupfer    * Not as fast as one would like -- further optimizations are encouraged
212*4e5b757fSkupfer    * and appreciated.
213*4e5b757fSkupfer
214*4e5b757fSkupfer    Copyright (c) 1985, 1986 The Regents of the University of California.
215*4e5b757fSkupfer    All rights reserved.
216*4e5b757fSkupfer
217*4e5b757fSkupfer        This code is derived from software contributed to Berkeley by
218*4e5b757fSkupfer        James A. Woods, derived from original work by Spencer Thomas
219*4e5b757fSkupfer        and Joseph Orost.
220*4e5b757fSkupfer
221*4e5b757fSkupfer        Redistribution and use in source and binary forms, with or without
222*4e5b757fSkupfer        modification, are permitted provided that the following conditions
223*4e5b757fSkupfer        are met:
224*4e5b757fSkupfer        1. Redistributions of source code must retain the above copyright
225*4e5b757fSkupfer	    notice, this list of conditions and the following disclaimer.
226*4e5b757fSkupfer        2. Redistributions in binary form must reproduce the above
227*4e5b757fSkupfer	    copyright notice, this list of conditions and the following
228*4e5b757fSkupfer	    disclaimer in the documentation and/or other materials provided
229*4e5b757fSkupfer	    with the distribution.
230*4e5b757fSkupfer        3. All advertising materials mentioning features or use of this
231*4e5b757fSkupfer	    software must display the following acknowledgement:
232*4e5b757fSkupfer	     This product includes software developed by the University of
233*4e5b757fSkupfer	     California, Berkeley and its contributors.
234*4e5b757fSkupfer        4. Neither the name of the University nor the names of its
235*4e5b757fSkupfer	    contributors may be used to endorse or promote products derived
236*4e5b757fSkupfer	    from this software without specific prior written permission.
237*4e5b757fSkupfer
238*4e5b757fSkupfer        THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS
239*4e5b757fSkupfer        IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
240*4e5b757fSkupfer        LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
241*4e5b757fSkupfer        FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE
242*4e5b757fSkupfer        REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
243*4e5b757fSkupfer        INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
244*4e5b757fSkupfer        (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
245*4e5b757fSkupfer        SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
246*4e5b757fSkupfer        HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
247*4e5b757fSkupfer        CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
248*4e5b757fSkupfer        OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
249*4e5b757fSkupfer        EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
250*4e5b757fSkupfer
251*4e5b757fSkupfer    Copyright (c) 1989 Regents of the University of California.  All
252*4e5b757fSkupfer    rights reserved.
253*4e5b757fSkupfer
254*4e5b757fSkupfer        Redistribution and use in source and binary forms are permitted
255*4e5b757fSkupfer        provided that the above copyright notice and this paragraph are
256*4e5b757fSkupfer        duplicated in all such forms and that any documentation,
257*4e5b757fSkupfer        advertising materials, and other materials related to such
258*4e5b757fSkupfer        distribution and use acknowledge that the software was developed
259*4e5b757fSkupfer        by the University of California, Berkeley.	The name of the
260*4e5b757fSkupfer        University may not be used to endorse or promote products derived
261*4e5b757fSkupfer        from this software without specific prior written permission.
262*4e5b757fSkupfer        THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
263*4e5b757fSkupfer        IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
264*4e5b757fSkupfer        WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
265*4e5b757fSkupfer        PURPOSE.
266