You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

147 lines
7.2 KiB

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