xref: /xnu-10002.61.3/bsd/crypto/doc/KernelCrypto.txt (revision 0f4c859e951fba394238ab619495c4e1d54d0f34)
1*0f4c859eSApple OSS Distributions Original SSLeay License
2*0f4c859eSApple OSS Distributions -----------------------
3*0f4c859eSApple OSS Distributions
4*0f4c859eSApple OSS Distributions/* Copyright (C) 1995-1998 Eric Young ([email protected])
5*0f4c859eSApple OSS Distributions * All rights reserved.
6*0f4c859eSApple OSS Distributions *
7*0f4c859eSApple OSS Distributions * This package is an SSL implementation written
8*0f4c859eSApple OSS Distributions * by Eric Young ([email protected]).
9*0f4c859eSApple OSS Distributions * The implementation was written so as to conform with Netscapes SSL.
10*0f4c859eSApple OSS Distributions *
11*0f4c859eSApple OSS Distributions * This library is free for commercial and non-commercial use as long as
12*0f4c859eSApple OSS Distributions * the following conditions are aheared to.  The following conditions
13*0f4c859eSApple OSS Distributions * apply to all code found in this distribution, be it the RC4, RSA,
14*0f4c859eSApple OSS Distributions * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
15*0f4c859eSApple OSS Distributions * included with this distribution is covered by the same copyright terms
16*0f4c859eSApple OSS Distributions * except that the holder is Tim Hudson ([email protected]).
17*0f4c859eSApple OSS Distributions *
18*0f4c859eSApple OSS Distributions * Copyright remains Eric Young's, and as such any Copyright notices in
19*0f4c859eSApple OSS Distributions * the code are not to be removed.
20*0f4c859eSApple OSS Distributions * If this package is used in a product, Eric Young should be given attribution
21*0f4c859eSApple OSS Distributions * as the author of the parts of the library used.
22*0f4c859eSApple OSS Distributions * This can be in the form of a textual message at program startup or
23*0f4c859eSApple OSS Distributions * in documentation (online or textual) provided with the package.
24*0f4c859eSApple OSS Distributions *
25*0f4c859eSApple OSS Distributions * Redistribution and use in source and binary forms, with or without
26*0f4c859eSApple OSS Distributions * modification, are permitted provided that the following conditions
27*0f4c859eSApple OSS Distributions * are met:
28*0f4c859eSApple OSS Distributions * 1. Redistributions of source code must retain the copyright
29*0f4c859eSApple OSS Distributions *    notice, this list of conditions and the following disclaimer.
30*0f4c859eSApple OSS Distributions * 2. Redistributions in binary form must reproduce the above copyright
31*0f4c859eSApple OSS Distributions *    notice, this list of conditions and the following disclaimer in the
32*0f4c859eSApple OSS Distributions *    documentation and/or other materials provided with the distribution.
33*0f4c859eSApple OSS Distributions * 3. All advertising materials mentioning features or use of this software
34*0f4c859eSApple OSS Distributions *    must display the following acknowledgement:
35*0f4c859eSApple OSS Distributions *    "This product includes cryptographic software written by
36*0f4c859eSApple OSS Distributions *     Eric Young ([email protected])"
37*0f4c859eSApple OSS Distributions *    The word 'cryptographic' can be left out if the rouines from the library
38*0f4c859eSApple OSS Distributions *    being used are not cryptographic related :-).
39*0f4c859eSApple OSS Distributions * 4. If you include any Windows specific code (or a derivative thereof) from
40*0f4c859eSApple OSS Distributions *    the apps directory (application code) you must include an acknowledgement:
41*0f4c859eSApple OSS Distributions *    "This product includes software written by Tim Hudson ([email protected])"
42*0f4c859eSApple OSS Distributions *
43*0f4c859eSApple OSS Distributions * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
44*0f4c859eSApple OSS Distributions * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
45*0f4c859eSApple OSS Distributions * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
46*0f4c859eSApple OSS Distributions * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
47*0f4c859eSApple OSS Distributions * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
48*0f4c859eSApple OSS Distributions * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
49*0f4c859eSApple OSS Distributions * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
50*0f4c859eSApple OSS Distributions * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
51*0f4c859eSApple OSS Distributions * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
52*0f4c859eSApple OSS Distributions * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
53*0f4c859eSApple OSS Distributions * SUCH DAMAGE.
54*0f4c859eSApple OSS Distributions *
55*0f4c859eSApple OSS Distributions * The licence and distribution terms for any publically available version or
56*0f4c859eSApple OSS Distributions * derivative of this code cannot be changed.  i.e. this code cannot simply be
57*0f4c859eSApple OSS Distributions * copied and put under another distribution licence
58*0f4c859eSApple OSS Distributions * [including the GNU Public Licence.]
59*0f4c859eSApple OSS Distributions */
60*0f4c859eSApple OSS Distributions
61*0f4c859eSApple OSS Distributions ---------------------------------------------------------------------------
62*0f4c859eSApple OSS Distributions License for Dr. Brian Gladman's SHA2 implementation
63*0f4c859eSApple OSS Distributions ---------------------------------------------------------------------------
64*0f4c859eSApple OSS Distributions
65*0f4c859eSApple OSS Distributions Copyright (c) 2002, Dr Brian Gladman, Worcester, UK.   All rights reserved.
66*0f4c859eSApple OSS Distributions
67*0f4c859eSApple OSS Distributions LICENSE TERMS
68*0f4c859eSApple OSS Distributions
69*0f4c859eSApple OSS Distributions The free distribution and use of this software in both source and binary
70*0f4c859eSApple OSS Distributions form is allowed (with or without changes) provided that:
71*0f4c859eSApple OSS Distributions
72*0f4c859eSApple OSS Distributions   1. distributions of this source code include the above copyright
73*0f4c859eSApple OSS Distributions      notice, this list of conditions and the following disclaimer;
74*0f4c859eSApple OSS Distributions
75*0f4c859eSApple OSS Distributions   2. distributions in binary form include the above copyright
76*0f4c859eSApple OSS Distributions      notice, this list of conditions and the following disclaimer
77*0f4c859eSApple OSS Distributions      in the documentation and/or other associated materials;
78*0f4c859eSApple OSS Distributions
79*0f4c859eSApple OSS Distributions   3. the copyright holder's name is not used to endorse products
80*0f4c859eSApple OSS Distributions      built using this software without specific written permission.
81*0f4c859eSApple OSS Distributions
82*0f4c859eSApple OSS Distributions ALTERNATIVELY, provided that this notice is retained in full, this product
83*0f4c859eSApple OSS Distributions may be distributed under the terms of the GNU General Public License (GPL),
84*0f4c859eSApple OSS Distributions in which case the provisions of the GPL apply INSTEAD OF those given above.
85*0f4c859eSApple OSS Distributions
86*0f4c859eSApple OSS Distributions DISCLAIMER
87*0f4c859eSApple OSS Distributions
88*0f4c859eSApple OSS Distributions This software is provided 'as is' with no explicit or implied warranties
89*0f4c859eSApple OSS Distributions in respect of its properties, including, but not limited to, correctness
90*0f4c859eSApple OSS Distributions and/or fitness for purpose.
91*0f4c859eSApple OSS Distributions
92*0f4c859eSApple OSS Distributions ---------------------------------------------------------------------------
93*0f4c859eSApple OSS Distributions License for Dr. Brian Gladman's AES implementation
94*0f4c859eSApple OSS Distributions ---------------------------------------------------------------------------
95*0f4c859eSApple OSS Distributions Copyright (c) 2003, Dr Brian Gladman, Worcester, UK.   All rights reserved.
96*0f4c859eSApple OSS Distributions
97*0f4c859eSApple OSS Distributions LICENSE TERMS
98*0f4c859eSApple OSS Distributions
99*0f4c859eSApple OSS Distributions The free distribution and use of this software in both source and binary
100*0f4c859eSApple OSS Distributions form is allowed (with or without changes) provided that:
101*0f4c859eSApple OSS Distributions
102*0f4c859eSApple OSS Distributions   1. distributions of this source code include the above copyright
103*0f4c859eSApple OSS Distributions      notice, this list of conditions and the following disclaimer;
104*0f4c859eSApple OSS Distributions
105*0f4c859eSApple OSS Distributions   2. distributions in binary form include the above copyright
106*0f4c859eSApple OSS Distributions      notice, this list of conditions and the following disclaimer
107*0f4c859eSApple OSS Distributions      in the documentation and/or other associated materials;
108*0f4c859eSApple OSS Distributions
109*0f4c859eSApple OSS Distributions   3. the copyright holder's name is not used to endorse products
110*0f4c859eSApple OSS Distributions      built using this software without specific written permission.
111*0f4c859eSApple OSS Distributions
112*0f4c859eSApple OSS Distributions ALTERNATIVELY, provided that this notice is retained in full, this product
113*0f4c859eSApple OSS Distributions may be distributed under the terms of the GNU General Public License (GPL),
114*0f4c859eSApple OSS Distributions in which case the provisions of the GPL apply INSTEAD OF those given above.
115*0f4c859eSApple OSS Distributions
116*0f4c859eSApple OSS Distributions DISCLAIMER
117*0f4c859eSApple OSS Distributions
118*0f4c859eSApple OSS Distributions This software is provided 'as is' with no explicit or implied warranties
119*0f4c859eSApple OSS Distributions in respect of its properties, including, but not limited to, correctness
120*0f4c859eSApple OSS Distributions and/or fitness for purpose.
121*0f4c859eSApple OSS Distributions
122*0f4c859eSApple OSS Distributions
123*0f4c859eSApple OSS Distributions---------------------------------------------------------------------------
124*0f4c859eSApple OSS Distributions License for Dr. Brian Gladman's XTS implementation
125*0f4c859eSApple OSS Distributions ---------------------------------------------------------------------------
126*0f4c859eSApple OSS Distributions
127*0f4c859eSApple OSS DistributionsCopyright (c) 1998-2007, Brian Gladman, Worcester, UK. All rights reserved.
128*0f4c859eSApple OSS Distributions
129*0f4c859eSApple OSS DistributionsLICENSE TERMS
130*0f4c859eSApple OSS Distributions
131*0f4c859eSApple OSS DistributionsThe free distribution and use of this software is allowed (with or without
132*0f4c859eSApple OSS Distributionschanges) provided that:
133*0f4c859eSApple OSS Distributions
134*0f4c859eSApple OSS Distributions1. source code distributions include the above copyright notice, this
135*0f4c859eSApple OSS Distributions   list of conditions and the following disclaimer;
136*0f4c859eSApple OSS Distributions
137*0f4c859eSApple OSS Distributions2. binary distributions include the above copyright notice, this list
138*0f4c859eSApple OSS Distributions   of conditions and the following disclaimer in their documentation;
139*0f4c859eSApple OSS Distributions
140*0f4c859eSApple OSS Distributions3. the name of the copyright holder is not used to endorse products
141*0f4c859eSApple OSS Distributions   built using this software without specific written permission.
142*0f4c859eSApple OSS Distributions
143*0f4c859eSApple OSS DistributionsDISCLAIMER
144*0f4c859eSApple OSS Distributions
145*0f4c859eSApple OSS DistributionsThis software is provided 'as is' with no explicit or implied warranties
146*0f4c859eSApple OSS Distributionsin respect of its properties, including, but not limited to, correctness
147*0f4c859eSApple OSS Distributionsand/or fitness for purpose.
148*0f4c859eSApple OSS Distributions
149*0f4c859eSApple OSS Distributions
150