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 Some files from Intel are under yet another license, which is also included 9 underneath. Files in third_party/ have their own licenses, as described 10 therein. The MIT license, for third_party/fiat, which, unlike other third_party 11 directories, is compiled into non-test libraries, is included below. 12 13 The OpenSSL toolkit stays under a dual license, i.e. both the conditions of the 14 OpenSSL License and the original SSLeay license apply to the toolkit. See below 15 for the actual license texts. Actually both licenses are BSD-style Open Source 16 licenses. In case of any license issues related to OpenSSL please contact 17 openssl-core (a] openssl.org. 18 19 The following are Google-internal bug numbers where explicit permission from 20 some authors is recorded for use of their work. (This is purely for our own 21 record keeping.) 22 27287199 23 27287880 24 27287883 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 (a] 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 (a] cryptsoft.com). This product includes software written by Tim 79 * Hudson (tjh (a] cryptsoft.com). 80 * 81 */ 82 83 Original SSLeay License 84 ----------------------- 85 86 /* Copyright (C) 1995-1998 Eric Young (eay (a] cryptsoft.com) 87 * All rights reserved. 88 * 89 * This package is an SSL implementation written 90 * by Eric Young (eay (a] 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 (a] 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 (a] 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 (a] 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 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 Some files from Intel carry the following license: 162 163 # Copyright (c) 2012, Intel Corporation 164 # 165 # All rights reserved. 166 # 167 # Redistribution and use in source and binary forms, with or without 168 # modification, are permitted provided that the following conditions are 169 # met: 170 # 171 # * Redistributions of source code must retain the above copyright 172 # notice, this list of conditions and the following disclaimer. 173 # 174 # * Redistributions in binary form must reproduce the above copyright 175 # notice, this list of conditions and the following disclaimer in the 176 # documentation and/or other materials provided with the 177 # distribution. 178 # 179 # * Neither the name of the Intel Corporation nor the names of its 180 # contributors may be used to endorse or promote products derived from 181 # this software without specific prior written permission. 182 # 183 # 184 # THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION ""AS IS"" AND ANY 185 # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 186 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 187 # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION OR 188 # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 189 # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 190 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 191 # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 192 # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 193 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 194 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 195 196 197 The code in third_party/fiat carries the MIT license: 198 199 Copyright (c) 2015-2016 the fiat-crypto authors (see 200 https://github.com/mit-plv/fiat-crypto/blob/master/AUTHORS). 201 202 Permission is hereby granted, free of charge, to any person obtaining a copy 203 of this software and associated documentation files (the "Software"), to deal 204 in the Software without restriction, including without limitation the rights 205 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 206 copies of the Software, and to permit persons to whom the Software is 207 furnished to do so, subject to the following conditions: 208 209 The above copyright notice and this permission notice shall be included in all 210 copies or substantial portions of the Software. 211 212 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 213 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 214 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 215 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 216 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 217 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 218 SOFTWARE. 219