Text file src/crypto/internal/boring/LICENSE

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

View as plain text