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 8Some files from Intel are under yet another license, which is also included 9underneath. 10 11The OpenSSL toolkit stays under a dual license, i.e. both the conditions of the 12OpenSSL License and the original SSLeay license apply to the toolkit. See below 13for the actual license texts. Actually both licenses are BSD-style Open Source 14licenses. In case of any license issues related to OpenSSL please contact 15openssl-core@openssl.org. 16 17The following are Google-internal bug numbers where explicit permission from 18some authors is recorded for use of their work. (This is purely for our own 19record keeping.) 20 27287199 21 27287880 22 27287883 23 24 OpenSSL License 25 --------------- 26 27/* ==================================================================== 28 * Copyright (c) 1998-2011 The OpenSSL Project. All rights reserved. 29 * 30 * Redistribution and use in source and binary forms, with or without 31 * modification, are permitted provided that the following conditions 32 * are met: 33 * 34 * 1. Redistributions of source code must retain the above copyright 35 * notice, this list of conditions and the following disclaimer. 36 * 37 * 2. Redistributions in binary form must reproduce the above copyright 38 * notice, this list of conditions and the following disclaimer in 39 * the documentation and/or other materials provided with the 40 * distribution. 41 * 42 * 3. All advertising materials mentioning features or use of this 43 * software must display the following acknowledgment: 44 * "This product includes software developed by the OpenSSL Project 45 * for use in the OpenSSL Toolkit. (http://www.openssl.org/)" 46 * 47 * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to 48 * endorse or promote products derived from this software without 49 * prior written permission. For written permission, please contact 50 * openssl-core@openssl.org. 51 * 52 * 5. Products derived from this software may not be called "OpenSSL" 53 * nor may "OpenSSL" appear in their names without prior written 54 * permission of the OpenSSL Project. 55 * 56 * 6. Redistributions of any form whatsoever must retain the following 57 * acknowledgment: 58 * "This product includes software developed by the OpenSSL Project 59 * for use in the OpenSSL Toolkit (http://www.openssl.org/)" 60 * 61 * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY 62 * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 63 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 64 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR 65 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 66 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 67 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 68 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 69 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 70 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 71 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 72 * OF THE POSSIBILITY OF SUCH DAMAGE. 73 * ==================================================================== 74 * 75 * This product includes cryptographic software written by Eric Young 76 * (eay@cryptsoft.com). This product includes software written by Tim 77 * Hudson (tjh@cryptsoft.com). 78 * 79 */ 80 81 Original SSLeay License 82 ----------------------- 83 84/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 85 * All rights reserved. 86 * 87 * This package is an SSL implementation written 88 * by Eric Young (eay@cryptsoft.com). 89 * The implementation was written so as to conform with Netscapes SSL. 90 * 91 * This library is free for commercial and non-commercial use as long as 92 * the following conditions are aheared to. The following conditions 93 * apply to all code found in this distribution, be it the RC4, RSA, 94 * lhash, DES, etc., code; not just the SSL code. The SSL documentation 95 * included with this distribution is covered by the same copyright terms 96 * except that the holder is Tim Hudson (tjh@cryptsoft.com). 97 * 98 * Copyright remains Eric Young's, and as such any Copyright notices in 99 * the code are not to be removed. 100 * If this package is used in a product, Eric Young should be given attribution 101 * as the author of the parts of the library used. 102 * This can be in the form of a textual message at program startup or 103 * in documentation (online or textual) provided with the package. 104 * 105 * Redistribution and use in source and binary forms, with or without 106 * modification, are permitted provided that the following conditions 107 * are met: 108 * 1. Redistributions of source code must retain the copyright 109 * notice, this list of conditions and the following disclaimer. 110 * 2. Redistributions in binary form must reproduce the above copyright 111 * notice, this list of conditions and the following disclaimer in the 112 * documentation and/or other materials provided with the distribution. 113 * 3. All advertising materials mentioning features or use of this software 114 * must display the following acknowledgement: 115 * "This product includes cryptographic software written by 116 * Eric Young (eay@cryptsoft.com)" 117 * The word 'cryptographic' can be left out if the rouines from the library 118 * being used are not cryptographic related :-). 119 * 4. If you include any Windows specific code (or a derivative thereof) from 120 * the apps directory (application code) you must include an acknowledgement: 121 * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" 122 * 123 * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND 124 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 125 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 126 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 127 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 128 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 129 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 130 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 131 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 132 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 133 * SUCH DAMAGE. 134 * 135 * The licence and distribution terms for any publically available version or 136 * derivative of this code cannot be changed. i.e. this code cannot simply be 137 * copied and put under another distribution licence 138 * [including the GNU Public Licence.] 139 */ 140 141 142ISC license used for completely new code in BoringSSL: 143 144/* Copyright (c) 2015, Google Inc. 145 * 146 * Permission to use, copy, modify, and/or distribute this software for any 147 * purpose with or without fee is hereby granted, provided that the above 148 * copyright notice and this permission notice appear in all copies. 149 * 150 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 151 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 152 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 153 * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 154 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 155 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 156 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ 157 158 159Some files from Intel carry the following license: 160 161# Copyright (c) 2012, Intel Corporation 162# 163# All rights reserved. 164# 165# Redistribution and use in source and binary forms, with or without 166# modification, are permitted provided that the following conditions are 167# met: 168# 169# * Redistributions of source code must retain the above copyright 170# notice, this list of conditions and the following disclaimer. 171# 172# * Redistributions in binary form must reproduce the above copyright 173# notice, this list of conditions and the following disclaimer in the 174# documentation and/or other materials provided with the 175# distribution. 176# 177# * Neither the name of the Intel Corporation nor the names of its 178# contributors may be used to endorse or promote products derived from 179# this software without specific prior written permission. 180# 181# 182# THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION ""AS IS"" AND ANY 183# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 184# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 185# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION OR 186# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 187# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 188# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 189# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 190# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 191# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 192# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 193