David Benjamin | 2dff625 | 2018-08-20 15:06:25 -0500 | [diff] [blame] | 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. |
Adam Langley | d9e397b | 2015-01-22 14:27:53 -0800 | [diff] [blame] | 4 | |
David Benjamin | 2dff625 | 2018-08-20 15:06:25 -0500 | [diff] [blame] | 5 | Contributors to BoringSSL are required to follow the CLA rules for Chromium: |
| 6 | https://cla.developers.google.com/clas |
Adam Langley | d9e397b | 2015-01-22 14:27:53 -0800 | [diff] [blame] | 7 | |
David Benjamin | 2dff625 | 2018-08-20 15:06:25 -0500 | [diff] [blame] | 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 | openssl-core@openssl.org. |
| 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 |
Adam Langley | d9e397b | 2015-01-22 14:27:53 -0800 | [diff] [blame] | 24 | |
| 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 Benjamin | 2dff625 | 2018-08-20 15:06:25 -0500 | [diff] [blame] | 142 | |
| 143 | ISC 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 | |
| 160 | The code in third_party/fiat carries the MIT license: |
| 161 | |
| 162 | Copyright (c) 2015-2016 the fiat-crypto authors (see |
| 163 | https://github.com/mit-plv/fiat-crypto/blob/master/AUTHORS). |
| 164 | |
| 165 | Permission is hereby granted, free of charge, to any person obtaining a copy |
| 166 | of this software and associated documentation files (the "Software"), to deal |
| 167 | in the Software without restriction, including without limitation the rights |
| 168 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 169 | copies of the Software, and to permit persons to whom the Software is |
| 170 | furnished to do so, subject to the following conditions: |
| 171 | |
| 172 | The above copyright notice and this permission notice shall be included in all |
| 173 | copies or substantial portions of the Software. |
| 174 | |
| 175 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 176 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 177 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 178 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 179 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 180 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 181 | SOFTWARE. |
| 182 | |
| 183 | |
| 184 | Licenses for support code |
| 185 | ------------------------- |
| 186 | |
| 187 | Parts of the TLS test suite are under the Go license. This code is not included |
| 188 | in BoringSSL (i.e. libcrypto and libssl) when compiled, however, so |
| 189 | distributing code linked against BoringSSL does not trigger this license: |
| 190 | |
| 191 | Copyright (c) 2009 The Go Authors. All rights reserved. |
| 192 | |
| 193 | Redistribution and use in source and binary forms, with or without |
| 194 | modification, are permitted provided that the following conditions are |
| 195 | met: |
| 196 | |
| 197 | * Redistributions of source code must retain the above copyright |
| 198 | notice, this list of conditions and the following disclaimer. |
| 199 | * Redistributions in binary form must reproduce the above |
| 200 | copyright notice, this list of conditions and the following disclaimer |
| 201 | in the documentation and/or other materials provided with the |
| 202 | distribution. |
| 203 | * Neither the name of Google Inc. nor the names of its |
| 204 | contributors may be used to endorse or promote products derived from |
| 205 | this software without specific prior written permission. |
| 206 | |
| 207 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 208 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 209 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 210 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 211 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 212 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 213 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 214 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 215 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 216 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 217 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 218 | |
| 219 | |
| 220 | BoringSSL uses the Chromium test infrastructure to run a continuous build, |
| 221 | trybots etc. The scripts which manage this, and the script for generating build |
| 222 | metadata, are under the Chromium license. Distributing code linked against |
| 223 | BoringSSL does not trigger this license. |
| 224 | |
| 225 | Copyright 2015 The Chromium Authors. All rights reserved. |
| 226 | |
| 227 | Redistribution and use in source and binary forms, with or without |
| 228 | modification, are permitted provided that the following conditions are |
| 229 | met: |
| 230 | |
| 231 | * Redistributions of source code must retain the above copyright |
| 232 | notice, this list of conditions and the following disclaimer. |
| 233 | * Redistributions in binary form must reproduce the above |
| 234 | copyright notice, this list of conditions and the following disclaimer |
| 235 | in the documentation and/or other materials provided with the |
| 236 | distribution. |
| 237 | * Neither the name of Google Inc. nor the names of its |
| 238 | contributors may be used to endorse or promote products derived from |
| 239 | this software without specific prior written permission. |
| 240 | |
| 241 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 242 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 243 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 244 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 245 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 246 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 247 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 248 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 249 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 250 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 251 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |