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