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