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