--- truecrypt/release/setup files/license.txt 2018/04/24 16:39:43 1.1.1.2 +++ truecrypt/release/setup files/license.txt 2018/04/24 16:43:37 1.1.1.7 @@ -1,224 +1,384 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 +TrueCrypt License Version 2.0 - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. +I. Definitions - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +1. "This product" means the parts of the computer software, including, but not +limited to, source code, texts, graphics, and any accompanying files, released +under and covered by this version of this License. + +2. "You" (or "your") means an individual or a legal entity (e.g., a non-profit +organization, commercial organization, government agency, etc.) exercising +permissions granted by this License. + + + +II. Terms and Conditions for Copying, Distribution, and Use + +1. You may copy and/or distribute this product without any restrictions, +provided that the product is not modified and that it is not repackaged (for +terms and conditions for copying and distribution of modified or repackaged +versions of this product, see Section III.) + +2. You may use this product freely (see also Section III.) on single or +multiple computers/systems for non-commercial and/or commercial uses. + + + +III. Terms and Conditions for Modification and Derivation of New Products + +1. You may modify this product (this also covers implementation of new +features/functionalities, translation into another language, and porting to +another platform), derive new works from this product, include/use this product +or its portion in (or as part of) your product, and you may copy and distribute +such modifications, derivative or aggregated works as your product, provided +that the following conditions are met (for exceptions, see Sections III.2. +and III.3.): + + a. Your product or the modified version must not be called TrueCrypt and + its name must not contain the name TrueCrypt (for example, the following + names are not allowed: TrueCrypt+, TrueCrypt Professional, etc.) nor any of + its variations that can be easily confused with the name TrueCrypt (e.g., + Truecrypt, True-Crypt, True Crypt, TrueKrypt, TruCrypt, etc.) + + Note: TrueCrypt is a trademark of the TrueCrypt Foundation. The goal is not + to monetize the name or the product, but to protect the reputation of + TrueCrypt, and to prevent support issues and other kinds of issues that + might arise from the existence of similar products with the same or similar + name. Even though TrueCrypt is a trademark, TrueCrypt is and will remain + open-source and free software. + + b. The following phrases must be removed from the "About" dialog (the + credits), from this License (Section VI.), and from any other accompanying + materials: + "A TrueCrypt Foundation Release" + "Released by TrueCrypt Foundation" + "This is a TrueCrypt Foundation release." + + c. Phrase "Based on TrueCrypt" must be displayed by your product (if + technically feasible) or by the modified version and contained in its + documentation. Alternatively, if this product or its portion you included + in your product comprise only a minor portion of your product, phrase + "Portions of this product are based in part on TrueCrypt" may be used + instead. + + d. Complete source code of your product or of the modified version must be + freely and publicly available. If the source code is not included with + every copy of your product/modifications, there must be a well-publicized + means of obtaining the source code, preferably, downloading via the + Internet without charge. The source code must not be deliberately + obfuscated, and it must not be in an intermediate form (e.g., the output of + a preprocessor). Source code means the preferred form in which a programmer + would usually modify the program. + + e. The license and distribution terms of no part of this product may be + changed (i.e., no part of this product can be put under another license), + except as expressly permitted or required by this License. The legal + notices contained in the source code files must be retained. It must be + clearly declared that this product or its parts are distributed under the + TrueCrypt License (contained herein), and it must be clearly and visibly + stated in the distribution where the text of the TrueCrypt License can be + found (you may amend the references to the file 'License.txt' in the source + code accordingly). The text of the TrueCrypt License must accompany (be + distributed along with) your product/modifications. (Any of the Component + Legal Notices contained below in this file may be omitted if the component + to which it pertains is not used. If no cryptographic components of this + product are used, Section IV.3. may be omitted as well.) + + +2. You are not obligated to comply with Sections III.1.a., III.1.b., III.1.c., +and III.1.d. if at least one of the following conditions is met: + + a. You include this product in its entirety and without any modifications + in an operating system distribution (i.e., you include binaries obtained by + compiling the unmodified source code of this product and/or you include the + unmodified contents of the source code distribution archive and/or of the + binary distribution archive). + + b. You include this product in its entirety (the contents of either the + source code distribution archive and/or of the binary distribution archive) + and without any modifications as non-integral part of your product (i.e., + the main functionality of your product will not be affected if such + non-integral part is removed) and phrase "This product utilizes TrueCrypt" + or "This product includes TrueCrypt" is displayed by your product (if + technically feasible) and contained in its documentation. + + +3. You are not obligated to comply with Section III.1.d. if at least one of the +following conditions is met: + + a. Your product/modifications (as defined in Section III.1.) are not + distributed (i.e., your product/modifications are available only to you). + + b. Your product/modifications (as defined in Section III.1.) are + distributed and used only internally within the organization and only by + members/employees of the organization for which you created the + product/modifications and of which you were a member/employee when you + created the product/modifications. (Here the word "organization" means + a non-commercial or commercial organization, or a government agency.) + + + +IV. Disclaimer of Warranties and Liabilities + +1. AS THIS PRODUCT IS FREE, THERE IS NO WARRANTY FOR THE PRODUCT, TO THE EXTENT +PERMITTED BY APPLICABLE LAW. UNLESS OTHERWISE STATED, THE PRODUCT IS PROVIDED +"AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, +BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +2. IN NO EVENT, UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, WILL +ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR DISTRIBUTE THE +PROGRAM AS PERMITTED HEREIN, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR +INABILITY TO USE THE PROGRAM, INCLUDING, BUT NOT LIMITED TO, LOSS OF DATA OR +DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS, EVEN IF SUCH HOLDER +OR OTHER PARTY HAD PREVIOUSLY BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +3. THIS PRODUCT INCORPORATES CRYPTOGRAPHIC ALGORITHMS THAT MAY BE REGULATED OR +ILLEGAL IN SOME COUNTRIES. IT IS SOLELY YOUR RESPONSIBILITY TO VERIFY THAT IT +IS LEGAL TO IMPORT AND/OR EXPORT AND/OR USE THIS PRODUCT IN COUNTRIES WHERE YOU +INTEND TO USE THIS PRODUCT AND/OR TO WHICH YOU INTEND TO IMPORT IT AND/OR FROM +WHICH YOU INTEND TO EXPORT IT. + + + +V. General Terms + +1. Where applicable, the component licenses contained in parts of the source +code and quoted below herein (Section "Component Legal Notices") might take +precedence over the TrueCrypt License. + +2. This product is provided under the terms of this license (agreement). Any +use, reproduction, distribution, or modification of this product or any of its +parts constitutes recipient's acceptance of this agreement. + +3. You may not modify, copy, distribute, or sublicense this product except as +expressly provided under this License. Any attempt otherwise to modify, copy, +distribute, or sublicense this product automatically terminates your rights +under this License. + +4. If any of the license terms is found to be too broad in scope, and/or +declared invalid by any court or legal process, you agree that all other terms +shall not be so affected, and shall remain valid and enforceable. + + + +VI. Copyright and Trademark Information + +TrueCrypt is a trademark of the TrueCrypt Foundation. The goal is not to +monetize the name or the product, but to protect the reputation of TrueCrypt, +and to prevent support issues and other kinds of issues that might arise from +the existence of similar products with the same or similar name. Even though +TrueCrypt is a trademark, TrueCrypt is and will remain open-source and free +software. All other trademarks are the sole property of their respective +owners. + +Portions of this software are: +Copyright (c) 2004-2005 TrueCrypt Foundation. All Rights Reserved. +Copyright (c) 1998-2000 Paul Le Roux. All Rights Reserved. +Copyright (c) 2004 TrueCrypt Team. All Rights Reserved. +Copyright (c) 1995-1997 Eric Young. All Rights Reserved. +Copyright (c) 1999-2004 Dr. Brian Gladman, Worcester, UK. All Rights Reserved. +Copyright (c) 2001 Markus Friedl. All Rights Reserved. + +For more information, please see the legal notices attached to parts of the +source code. + +Graphics (logos, icons, etc.) are Copyright (c) 2004-2005 TrueCrypt Foundation + + +COMPONENT LEGAL NOTICES + +Each of the following component licenses applies only to (portions of) the +source code file(s) in which the component license is contained or in which it +is explicitly referenced, and to compiled or otherwise processed forms of such +source code. In other words, none of the following licenses applies to this +product as a whole, even when it uses the term "this product" or any other +equivalent term. +____________________________________________________________ + +License agreement for Encryption for the Masses. + +Copyright (C) 1998-2000 Paul Le Roux. All Rights Reserved. + +This product can be copied and distributed free of charge, including +source code. + +You may modify this product and source code, and distribute such modifications, +and you may derive new works based on this product, provided that: + +1. Any product which is simply derived from this product cannot be +called E4M, or Encryption for the Masses. + +2. If you use any of the source code in your product, and your product +is distributed with source code, you must include this notice with +those portions of this source code that you use. + +Or, + +If your product is distributed in binary form only, you must display +on any packaging, and marketing materials which reference +your product, a notice which states: + +"This product uses components written by Paul Le Roux " + +3. If you use any of the source code originally by Eric Young, you must +in addition follow his terms and conditions. + +4. Nothing requires that you accept this License, as you have not +signed it. However, nothing else grants you permission to modify or +distribute the product or its derivative works. + +These actions are prohibited by law if you do not accept this License. + +5. If any of these license terms is found to be to broad in scope, and +declared invalid by any court or legal process, you agree that all other +terms shall not be so affected, and shall remain valid and enforceable. + +6. THIS PROGRAM IS DISTRIBUTED FREE OF CHARGE, THEREFORE THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. UNLESS OTHERWISE +STATED THE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER +EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE +QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE +DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +7. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +OUT OF THE USE OR INABILITY TO USE THE PROGRAM, INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS +PROGRAMS, EVEN IF SUCH HOLDER OR OTHER PARTY HAD PREVIOUSLY BEEN ADVISED +OF THE POSSIBILITY OF SUCH DAMAGES. +____________________________________________________________ + +Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) +All rights reserved. + +This package is an SSL implementation written +by Eric Young (eay@cryptsoft.com). +The implementation was written so as to conform with Netscapes SSL. + +This library is free for commercial and non-commercial use as long as +the following conditions are aheared to. The following conditions +apply to all code found in this distribution, be it the RC4, RSA, +lhash, DES, etc., code; not just the SSL code. The SSL documentation +included with this distribution is covered by the same copyright terms +except that the holder is Tim Hudson (tjh@cryptsoft.com). + +Copyright remains Eric Young's, and as such any Copyright notices in +the code are not to be removed. +If this package is used in a product, Eric Young should be given attribution +as the author of the parts of the library used. +This can be in the form of a textual message at program startup or +in documentation (online or textual) provided with the package. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + "This product includes cryptographic software written by + Eric Young (eay@cryptsoft.com)" + The word 'cryptographic' can be left out if the rouines from the library + being used are not cryptographic related :-). +4. If you include any Windows specific code (or a derivative thereof) from + the apps directory (application code) you must include an acknowledgement: + "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" + +THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + +The licence and distribution terms for any publically available version or +derivative of this code cannot be changed. i.e. this code cannot simply be +copied and put under another distribution licence +[including the GNU Public Licence.] +____________________________________________________________ + +Copyright (c) 2003, Dr Brian Gladman, Worcester, UK. All rights reserved. + +LICENSE TERMS + +The free distribution and use of this software in both source and binary +form is allowed (with or without changes) provided that: + + 1. distributions of this source code include the above copyright + notice, this list of conditions and the following disclaimer; + + 2. distributions in binary form include the above copyright + notice, this list of conditions and the following disclaimer + in the documentation and/or other associated materials; + + 3. the copyright holder's name is not used to endorse products + built using this software without specific written permission. + +ALTERNATIVELY, provided that this notice is retained in full, this product +may be distributed under the terms of the GNU General Public License (GPL), +in which case the provisions of the GPL apply INSTEAD OF those given above. + +DISCLAIMER + +This software is provided 'as is' with no explicit or implied warranties +in respect of its properties, including, but not limited to, correctness +and/or fitness for purpose. +____________________________________________________________ + +This is an independent implementation of the encryption algorithm: + + Twofish by Bruce Schneier and colleagues + +which is a candidate algorithm in the Advanced Encryption Standard +programme of the US National Institute of Standards and Technology. + +Copyright in this implementation is held by Dr B R Gladman but I +hereby give permission for its free direct or derivative use subject +to acknowledgment of its origin and compliance with any conditions +that the originators of the algorithm place on its exploitation. + +My thanks to Doug Whiting and Niels Ferguson for comments that led +to improvements in this implementation. + +Dr Brian Gladman (gladman@seven77.demon.co.uk) 14th January 1999 +____________________________________________________________ + +Copyright (c) 2001 Markus Friedl. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.