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