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