blob: 49c41fa7afc25208346efe1dd1db7e7431478965 [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
184Licenses for support code
185-------------------------
186
187Parts of the TLS test suite are under the Go license. This code is not included
188in BoringSSL (i.e. libcrypto and libssl) when compiled, however, so
189distributing code linked against BoringSSL does not trigger this license:
190
191Copyright (c) 2009 The Go Authors. All rights reserved.
192
193Redistribution and use in source and binary forms, with or without
194modification, are permitted provided that the following conditions are
195met:
196
197 * Redistributions of source code must retain the above copyright
198notice, this list of conditions and the following disclaimer.
199 * Redistributions in binary form must reproduce the above
200copyright notice, this list of conditions and the following disclaimer
201in the documentation and/or other materials provided with the
202distribution.
203 * Neither the name of Google Inc. nor the names of its
204contributors may be used to endorse or promote products derived from
205this software without specific prior written permission.
206
207THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
208"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
209LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
210A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
211OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
212SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
213LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
214DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
215THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
216(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
217OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
218
219
220BoringSSL uses the Chromium test infrastructure to run a continuous build,
221trybots etc. The scripts which manage this, and the script for generating build
222metadata, are under the Chromium license. Distributing code linked against
223BoringSSL does not trigger this license.
224
225Copyright 2015 The Chromium Authors. All rights reserved.
226
227Redistribution and use in source and binary forms, with or without
228modification, are permitted provided that the following conditions are
229met:
230
231 * Redistributions of source code must retain the above copyright
232notice, this list of conditions and the following disclaimer.
233 * Redistributions in binary form must reproduce the above
234copyright notice, this list of conditions and the following disclaimer
235in the documentation and/or other materials provided with the
236distribution.
237 * Neither the name of Google Inc. nor the names of its
238contributors may be used to endorse or promote products derived from
239this software without specific prior written permission.
240
241THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
242"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
243LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
244A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
245OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
246SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
247LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
248DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
249THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
250(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
251OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.