LICENSE 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. Dropbear contains a number of components from different sources, hence there
  2. are a few licenses and authors involved. All licenses are fairly
  3. non-restrictive.
  4. The majority of code is written by Matt Johnston, under the license below.
  5. Portions of the client-mode work are (c) 2004 Mihnea Stoenescu, under the
  6. same license:
  7. Copyright (c) 2002-2015 Matt Johnston
  8. Portions copyright (c) 2004 Mihnea Stoenescu
  9. All rights reserved.
  10. Permission is hereby granted, free of charge, to any person obtaining a copy
  11. of this software and associated documentation files (the "Software"), to deal
  12. in the Software without restriction, including without limitation the rights
  13. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  14. copies of the Software, and to permit persons to whom the Software is
  15. furnished to do so, subject to the following conditions:
  16. The above copyright notice and this permission notice shall be included in all
  17. copies or substantial portions of the Software.
  18. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  19. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  20. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  21. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  22. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  23. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  24. SOFTWARE.
  25. =====
  26. LibTomCrypt and LibTomMath are written by Tom St Denis, and are Public Domain.
  27. =====
  28. sshpty.c is taken from OpenSSH 3.5p1,
  29. Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
  30. All rights reserved
  31. "As far as I am concerned, the code I have written for this software
  32. can be used freely for any purpose. Any derived versions of this
  33. software must be clearly marked as such, and if the derived work is
  34. incompatible with the protocol description in the RFC file, it must be
  35. called by a name other than "ssh" or "Secure Shell". "
  36. =====
  37. loginrec.c
  38. loginrec.h
  39. atomicio.h
  40. atomicio.c
  41. and strlcat() (included in util.c) are from OpenSSH 3.6.1p2, and are licensed
  42. under the 2 point BSD license.
  43. loginrec is written primarily by Andre Lucas, atomicio.c by Theo de Raadt.
  44. strlcat() is (c) Todd C. Miller
  45. =====
  46. Import code in keyimport.c is modified from PuTTY's import.c, licensed as
  47. follows:
  48. PuTTY is copyright 1997-2003 Simon Tatham.
  49. Portions copyright Robert de Bath, Joris van Rantwijk, Delian
  50. Delchev, Andreas Schultz, Jeroen Massar, Wez Furlong, Nicolas Barry,
  51. Justin Bradford, and CORE SDI S.A.
  52. Permission is hereby granted, free of charge, to any person
  53. obtaining a copy of this software and associated documentation files
  54. (the "Software"), to deal in the Software without restriction,
  55. including without limitation the rights to use, copy, modify, merge,
  56. publish, distribute, sublicense, and/or sell copies of the Software,
  57. and to permit persons to whom the Software is furnished to do so,
  58. subject to the following conditions:
  59. The above copyright notice and this permission notice shall be
  60. included in all copies or substantial portions of the Software.
  61. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  62. EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  63. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  64. NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE
  65. FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
  66. CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  67. WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  68. =====
  69. curve25519-donna:
  70. /* Copyright 2008, Google Inc.
  71. * All rights reserved.
  72. *
  73. * Redistribution and use in source and binary forms, with or without
  74. * modification, are permitted provided that the following conditions are
  75. * met:
  76. *
  77. * * Redistributions of source code must retain the above copyright
  78. * notice, this list of conditions and the following disclaimer.
  79. * * Redistributions in binary form must reproduce the above
  80. * copyright notice, this list of conditions and the following disclaimer
  81. * in the documentation and/or other materials provided with the
  82. * distribution.
  83. * * Neither the name of Google Inc. nor the names of its
  84. * contributors may be used to endorse or promote products derived from
  85. * this software without specific prior written permission.
  86. *
  87. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  88. * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  89. * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  90. * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  91. * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  92. * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  93. * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  94. * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  95. * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  96. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  97. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  98. *
  99. * curve25519-donna: Curve25519 elliptic curve, public key function
  100. *
  101. * http://code.google.com/p/curve25519-donna/
  102. *
  103. * Adam Langley <agl@imperialviolet.org>
  104. *
  105. * Derived from public domain C code by Daniel J. Bernstein <djb@cr.yp.to>
  106. *
  107. * More information about curve25519 can be found here
  108. * http://cr.yp.to/ecdh.html
  109. *
  110. * djb's sample implementation of curve25519 is written in a special assembly
  111. * language called qhasm and uses the floating point registers.
  112. *
  113. * This is, almost, a clean room reimplementation from the curve25519 paper. It
  114. * uses many of the tricks described therein. Only the crecip function is taken
  115. * from the sample implementation.
  116. */