xref: /OK3568_Linux_fs/external/chromium/licenses/LICENSE.45 (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunBoringSSL is a fork of OpenSSL. As such, large parts of it fall under OpenSSL
2*4882a593Smuzhiyunlicensing. Files that are completely new have a Google copyright and an ISC
3*4882a593Smuzhiyunlicense. This license is reproduced at the bottom of this file.
4*4882a593Smuzhiyun
5*4882a593SmuzhiyunContributors to BoringSSL are required to follow the CLA rules for Chromium:
6*4882a593Smuzhiyunhttps://cla.developers.google.com/clas
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunFiles in third_party/ have their own licenses, as described therein. The MIT
9*4882a593Smuzhiyunlicense, for third_party/fiat, which, unlike other third_party directories, is
10*4882a593Smuzhiyuncompiled into non-test libraries, is included below.
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunThe OpenSSL toolkit stays under a dual license, i.e. both the conditions of the
13*4882a593SmuzhiyunOpenSSL License and the original SSLeay license apply to the toolkit. See below
14*4882a593Smuzhiyunfor the actual license texts. Actually both licenses are BSD-style Open Source
15*4882a593Smuzhiyunlicenses. In case of any license issues related to OpenSSL please contact
16*4882a593Smuzhiyunopenssl-core@openssl.org.
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunThe following are Google-internal bug numbers where explicit permission from
19*4882a593Smuzhiyunsome authors is recorded for use of their work. (This is purely for our own
20*4882a593Smuzhiyunrecord keeping.)
21*4882a593Smuzhiyun  27287199
22*4882a593Smuzhiyun  27287880
23*4882a593Smuzhiyun  27287883
24*4882a593Smuzhiyun
25*4882a593Smuzhiyun  OpenSSL License
26*4882a593Smuzhiyun  ---------------
27*4882a593Smuzhiyun
28*4882a593Smuzhiyun/* ====================================================================
29*4882a593Smuzhiyun * Copyright (c) 1998-2011 The OpenSSL Project.  All rights reserved.
30*4882a593Smuzhiyun *
31*4882a593Smuzhiyun * Redistribution and use in source and binary forms, with or without
32*4882a593Smuzhiyun * modification, are permitted provided that the following conditions
33*4882a593Smuzhiyun * are met:
34*4882a593Smuzhiyun *
35*4882a593Smuzhiyun * 1. Redistributions of source code must retain the above copyright
36*4882a593Smuzhiyun *    notice, this list of conditions and the following disclaimer.
37*4882a593Smuzhiyun *
38*4882a593Smuzhiyun * 2. Redistributions in binary form must reproduce the above copyright
39*4882a593Smuzhiyun *    notice, this list of conditions and the following disclaimer in
40*4882a593Smuzhiyun *    the documentation and/or other materials provided with the
41*4882a593Smuzhiyun *    distribution.
42*4882a593Smuzhiyun *
43*4882a593Smuzhiyun * 3. All advertising materials mentioning features or use of this
44*4882a593Smuzhiyun *    software must display the following acknowledgment:
45*4882a593Smuzhiyun *    "This product includes software developed by the OpenSSL Project
46*4882a593Smuzhiyun *    for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
47*4882a593Smuzhiyun *
48*4882a593Smuzhiyun * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
49*4882a593Smuzhiyun *    endorse or promote products derived from this software without
50*4882a593Smuzhiyun *    prior written permission. For written permission, please contact
51*4882a593Smuzhiyun *    openssl-core@openssl.org.
52*4882a593Smuzhiyun *
53*4882a593Smuzhiyun * 5. Products derived from this software may not be called "OpenSSL"
54*4882a593Smuzhiyun *    nor may "OpenSSL" appear in their names without prior written
55*4882a593Smuzhiyun *    permission of the OpenSSL Project.
56*4882a593Smuzhiyun *
57*4882a593Smuzhiyun * 6. Redistributions of any form whatsoever must retain the following
58*4882a593Smuzhiyun *    acknowledgment:
59*4882a593Smuzhiyun *    "This product includes software developed by the OpenSSL Project
60*4882a593Smuzhiyun *    for use in the OpenSSL Toolkit (http://www.openssl.org/)"
61*4882a593Smuzhiyun *
62*4882a593Smuzhiyun * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
63*4882a593Smuzhiyun * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
64*4882a593Smuzhiyun * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
65*4882a593Smuzhiyun * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE OpenSSL PROJECT OR
66*4882a593Smuzhiyun * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
67*4882a593Smuzhiyun * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
68*4882a593Smuzhiyun * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
69*4882a593Smuzhiyun * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
70*4882a593Smuzhiyun * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
71*4882a593Smuzhiyun * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
72*4882a593Smuzhiyun * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
73*4882a593Smuzhiyun * OF THE POSSIBILITY OF SUCH DAMAGE.
74*4882a593Smuzhiyun * ====================================================================
75*4882a593Smuzhiyun *
76*4882a593Smuzhiyun * This product includes cryptographic software written by Eric Young
77*4882a593Smuzhiyun * (eay@cryptsoft.com).  This product includes software written by Tim
78*4882a593Smuzhiyun * Hudson (tjh@cryptsoft.com).
79*4882a593Smuzhiyun *
80*4882a593Smuzhiyun */
81*4882a593Smuzhiyun
82*4882a593Smuzhiyun Original SSLeay License
83*4882a593Smuzhiyun -----------------------
84*4882a593Smuzhiyun
85*4882a593Smuzhiyun/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
86*4882a593Smuzhiyun * All rights reserved.
87*4882a593Smuzhiyun *
88*4882a593Smuzhiyun * This package is an SSL implementation written
89*4882a593Smuzhiyun * by Eric Young (eay@cryptsoft.com).
90*4882a593Smuzhiyun * The implementation was written so as to conform with Netscapes SSL.
91*4882a593Smuzhiyun *
92*4882a593Smuzhiyun * This library is free for commercial and non-commercial use as long as
93*4882a593Smuzhiyun * the following conditions are aheared to.  The following conditions
94*4882a593Smuzhiyun * apply to all code found in this distribution, be it the RC4, RSA,
95*4882a593Smuzhiyun * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
96*4882a593Smuzhiyun * included with this distribution is covered by the same copyright terms
97*4882a593Smuzhiyun * except that the holder is Tim Hudson (tjh@cryptsoft.com).
98*4882a593Smuzhiyun *
99*4882a593Smuzhiyun * Copyright remains Eric Young's, and as such any Copyright notices in
100*4882a593Smuzhiyun * the code are not to be removed.
101*4882a593Smuzhiyun * If this package is used in a product, Eric Young should be given attribution
102*4882a593Smuzhiyun * as the author of the parts of the library used.
103*4882a593Smuzhiyun * This can be in the form of a textual message at program startup or
104*4882a593Smuzhiyun * in documentation (online or textual) provided with the package.
105*4882a593Smuzhiyun *
106*4882a593Smuzhiyun * Redistribution and use in source and binary forms, with or without
107*4882a593Smuzhiyun * modification, are permitted provided that the following conditions
108*4882a593Smuzhiyun * are met:
109*4882a593Smuzhiyun * 1. Redistributions of source code must retain the copyright
110*4882a593Smuzhiyun *    notice, this list of conditions and the following disclaimer.
111*4882a593Smuzhiyun * 2. Redistributions in binary form must reproduce the above copyright
112*4882a593Smuzhiyun *    notice, this list of conditions and the following disclaimer in the
113*4882a593Smuzhiyun *    documentation and/or other materials provided with the distribution.
114*4882a593Smuzhiyun * 3. All advertising materials mentioning features or use of this software
115*4882a593Smuzhiyun *    must display the following acknowledgement:
116*4882a593Smuzhiyun *    "This product includes cryptographic software written by
117*4882a593Smuzhiyun *     Eric Young (eay@cryptsoft.com)"
118*4882a593Smuzhiyun *    The word 'cryptographic' can be left out if the rouines from the library
119*4882a593Smuzhiyun *    being used are not cryptographic related :-).
120*4882a593Smuzhiyun * 4. If you include any Windows specific code (or a derivative thereof) from
121*4882a593Smuzhiyun *    the apps directory (application code) you must include an acknowledgement:
122*4882a593Smuzhiyun *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
123*4882a593Smuzhiyun *
124*4882a593Smuzhiyun * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
125*4882a593Smuzhiyun * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
126*4882a593Smuzhiyun * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
127*4882a593Smuzhiyun * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
128*4882a593Smuzhiyun * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
129*4882a593Smuzhiyun * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
130*4882a593Smuzhiyun * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
131*4882a593Smuzhiyun * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
132*4882a593Smuzhiyun * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
133*4882a593Smuzhiyun * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
134*4882a593Smuzhiyun * SUCH DAMAGE.
135*4882a593Smuzhiyun *
136*4882a593Smuzhiyun * The licence and distribution terms for any publically available version or
137*4882a593Smuzhiyun * derivative of this code cannot be changed.  i.e. this code cannot simply be
138*4882a593Smuzhiyun * copied and put under another distribution licence
139*4882a593Smuzhiyun * [including the GNU Public Licence.]
140*4882a593Smuzhiyun */
141*4882a593Smuzhiyun
142*4882a593Smuzhiyun
143*4882a593SmuzhiyunISC license used for completely new code in BoringSSL:
144*4882a593Smuzhiyun
145*4882a593Smuzhiyun/* Copyright (c) 2015, Google Inc.
146*4882a593Smuzhiyun *
147*4882a593Smuzhiyun * Permission to use, copy, modify, and/or distribute this software for any
148*4882a593Smuzhiyun * purpose with or without fee is hereby granted, provided that the above
149*4882a593Smuzhiyun * copyright notice and this permission notice appear in all copies.
150*4882a593Smuzhiyun *
151*4882a593Smuzhiyun * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
152*4882a593Smuzhiyun * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
153*4882a593Smuzhiyun * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
154*4882a593Smuzhiyun * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
155*4882a593Smuzhiyun * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
156*4882a593Smuzhiyun * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
157*4882a593Smuzhiyun * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
158*4882a593Smuzhiyun
159*4882a593Smuzhiyun
160*4882a593SmuzhiyunThe code in third_party/fiat carries the MIT license:
161*4882a593Smuzhiyun
162*4882a593SmuzhiyunCopyright (c) 2015-2016 the fiat-crypto authors (see
163*4882a593Smuzhiyunhttps://github.com/mit-plv/fiat-crypto/blob/master/AUTHORS).
164*4882a593Smuzhiyun
165*4882a593SmuzhiyunPermission is hereby granted, free of charge, to any person obtaining a copy
166*4882a593Smuzhiyunof this software and associated documentation files (the "Software"), to deal
167*4882a593Smuzhiyunin the Software without restriction, including without limitation the rights
168*4882a593Smuzhiyunto use, copy, modify, merge, publish, distribute, sublicense, and/or sell
169*4882a593Smuzhiyuncopies of the Software, and to permit persons to whom the Software is
170*4882a593Smuzhiyunfurnished to do so, subject to the following conditions:
171*4882a593Smuzhiyun
172*4882a593SmuzhiyunThe above copyright notice and this permission notice shall be included in all
173*4882a593Smuzhiyuncopies or substantial portions of the Software.
174*4882a593Smuzhiyun
175*4882a593SmuzhiyunTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
176*4882a593SmuzhiyunIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
177*4882a593SmuzhiyunFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
178*4882a593SmuzhiyunAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
179*4882a593SmuzhiyunLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
180*4882a593SmuzhiyunOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
181*4882a593SmuzhiyunSOFTWARE.
182*4882a593Smuzhiyun
183*4882a593Smuzhiyun
184*4882a593SmuzhiyunLicenses for support code
185*4882a593Smuzhiyun-------------------------
186*4882a593Smuzhiyun
187*4882a593SmuzhiyunParts of the TLS test suite are under the Go license. This code is not included
188*4882a593Smuzhiyunin BoringSSL (i.e. libcrypto and libssl) when compiled, however, so
189*4882a593Smuzhiyundistributing code linked against BoringSSL does not trigger this license:
190*4882a593Smuzhiyun
191*4882a593SmuzhiyunCopyright (c) 2009 The Go Authors. All rights reserved.
192*4882a593Smuzhiyun
193*4882a593SmuzhiyunRedistribution and use in source and binary forms, with or without
194*4882a593Smuzhiyunmodification, are permitted provided that the following conditions are
195*4882a593Smuzhiyunmet:
196*4882a593Smuzhiyun
197*4882a593Smuzhiyun   * Redistributions of source code must retain the above copyright
198*4882a593Smuzhiyunnotice, this list of conditions and the following disclaimer.
199*4882a593Smuzhiyun   * Redistributions in binary form must reproduce the above
200*4882a593Smuzhiyuncopyright notice, this list of conditions and the following disclaimer
201*4882a593Smuzhiyunin the documentation and/or other materials provided with the
202*4882a593Smuzhiyundistribution.
203*4882a593Smuzhiyun   * Neither the name of Google Inc. nor the names of its
204*4882a593Smuzhiyuncontributors may be used to endorse or promote products derived from
205*4882a593Smuzhiyunthis software without specific prior written permission.
206*4882a593Smuzhiyun
207*4882a593SmuzhiyunTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
208*4882a593Smuzhiyun"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
209*4882a593SmuzhiyunLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
210*4882a593SmuzhiyunA PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
211*4882a593SmuzhiyunOWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
212*4882a593SmuzhiyunSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
213*4882a593SmuzhiyunLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
214*4882a593SmuzhiyunDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
215*4882a593SmuzhiyunTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
216*4882a593Smuzhiyun(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
217*4882a593SmuzhiyunOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
218*4882a593Smuzhiyun
219*4882a593Smuzhiyun
220*4882a593SmuzhiyunBoringSSL uses the Chromium test infrastructure to run a continuous build,
221*4882a593Smuzhiyuntrybots etc. The scripts which manage this, and the script for generating build
222*4882a593Smuzhiyunmetadata, are under the Chromium license. Distributing code linked against
223*4882a593SmuzhiyunBoringSSL does not trigger this license.
224*4882a593Smuzhiyun
225*4882a593SmuzhiyunCopyright 2015 The Chromium Authors. All rights reserved.
226*4882a593Smuzhiyun
227*4882a593SmuzhiyunRedistribution and use in source and binary forms, with or without
228*4882a593Smuzhiyunmodification, are permitted provided that the following conditions are
229*4882a593Smuzhiyunmet:
230*4882a593Smuzhiyun
231*4882a593Smuzhiyun   * Redistributions of source code must retain the above copyright
232*4882a593Smuzhiyunnotice, this list of conditions and the following disclaimer.
233*4882a593Smuzhiyun   * Redistributions in binary form must reproduce the above
234*4882a593Smuzhiyuncopyright notice, this list of conditions and the following disclaimer
235*4882a593Smuzhiyunin the documentation and/or other materials provided with the
236*4882a593Smuzhiyundistribution.
237*4882a593Smuzhiyun   * Neither the name of Google Inc. nor the names of its
238*4882a593Smuzhiyuncontributors may be used to endorse or promote products derived from
239*4882a593Smuzhiyunthis software without specific prior written permission.
240*4882a593Smuzhiyun
241*4882a593SmuzhiyunTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
242*4882a593Smuzhiyun"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
243*4882a593SmuzhiyunLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
244*4882a593SmuzhiyunA PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
245*4882a593SmuzhiyunOWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
246*4882a593SmuzhiyunSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
247*4882a593SmuzhiyunLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
248*4882a593SmuzhiyunDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
249*4882a593SmuzhiyunTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
250*4882a593Smuzhiyun(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
251*4882a593SmuzhiyunOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
252