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