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