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