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