| 1 |
BoringSSL is a fork of OpenSSL. As such, large parts of it fall under OpenSSL |
| 2 |
licensing. Files that are completely new have a Google copyright and an ISC |
| 3 |
license. This license is reproduced at the bottom of this file. |
| 4 |
|
| 5 |
Contributors to BoringSSL are required to follow the CLA rules for Chromium: |
| 6 |
https://cla.developers.google.com/clas |
| 7 |
|
| 8 |
Files in third_party/ have their own licenses, as described therein. The MIT |
| 9 |
license, for third_party/fiat, which, unlike other third_party directories, is |
| 10 |
compiled into non-test libraries, is included below. |
| 11 |
|
| 12 |
The OpenSSL toolkit stays under a dual license, i.e. both the conditions of the |
| 13 |
OpenSSL License and the original SSLeay license apply to the toolkit. See below |
| 14 |
for the actual license texts. Actually both licenses are BSD-style Open Source |
| 15 |
licenses. In case of any license issues related to OpenSSL please contact |
| 16 |
[email protected]. |
| 17 |
|
| 18 |
The following are Google-internal bug numbers where explicit permission from |
| 19 |
some authors is recorded for use of their work. (This is purely for our own |
| 20 |
record 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 |
* [email protected]. |
| 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 |
* ([email protected]). This product includes software written by Tim |
| 79 |
* Hudson ([email protected]). |
| 80 |
* |
| 81 |
*/ |
| 82 |
|
| 83 |
Original SSLeay License |
| 84 |
----------------------- |
| 85 |
|
| 86 |
/* Copyright (C) 1995-1998 Eric Young ([email protected]) |
| 87 |
* All rights reserved. |
| 88 |
* |
| 89 |
* This package is an SSL implementation written |
| 90 |
* by Eric Young ([email protected]). |
| 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 ([email protected]). |
| 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 ([email protected])" |
| 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 ([email protected])" |
| 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 |
|
| 144 |
ISC 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 |
|
| 161 |
The code in third_party/fiat carries the MIT license: |
| 162 |
|
| 163 |
Copyright (c) 2015-2016 the fiat-crypto authors (see |
| 164 |
https://github.com/mit-plv/fiat-crypto/blob/master/AUTHORS). |
| 165 |
|
| 166 |
Permission is hereby granted, free of charge, to any person obtaining a copy |
| 167 |
of this software and associated documentation files (the "Software"), to deal |
| 168 |
in the Software without restriction, including without limitation the rights |
| 169 |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 170 |
copies of the Software, and to permit persons to whom the Software is |
| 171 |
furnished to do so, subject to the following conditions: |
| 172 |
|
| 173 |
The above copyright notice and this permission notice shall be included in all |
| 174 |
copies or substantial portions of the Software. |
| 175 |
|
| 176 |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 177 |
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 178 |
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 179 |
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 180 |
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 181 |
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 182 |
SOFTWARE. |
| 183 |
|
| 184 |
|
| 185 |
Licenses for support code |
| 186 |
------------------------- |
| 187 |
|
| 188 |
Parts of the TLS test suite are under the Go license. This code is not included |
| 189 |
in BoringSSL (i.e. libcrypto and libssl) when compiled, however, so |
| 190 |
distributing code linked against BoringSSL does not trigger this license: |
| 191 |
|
| 192 |
Copyright (c) 2009 The Go Authors. All rights reserved. |
| 193 |
|
| 194 |
Redistribution and use in source and binary forms, with or without |
| 195 |
modification, are permitted provided that the following conditions are |
| 196 |
met: |
| 197 |
|
| 198 |
* Redistributions of source code must retain the above copyright |
| 199 |
notice, this list of conditions and the following disclaimer. |
| 200 |
* Redistributions in binary form must reproduce the above |
| 201 |
copyright notice, this list of conditions and the following disclaimer |
| 202 |
in the documentation and/or other materials provided with the |
| 203 |
distribution. |
| 204 |
* Neither the name of Google Inc. nor the names of its |
| 205 |
contributors may be used to endorse or promote products derived from |
| 206 |
this software without specific prior written permission. |
| 207 |
|
| 208 |
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 209 |
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 210 |
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 211 |
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 212 |
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 213 |
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 214 |
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 215 |
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 216 |
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 217 |
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 218 |
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 219 |
|
| 220 |
|
| 221 |
BoringSSL uses the Chromium test infrastructure to run a continuous build, |
| 222 |
trybots etc. The scripts which manage this, and the script for generating build |
| 223 |
metadata, are under the Chromium license. Distributing code linked against |
| 224 |
BoringSSL does not trigger this license. |
| 225 |
|
| 226 |
Copyright 2015 The Chromium Authors. All rights reserved. |
| 227 |
|
| 228 |
Redistribution and use in source and binary forms, with or without |
| 229 |
modification, are permitted provided that the following conditions are |
| 230 |
met: |
| 231 |
|
| 232 |
* Redistributions of source code must retain the above copyright |
| 233 |
notice, this list of conditions and the following disclaimer. |
| 234 |
* Redistributions in binary form must reproduce the above |
| 235 |
copyright notice, this list of conditions and the following disclaimer |
| 236 |
in the documentation and/or other materials provided with the |
| 237 |
distribution. |
| 238 |
* Neither the name of Google Inc. nor the names of its |
| 239 |
contributors may be used to endorse or promote products derived from |
| 240 |
this software without specific prior written permission. |
| 241 |
|
| 242 |
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 243 |
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 244 |
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 245 |
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 246 |
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 247 |
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 248 |
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 249 |
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 250 |
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 251 |
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 252 |
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |