diff options
author | Werner Koch <wk@gnupg.org> | 2002-05-14 13:11:08 +0000 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2002-05-14 13:11:08 +0000 |
commit | 988608c86350d117b164a5f59bde1267bbc5235a (patch) | |
tree | adefecd63a445bbcae54d654fbd2e26207fc3651 | |
parent | 023396ea3ee6b633c4babfbf7aef0f26f591d48c (diff) | |
download | libgcrypt-988608c86350d117b164a5f59bde1267bbc5235a.tar.gz |
Change the license to the LGPL.now-less-freedom-protected
171 files changed, 3846 insertions, 2255 deletions
@@ -55,11 +55,17 @@ More credits Most of the stuff in mpi has been taken from the GMP library by Torbjorn Granlund <tege@noisy.tmg.se>. -The file cipher/rndunix.c is based on rndunix.c from cryptlib. -Copyright Peter Gutmann, Paul Kendall, and Chris Wedgwood 1996-1999. - - +The files cipher/rndunix.c and cipher/rndw32.c are based on those +files from Cryptlib. Copyright Peter Gutmann, Paul Kendall, and Chris +Wedgwood 1996-1999. + Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. + This file is free software; as a special exception the author gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + This file is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY, to the extent permitted by law; without even the + implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. diff --git a/COPYING.DOC b/COPYING.DOC new file mode 100644 index 00000000..b42936be --- /dev/null +++ b/COPYING.DOC @@ -0,0 +1,355 @@ + GNU Free Documentation License + Version 1.1, March 2000 + + Copyright (C) 2000 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + +0. PREAMBLE + +The purpose of this License is to make a manual, textbook, or other +written document "free" in the sense of freedom: to assure everyone +the effective freedom to copy and redistribute it, with or without +modifying it, either commercially or noncommercially. Secondarily, +this License preserves for the author and publisher a way to get +credit for their work, while not being considered responsible for +modifications made by others. + +This License is a kind of "copyleft", which means that derivative +works of the document must themselves be free in the same sense. It +complements the GNU General Public License, which is a copyleft +license designed for free software. + +We have designed this License in order to use it for manuals for free +software, because free software needs free documentation: a free +program should come with manuals providing the same freedoms that the +software does. But this License is not limited to software manuals; +it can be used for any textual work, regardless of subject matter or +whether it is published as a printed book. We recommend this License +principally for works whose purpose is instruction or reference. + + +1. APPLICABILITY AND DEFINITIONS + +This License applies to any manual or other work that contains a +notice placed by the copyright holder saying it can be distributed +under the terms of this License. The "Document", below, refers to any +such manual or work. Any member of the public is a licensee, and is +addressed as "you". + +A "Modified Version" of the Document means any work containing the +Document or a portion of it, either copied verbatim, or with +modifications and/or translated into another language. + +A "Secondary Section" is a named appendix or a front-matter section of +the Document that deals exclusively with the relationship of the +publishers or authors of the Document to the Document's overall subject +(or to related matters) and contains nothing that could fall directly +within that overall subject. (For example, if the Document is in part a +textbook of mathematics, a Secondary Section may not explain any +mathematics.) The relationship could be a matter of historical +connection with the subject or with related matters, or of legal, +commercial, philosophical, ethical or political position regarding +them. + +The "Invariant Sections" are certain Secondary Sections whose titles +are designated, as being those of Invariant Sections, in the notice +that says that the Document is released under this License. + +The "Cover Texts" are certain short passages of text that are listed, +as Front-Cover Texts or Back-Cover Texts, in the notice that says that +the Document is released under this License. + +A "Transparent" copy of the Document means a machine-readable copy, +represented in a format whose specification is available to the +general public, whose contents can be viewed and edited directly and +straightforwardly with generic text editors or (for images composed of +pixels) generic paint programs or (for drawings) some widely available +drawing editor, and that is suitable for input to text formatters or +for automatic translation to a variety of formats suitable for input +to text formatters. A copy made in an otherwise Transparent file +format whose markup has been designed to thwart or discourage +subsequent modification by readers is not Transparent. A copy that is +not "Transparent" is called "Opaque". + +Examples of suitable formats for Transparent copies include plain +ASCII without markup, Texinfo input format, LaTeX input format, SGML +or XML using a publicly available DTD, and standard-conforming simple +HTML designed for human modification. Opaque formats include +PostScript, PDF, proprietary formats that can be read and edited only +by proprietary word processors, SGML or XML for which the DTD and/or +processing tools are not generally available, and the +machine-generated HTML produced by some word processors for output +purposes only. + +The "Title Page" means, for a printed book, the title page itself, +plus such following pages as are needed to hold, legibly, the material +this License requires to appear in the title page. For works in +formats which do not have any title page as such, "Title Page" means +the text near the most prominent appearance of the work's title, +preceding the beginning of the body of the text. + + +2. VERBATIM COPYING + +You may copy and distribute the Document in any medium, either +commercially or noncommercially, provided that this License, the +copyright notices, and the license notice saying this License applies +to the Document are reproduced in all copies, and that you add no other +conditions whatsoever to those of this License. You may not use +technical measures to obstruct or control the reading or further +copying of the copies you make or distribute. However, you may accept +compensation in exchange for copies. If you distribute a large enough +number of copies you must also follow the conditions in section 3. + +You may also lend copies, under the same conditions stated above, and +you may publicly display copies. + + +3. COPYING IN QUANTITY + +If you publish printed copies of the Document numbering more than 100, +and the Document's license notice requires Cover Texts, you must enclose +the copies in covers that carry, clearly and legibly, all these Cover +Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on +the back cover. Both covers must also clearly and legibly identify +you as the publisher of these copies. The front cover must present +the full title with all words of the title equally prominent and +visible. You may add other material on the covers in addition. +Copying with changes limited to the covers, as long as they preserve +the title of the Document and satisfy these conditions, can be treated +as verbatim copying in other respects. + +If the required texts for either cover are too voluminous to fit +legibly, you should put the first ones listed (as many as fit +reasonably) on the actual cover, and continue the rest onto adjacent +pages. + +If you publish or distribute Opaque copies of the Document numbering +more than 100, you must either include a machine-readable Transparent +copy along with each Opaque copy, or state in or with each Opaque copy +a publicly-accessible computer-network location containing a complete +Transparent copy of the Document, free of added material, which the +general network-using public has access to download anonymously at no +charge using public-standard network protocols. If you use the latter +option, you must take reasonably prudent steps, when you begin +distribution of Opaque copies in quantity, to ensure that this +Transparent copy will remain thus accessible at the stated location +until at least one year after the last time you distribute an Opaque +copy (directly or through your agents or retailers) of that edition to +the public. + +It is requested, but not required, that you contact the authors of the +Document well before redistributing any large number of copies, to give +them a chance to provide you with an updated version of the Document. + + +4. MODIFICATIONS + +You may copy and distribute a Modified Version of the Document under +the conditions of sections 2 and 3 above, provided that you release +the Modified Version under precisely this License, with the Modified +Version filling the role of the Document, thus licensing distribution +and modification of the Modified Version to whoever possesses a copy +of it. In addition, you must do these things in the Modified Version: + +A. Use in the Title Page (and on the covers, if any) a title distinct + from that of the Document, and from those of previous versions + (which should, if there were any, be listed in the History section + of the Document). You may use the same title as a previous version + if the original publisher of that version gives permission. +B. List on the Title Page, as authors, one or more persons or entities + responsible for authorship of the modifications in the Modified + Version, together with at least five of the principal authors of the + Document (all of its principal authors, if it has less than five). +C. State on the Title page the name of the publisher of the + Modified Version, as the publisher. +D. Preserve all the copyright notices of the Document. +E. Add an appropriate copyright notice for your modifications + adjacent to the other copyright notices. +F. Include, immediately after the copyright notices, a license notice + giving the public permission to use the Modified Version under the + terms of this License, in the form shown in the Addendum below. +G. Preserve in that license notice the full lists of Invariant Sections + and required Cover Texts given in the Document's license notice. +H. Include an unaltered copy of this License. +I. Preserve the section entitled "History", and its title, and add to + it an item stating at least the title, year, new authors, and + publisher of the Modified Version as given on the Title Page. If + there is no section entitled "History" in the Document, create one + stating the title, year, authors, and publisher of the Document as + given on its Title Page, then add an item describing the Modified + Version as stated in the previous sentence. +J. Preserve the network location, if any, given in the Document for + public access to a Transparent copy of the Document, and likewise + the network locations given in the Document for previous versions + it was based on. These may be placed in the "History" section. + You may omit a network location for a work that was published at + least four years before the Document itself, or if the original + publisher of the version it refers to gives permission. +K. In any section entitled "Acknowledgements" or "Dedications", + preserve the section's title, and preserve in the section all the + substance and tone of each of the contributor acknowledgements + and/or dedications given therein. +L. Preserve all the Invariant Sections of the Document, + unaltered in their text and in their titles. Section numbers + or the equivalent are not considered part of the section titles. +M. Delete any section entitled "Endorsements". Such a section + may not be included in the Modified Version. +N. Do not retitle any existing section as "Endorsements" + or to conflict in title with any Invariant Section. + +If the Modified Version includes new front-matter sections or +appendices that qualify as Secondary Sections and contain no material +copied from the Document, you may at your option designate some or all +of these sections as invariant. To do this, add their titles to the +list of Invariant Sections in the Modified Version's license notice. +These titles must be distinct from any other section titles. + +You may add a section entitled "Endorsements", provided it contains +nothing but endorsements of your Modified Version by various +parties--for example, statements of peer review or that the text has +been approved by an organization as the authoritative definition of a +standard. + +You may add a passage of up to five words as a Front-Cover Text, and a +passage of up to 25 words as a Back-Cover Text, to the end of the list +of Cover Texts in the Modified Version. Only one passage of +Front-Cover Text and one of Back-Cover Text may be added by (or +through arrangements made by) any one entity. If the Document already +includes a cover text for the same cover, previously added by you or +by arrangement made by the same entity you are acting on behalf of, +you may not add another; but you may replace the old one, on explicit +permission from the previous publisher that added the old one. + +The author(s) and publisher(s) of the Document do not by this License +give permission to use their names for publicity for or to assert or +imply endorsement of any Modified Version. + + +5. COMBINING DOCUMENTS + +You may combine the Document with other documents released under this +License, under the terms defined in section 4 above for modified +versions, provided that you include in the combination all of the +Invariant Sections of all of the original documents, unmodified, and +list them all as Invariant Sections of your combined work in its +license notice. + +The combined work need only contain one copy of this License, and +multiple identical Invariant Sections may be replaced with a single +copy. If there are multiple Invariant Sections with the same name but +different contents, make the title of each such section unique by +adding at the end of it, in parentheses, the name of the original +author or publisher of that section if known, or else a unique number. +Make the same adjustment to the section titles in the list of +Invariant Sections in the license notice of the combined work. + +In the combination, you must combine any sections entitled "History" +in the various original documents, forming one section entitled +"History"; likewise combine any sections entitled "Acknowledgements", +and any sections entitled "Dedications". You must delete all sections +entitled "Endorsements." + + +6. COLLECTIONS OF DOCUMENTS + +You may make a collection consisting of the Document and other documents +released under this License, and replace the individual copies of this +License in the various documents with a single copy that is included in +the collection, provided that you follow the rules of this License for +verbatim copying of each of the documents in all other respects. + +You may extract a single document from such a collection, and distribute +it individually under this License, provided you insert a copy of this +License into the extracted document, and follow this License in all +other respects regarding verbatim copying of that document. + + +7. AGGREGATION WITH INDEPENDENT WORKS + +A compilation of the Document or its derivatives with other separate +and independent documents or works, in or on a volume of a storage or +distribution medium, does not as a whole count as a Modified Version +of the Document, provided no compilation copyright is claimed for the +compilation. Such a compilation is called an "aggregate", and this +License does not apply to the other self-contained works thus compiled +with the Document, on account of their being thus compiled, if they +are not themselves derivative works of the Document. + +If the Cover Text requirement of section 3 is applicable to these +copies of the Document, then if the Document is less than one quarter +of the entire aggregate, the Document's Cover Texts may be placed on +covers that surround only the Document within the aggregate. +Otherwise they must appear on covers around the whole aggregate. + + +8. TRANSLATION + +Translation is considered a kind of modification, so you may +distribute translations of the Document under the terms of section 4. +Replacing Invariant Sections with translations requires special +permission from their copyright holders, but you may include +translations of some or all Invariant Sections in addition to the +original versions of these Invariant Sections. You may include a +translation of this License provided that you also include the +original English version of this License. In case of a disagreement +between the translation and the original English version of this +License, the original English version will prevail. + + +9. TERMINATION + +You may not copy, modify, sublicense, or distribute the Document except +as expressly provided for under this License. Any other attempt to +copy, modify, sublicense or distribute the Document 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. + + +10. FUTURE REVISIONS OF THIS LICENSE + +The Free Software Foundation may publish new, revised versions +of the GNU Free Documentation 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. See +http://www.gnu.org/copyleft/. + +Each version of the License is given a distinguishing version number. +If the Document specifies that a particular numbered version of this +License "or any later version" applies to it, you have the option of +following the terms and conditions either of that specified version or +of any later version that has been published (not as a draft) by the +Free Software Foundation. If the Document does not specify a version +number of this License, you may choose any version ever published (not +as a draft) by the Free Software Foundation. + + +ADDENDUM: How to use this License for your documents + +To use this License in a document you have written, include a copy of +the License in the document and put the following copyright and +license notices just after the title page: + + Copyright (c) YEAR YOUR NAME. + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.1 + or any later version published by the Free Software Foundation; + with the Invariant Sections being LIST THEIR TITLES, with the + Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST. + A copy of the license is included in the section entitled "GNU + Free Documentation License". + +If you have no Invariant Sections, write "with no Invariant Sections" +instead of saying which ones are invariant. If you have no +Front-Cover Texts, write "no Front-Cover Texts" instead of +"Front-Cover Texts being LIST"; likewise for Back-Cover Texts. + +If your document contains nontrivial examples of program code, we +recommend releasing these examples in parallel under your choice of +free software license, such as the GNU General Public License, +to permit their use in free software. diff --git a/COPYING.LIB b/COPYING.LIB new file mode 100644 index 00000000..cf9b6b99 --- /dev/null +++ b/COPYING.LIB @@ -0,0 +1,510 @@ + + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations +below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. +^L + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it +becomes a de-facto standard. To achieve this, non-free programs must +be allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. +^L + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, 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 library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete 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 distribute a copy of this License along with the +Library. + + 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 Library or any portion +of it, thus forming a work based on the Library, 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) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +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 Library, 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 Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. +^L + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you 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. + + If distribution of 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 satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. +^L + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at least + three years, to give the same user the materials specified in + Subsection 6a, above, for a charge no more than the cost of + performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be 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. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. +^L + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library 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. + + 9. 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 Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +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 with +this License. +^L + 11. 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 Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library 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 Library. + +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. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library 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. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser 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 Library +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 Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. +^L + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +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 + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "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 +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. 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 LIBRARY 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 +LIBRARY (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 LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS +^L + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms +of the ordinary General Public License). + + To apply these terms, attach the following notices to the library. +It is safest to attach them to the start of each source file to most +effectively convey the exclusion of warranty; and each file should +have at least the "copyright" line and a pointer to where the full +notice is found. + + + <one line to give the library's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or +your school, if any, to sign a "copyright disclaimer" for the library, +if necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James + Random Hacker. + + <signature of Ty Coon>, 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! + + @@ -1,3 +1,7 @@ +2002-05-14 Werner Koch <wk@gnupg.org> + + Changed license to the LGPL. + 2002-05-02 Werner Koch <wk@gnupg.org> * jnlib/: Removed. @@ -604,7 +608,7 @@ Fri Feb 13 19:43:41 1998 Werner Koch (wk@isil.d.shuttle.de) * Makefile.am: Likewise - Copyright 1998,1999,2000,2001 Free Software Foundation, Inc. + Copyright 1998,1999,2000,2001,2002 Free Software Foundation, Inc. This file is free software; as a special exception the author gives unlimited permission to copy and/or distribute it, with or without diff --git a/Makefile.am b/Makefile.am index 6aa164a3..70175b1a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,7 +1,24 @@ ## Process this file with automake to produce Makefile.in +# Copyright (C) 1992, 1999, 2000, 2002 Free Software Foundation, Inc. +# +# This file is part of Libgcrypt. +# +# Libgcrypt is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of +# the License, or (at your option) any later version. +# +# Libgcrypt is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA SUBDIRS = mpi cipher src doc tests -EXTRA_DIST = README-alpha BUGS autogen.sh +EXTRA_DIST = README-alpha BUGS autogen.sh COPYING.DOC DISTCLEANFILES = gcrypt-defs.h @@ -1,11 +1,14 @@ Noteworthy changes in version (current cvs) ------------------------------------------------ + +* Libgcrypt is now distributed under the terms of the GNU Lesser + General Public License; see the README file for details. - * It is possible to use libgcrypt w/o intialized secure memory. +* It is possible to use libgcrypt w/o intialized secure memory. - * Libgcrypt should now be thread safe after the initialization. - gcry_control (GCRYCRL_INITIALIZATION_FINISHED,NULL,0) should have - be called before creating additional threads. +* Libgcrypt should now be thread safe after the initialization. + gcry_control (GCRYCRL_INITIALIZATION_FINISHED,NULL,0) should have + be called before creating additional threads. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GCRYCTL_DISABLE_INTERNAL_LOCKING NEW @@ -2,19 +2,78 @@ ------------------------------------ Version 1.1 - WARNING: This is work in PROGRESS! + Copyright 2000, 2002 Free Software Foundation, Inc. + + This file is free software; as a special exception the author gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + + This file is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY, to the extent permitted by law; without even the + implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + + THIS IS A DEVELOPMENT VERSION, THE FIRST STABLE VERSION WILL BE 1.2.0. + + + Overview + -------- + + Libgcrypt is a general purpose crypto library based on the code + used in GnuPG. We can't start with a new version number because + libgcrypt was part of gnupg 1.1 and some applications already used + it and tested for the version number. We believe that the API can + stay as it is, except that new functions may be added in the + future. + + + CVS + --- + + If you are using the CVS version, make sure that you have the + latest automake (I am using Debian Sid) and run ./autogen.sh to + create configure. + + + Mailing List + ------------ + + You may want to join the developer's mailing list + gcrypt-devel@gnupg.org by sending mail with a subject of + "subscribe" to gcrypt-devel-request@gnupg.org. An archive of this + list is available at http://lists.gnupg.org . + + + License + ------- + + Most of this library is distributed under the terms of the GNU + Lesser General Public License (LGPL); see the file COPYING.LIB for + the actual terms. However some parts are distributed under the + GNU General Public License (GPL) so if you configure Libgcrypt to + include these modules or use these modules as dynamically loaded + plug-ins, you have to comply with the conditions of the GPL as + found in the file COPYING. The modules under the GPL are: + + rndunix - Entropy gatherer for Unices without a /dev/random + rndw32 - Entropy gatherer for MS Windows + + The documentation is available under the terms of the GNU Free + Documentation License; see the file COPYING.DOC for the terms. + + This library used to be available under the GPL - this was changed + with version 1.1.7 with the rationale that there are now many free + crypto libraries available and many of them come with capabilities + similar to Libcrypt. We decided that to foster the use of + cryptography in Free Software an LGPLed library would make more + sense because it avoids problems due to license incompatibilities + between some Free Software licenses and the GPL. Please note that + it general the use of the LGPL is not suggested, see + http://www.gnu.org/philosophy/why-not-lgpl.html + -Libgcrypt is a general purpose crypto library based on the code used -in GnuPG. We can't start with a new version number becuase libgcrypt -was part of gnupg 1.1 and some applications already used it and tested -for the version number. We believe that the API can stay as it is, -except that new functions may be added in the future. -This is a development version, the first stable version will be 1.2.0. -If you are using the CVS version, make sure that you have the latest -automake (I am using Debian Sid) and run ./autogen.sh to create -configure. @@ -114,3 +114,12 @@ Wim Vandeputte bunbun@reptile.rug.ac.be nbecker@hns.com + Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. + + This file is free software; as a special exception the author gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + + This file is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY, to the extent permitted by law; without even the + implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. diff --git a/acinclude.m4 b/acinclude.m4 index 2e0a3743..180ca9ec 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1,23 +1,24 @@ dnl macros to configure Libgcrypt -dnl Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. +dnl Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. dnl dnl This file is part of Libgcrypt. dnl dnl Libgcrypt is free software; you can redistribute it and/or modify -dnl it under the terms of the GNU General Public License as published by -dnl the Free Software Foundation; either version 2 of the License, or -dnl (at your option) any later version. -dnl +dnl it under the terms of the GNU Lesser General Public License as +dnl published by the Free Software Foundation; either version 2.1 of +dnl the License, or (at your option) any later version. +dnl dnl Libgcrypt is distributed in the hope that it will be useful, dnl but WITHOUT ANY WARRANTY; without even the implied warranty of dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -dnl GNU General Public License for more details. -dnl -dnl You should have received a copy of the GNU General Public License -dnl along with this program; if not, write to the Free Software +dnl GNU Lesser General Public License for more details. +dnl +dnl You should have received a copy of the GNU Lesser General Public +dnl License along with this program; if not, write to the Free Software dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + dnl GNUPG_MSG_PRINT(STRING) dnl print a message dnl diff --git a/cipher/ChangeLog b/cipher/ChangeLog index 082ee77e..f7a60e7f 100644 --- a/cipher/ChangeLog +++ b/cipher/ChangeLog @@ -1,3 +1,7 @@ +2002-05-14 Werner Koch <wk@gnupg.org> + + Changed license of most files to the LGPL. + 2002-05-02 Werner Koch <wk@gnupg.org> * random.c (_gcry_fast_random_poll): Initialize the module so the diff --git a/cipher/Makefile.am b/cipher/Makefile.am index 8ab76836..ba451d2d 100644 --- a/cipher/Makefile.am +++ b/cipher/Makefile.am @@ -1,19 +1,20 @@ -# Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. +# Makefile for cipher modules +# Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. # # This file is part of Libgcrypt. # # Libgcrypt is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of +# the License, or (at your option) any later version. +# # Libgcrypt is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA # Process this file with automake to produce Makefile.in diff --git a/cipher/arcfour.c b/cipher/arcfour.c index e9db410b..09bdd50d 100644 --- a/cipher/arcfour.c +++ b/cipher/arcfour.c @@ -1,25 +1,25 @@ /* arcfour.c - The arcfour stream cipher - * Copyright (C) 2000, 2001 Free Software Foundation, Inc. - * - * For a description of the algorithm, see: - * Bruce Schneier: Applied Cryptography. John Wiley & Sons, 1996. - * ISBN 0-471-11709-9. Pages 397 ff. + * Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * For a description of the algorithm, see: + * Bruce Schneier: Applied Cryptography. John Wiley & Sons, 1996. + * ISBN 0-471-11709-9. Pages 397 ff. */ diff --git a/cipher/arcfour.h b/cipher/arcfour.h index ded11df2..3aa7a092 100644 --- a/cipher/arcfour.h +++ b/cipher/arcfour.h @@ -1,20 +1,20 @@ /* arcfour.h - * Copyright (C) 2000, 2001 Free Software Foundation, Inc. + * Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifndef G10_ARCFOUR_H diff --git a/cipher/bithelp.h b/cipher/bithelp.h index 0d6d2994..c9fda651 100644 --- a/cipher/bithelp.h +++ b/cipher/bithelp.h @@ -1,20 +1,20 @@ /* bithelp.h - Some bit manipulation helpers - * Copyright (C) 1999 Free Software Foundation, Inc. + * Copyright (C) 1999, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifndef G10_BITHELP_H diff --git a/cipher/blowfish.c b/cipher/blowfish.c index dc8e3feb..57c8ab9d 100644 --- a/cipher/blowfish.c +++ b/cipher/blowfish.c @@ -1,25 +1,25 @@ /* blowfish.c - Blowfish encryption - * Copyright (C) 1998, 2001 Free Software Foundation, Inc. - * - * For a description of the algorithm, see: - * Bruce Schneier: Applied Cryptography. John Wiley & Sons, 1996. - * ISBN 0-471-11709-9. Pages 336 ff. + * Copyright (C) 1998, 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * For a description of the algorithm, see: + * Bruce Schneier: Applied Cryptography. John Wiley & Sons, 1996. + * ISBN 0-471-11709-9. Pages 336 ff. */ /* Test values: diff --git a/cipher/blowfish.h b/cipher/blowfish.h index 169b6d38..8df0170a 100644 --- a/cipher/blowfish.h +++ b/cipher/blowfish.h @@ -1,20 +1,20 @@ /* blowfish.h - * Copyright (C) 1998, 2000, 2001 Free Software Foundation, Inc. + * Copyright (C) 1998, 2000, 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifndef G10_BLOWFISH_H diff --git a/cipher/cast5.c b/cipher/cast5.c index e5ffaa97..35829d61 100644 --- a/cipher/cast5.c +++ b/cipher/cast5.c @@ -1,20 +1,20 @@ /* cast5.c - CAST5 cipher (RFC2144) - * Copyright (C) 1998, 2001 Free Software Foundation, Inc. + * Copyright (C) 1998, 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/cipher/cast5.h b/cipher/cast5.h index af024d20..12e27f5c 100644 --- a/cipher/cast5.h +++ b/cipher/cast5.h @@ -1,20 +1,20 @@ /* cast5.h - * Copyright (C) 1998, 2001 Free Software Foundation, Inc. + * Copyright (C) 1998, 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifndef G10_CAST5_H diff --git a/cipher/cipher.c b/cipher/cipher.c index 56a51229..2c45f4b1 100644 --- a/cipher/cipher.c +++ b/cipher/cipher.c @@ -4,17 +4,17 @@ * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/cipher/des.c b/cipher/des.c index 9737133b..1c86107b 100644 --- a/cipher/des.c +++ b/cipher/des.c @@ -1,28 +1,27 @@ /* des.c - DES and Triple-DES encryption/decryption Algorithm - * Copyright (C) 1998, 1999, 2001 Free Software Foundation, Inc. - * - * Please see below for more legal information! - * - * According to the definition of DES in FIPS PUB 46-2 from December 1993. - * For a description of triple encryption, see: - * Bruce Schneier: Applied Cryptography. Second Edition. - * John Wiley & Sons, 1996. ISBN 0-471-12845-7. Pages 358 ff. + * Copyright (C) 1998, 1999, 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * For a description of triple encryption, see: + * Bruce Schneier: Applied Cryptography. Second Edition. + * John Wiley & Sons, 1996. ISBN 0-471-12845-7. Pages 358 ff. + * This implementation is according to the definition of DES in FIPS + * PUB 46-2 from December 1993. */ @@ -42,7 +41,7 @@ * bits are parity bits and they will _not_ checked in this implementation, but * simply ignored. * - * For Tripple-DES you could use either two 64bit keys or three 64bit keys. + * For Triple-DES you could use either two 64bit keys or three 64bit keys. * The parity bits will _not_ checked, too. * * After initializing a context with a key you could use this context to diff --git a/cipher/des.h b/cipher/des.h index 82656453..02ee2fb3 100644 --- a/cipher/des.h +++ b/cipher/des.h @@ -1,20 +1,20 @@ /* des.h - * Copyright (C) 1998, 2001 Free Software Foundation, Inc. + * Copyright (C) 1998, 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifndef G10_DES_H diff --git a/cipher/dsa.c b/cipher/dsa.c index 8d0faed7..c5be63d1 100644 --- a/cipher/dsa.c +++ b/cipher/dsa.c @@ -1,20 +1,20 @@ /* dsa.c - DSA signature scheme - * Copyright (C) 1998, 2000, 2001 Free Software Foundation, Inc. + * Copyright (C) 1998, 2000, 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/cipher/dsa.h b/cipher/dsa.h index c0149e34..ce8acda3 100644 --- a/cipher/dsa.h +++ b/cipher/dsa.h @@ -1,20 +1,20 @@ /* dsa.h - DSA signature scheme - * Copyright (C) 1998, 2001 Free Software Foundation, Inc. + * Copyright (C) 1998, 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifndef G10_DSA_H diff --git a/cipher/dynload.c b/cipher/dynload.c index ad4279cd..a34c2885 100644 --- a/cipher/dynload.c +++ b/cipher/dynload.c @@ -1,20 +1,20 @@ /* dynload.c - load cipher extensions - * Copyright (C) 1998, 2001 Free Software Foundation, Inc. + * Copyright (C) 1998, 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/cipher/dynload.h b/cipher/dynload.h index bdfef9d7..9c89cc08 100644 --- a/cipher/dynload.h +++ b/cipher/dynload.h @@ -1,20 +1,20 @@ /* dynload.h - * Copyright (C) 1998, 2001 Free Software Foundation, Inc. + * Copyright (C) 1998, 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifndef G10_CIPHER_DYNLOAD_H diff --git a/cipher/elgamal.c b/cipher/elgamal.c index 60a3ccda..67e03fa3 100644 --- a/cipher/elgamal.c +++ b/cipher/elgamal.c @@ -1,25 +1,25 @@ /* elgamal.c - ElGamal Public Key encryption - * Copyright (C) 1998, 2000, 2001 Free Software Foundation, Inc. - * - * For a description of the algorithm, see: - * Bruce Schneier: Applied Cryptography. John Wiley & Sons, 1996. - * ISBN 0-471-11709-9. Pages 476 ff. + * Copyright (C) 1998, 2000, 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * For a description of the algorithm, see: + * Bruce Schneier: Applied Cryptography. John Wiley & Sons, 1996. + * ISBN 0-471-11709-9. Pages 476 ff. */ #include <config.h> diff --git a/cipher/elgamal.h b/cipher/elgamal.h index 1b73d7c3..f1920229 100644 --- a/cipher/elgamal.h +++ b/cipher/elgamal.h @@ -1,20 +1,20 @@ /* elgamal.h - * Copyright (C) 1998, 2001 Free Software Foundation, Inc. + * Copyright (C) 1998, 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifndef G10_ELGAMAL_H diff --git a/cipher/md.c b/cipher/md.c index b6dfada0..8be11269 100644 --- a/cipher/md.c +++ b/cipher/md.c @@ -1,20 +1,20 @@ /* md.c - message digest dispatcher - * Copyright (C) 1998,1999 Free Software Foundation, Inc. + * Copyright (C) 1998, 1999, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/cipher/md5.c b/cipher/md5.c index 6297de16..34713a28 100644 --- a/cipher/md5.c +++ b/cipher/md5.c @@ -1,25 +1,27 @@ /* md5.c - MD5 Message-Digest Algorithm * Copyright (C) 1995,1996,1998,1999,2001,2002 Free Software Foundation, Inc. * - * according to the definition of MD5 in RFC 1321 from April 1992. - * NOTE: This is *not* the same file as the one from glibc. + * This file is part of Libgcrypt. * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the - * Free Software Foundation; either version 2, or (at your option) any - * later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * This program is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * According to the definition of MD5 in RFC 1321 from April 1992. + * NOTE: This is *not* the same file as the one from glibc. + * Written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995. + * heavily modified for GnuPG by Werner Koch <wk@gnupg.org> */ -/* Written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995. */ -/* heavily modified for GnuPG by Werner Koch <wk@gnupg.org> */ /* Test values: * "" D4 1D 8C D9 8F 00 B2 04 E9 80 09 98 EC F8 42 7E diff --git a/cipher/primegen.c b/cipher/primegen.c index 837b1239..96addd71 100644 --- a/cipher/primegen.c +++ b/cipher/primegen.c @@ -4,17 +4,17 @@ * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * *********************************************************************** diff --git a/cipher/pubkey.c b/cipher/pubkey.c index e2fd72f9..ec9d2414 100644 --- a/cipher/pubkey.c +++ b/cipher/pubkey.c @@ -1,20 +1,20 @@ /* pubkey.c - pubkey dispatcher - * Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc. + * Copyright (C) 1998, 1999, 2000, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/cipher/rand-internal.h b/cipher/rand-internal.h index 0889a49f..0590590c 100644 --- a/cipher/rand-internal.h +++ b/cipher/rand-internal.h @@ -1,20 +1,20 @@ /* rand-internal.h - header to glue the random functions - * Copyright (C) 1998 Free Software Foundation, Inc. + * Copyright (C) 1998, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifndef G10_RAND_INTERNAL_H diff --git a/cipher/random.c b/cipher/random.c index f573db54..797819e4 100644 --- a/cipher/random.c +++ b/cipher/random.c @@ -1,24 +1,23 @@ /* random.c - random number generator - * Copyright (C) 1998, 2000, 2001 Free Software Foundation, Inc. + * Copyright (C) 1998, 2000, 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ - /**************** * This random number generator is modelled after the one described * in Peter Gutmann's Paper: "Software Generation of Practically diff --git a/cipher/random.h b/cipher/random.h index a53ab9fb..226f3cdb 100644 --- a/cipher/random.h +++ b/cipher/random.h @@ -1,20 +1,20 @@ /* random.h - random functions - * Copyright (C) 1998 Free Software Foundation, Inc. + * Copyright (C) 1998, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifndef G10_RANDOM_H diff --git a/cipher/rijndael.c b/cipher/rijndael.c index e643048d..98efa210 100644 --- a/cipher/rijndael.c +++ b/cipher/rijndael.c @@ -1,20 +1,20 @@ /* Rijndael (AES) for GnuPG - * Copyright (C) 2000, 2001 Free Software Foundation, Inc. + * Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA ******************************************************************* * The code here is based on the optimized implementation taken from diff --git a/cipher/rmd.h b/cipher/rmd.h index 2900d496..d2938bfb 100644 --- a/cipher/rmd.h +++ b/cipher/rmd.h @@ -1,20 +1,20 @@ /* rmd.h - RIPE-MD hash functions - * Copyright (C) 1998, 2001 Free Software Foundation, Inc. + * Copyright (C) 1998, 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifndef G10_RMD_H diff --git a/cipher/rmd160.c b/cipher/rmd160.c index d3f00f2e..485683f6 100644 --- a/cipher/rmd160.c +++ b/cipher/rmd160.c @@ -1,20 +1,20 @@ /* rmd160.c - RIPE-MD160 - * Copyright (C) 1998, 2001 Free Software Foundation, Inc. + * Copyright (C) 1998, 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/cipher/rndegd.c b/cipher/rndegd.c index 868b2a33..176e73d4 100644 --- a/cipher/rndegd.c +++ b/cipher/rndegd.c @@ -1,20 +1,20 @@ /* rndegd.c - interface to the EGD - * Copyright (C) 1999, 2000 Free Software Foundation, Inc. + * Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/cipher/rndlinux.c b/cipher/rndlinux.c index e0442407..27448784 100644 --- a/cipher/rndlinux.c +++ b/cipher/rndlinux.c @@ -1,20 +1,20 @@ /* rndlinux.c - raw random number for OSes with /dev/random - * Copyright (C) 1998, 2001 Free Software Foundation, Inc. + * Copyright (C) 1998, 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/cipher/rndw32.c b/cipher/rndw32.c index 1ee61712..028797fe 100644 --- a/cipher/rndw32.c +++ b/cipher/rndw32.c @@ -1,23 +1,9 @@ /* rndw32.c - W32 entropy gatherer - * Copyright (C) 1999, 2000 Free Software Foundation, Inc. + * Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc. * Copyright Peter Gutmann, Matt Thomlinson and Blake Coverett 1996-1999 * * This file is part of Libgcrypt. * - * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * Libgcrypt is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA - * ************************************************************************* * The code here is based on code from Cryptlib 3.0 beta by Peter Gutmann. * Source file misc/rndwin32.c "Win32 Randomness-Gathering Code" with this diff --git a/cipher/rsa.c b/cipher/rsa.c index 3a72ca28..9e2d62e9 100644 --- a/cipher/rsa.c +++ b/cipher/rsa.c @@ -1,26 +1,26 @@ /* rsa.c - RSA function * Copyright (C) 1997, 1998, 1999 by Werner Koch (dd9jn) - * Copyright (C) 2000, 2001 Free Software Foundation, Inc. + * Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ /* This code uses an algorithm protected by U.S. Patent #4,405,829 - which expires on September 20, 2000. The patent holder placed that + which expired on September 20, 2000. The patent holder placed that patent into the public domain on Sep 6th, 2000. */ diff --git a/cipher/rsa.h b/cipher/rsa.h index f88c7303..e709757a 100644 --- a/cipher/rsa.h +++ b/cipher/rsa.h @@ -1,21 +1,21 @@ /* rsa.h * Copyright (C) 1997,1998 by Werner Koch (dd9jn) - * Copyright (C) 2000, 2001 Free Software Foundation, Inc. + * Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifndef G10_RSA_H diff --git a/cipher/sha1.c b/cipher/sha1.c index 1ed6514a..0451b2e7 100644 --- a/cipher/sha1.c +++ b/cipher/sha1.c @@ -4,17 +4,17 @@ * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/cipher/tiger.c b/cipher/tiger.c index 6e0b8fa3..4392d9a4 100644 --- a/cipher/tiger.c +++ b/cipher/tiger.c @@ -4,17 +4,17 @@ * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/cipher/twofish.c b/cipher/twofish.c index eb41d872..8cb8c8cf 100644 --- a/cipher/twofish.c +++ b/cipher/twofish.c @@ -1,10 +1,25 @@ /* Twofish for GPG - * By Matthew Skala <mskala@ansuz.sooke.bc.ca>, July 26, 1998 + * Copyright (C) 1998, 2002 Free Software Foundation, Inc. + * Written by Matthew Skala <mskala@ansuz.sooke.bc.ca>, July 26, 1998 * 256-bit key length added March 20, 1999 * Some modifications to reduce the text size by Werner Koch, April, 1998 * - * The original author has disclaimed all copyright interest in this - * code and thus putting it in the public domain. + * This file is part of Libgcrypt. + * + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * Libgcrypt is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + ******************************************************************** * * This code is a "clean room" implementation, written from the paper * _Twofish: A 128-Bit Block Cipher_ by Bruce Schneier, John Kelsey, diff --git a/configure.ac b/configure.ac index 173ae135..108cf657 100644 --- a/configure.ac +++ b/configure.ac @@ -1,20 +1,20 @@ dnl Configure.ac script for Libgcrypt -dnl Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. +dnl Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. dnl dnl This file is part of Libgcrypt. dnl dnl Libgcrypt is free software; you can redistribute it and/or modify -dnl it under the terms of the GNU General Public License as published by -dnl the Free Software Foundation; either version 2 of the License, or -dnl (at your option) any later version. -dnl +dnl it under the terms of the GNU Lesser general Public License as +dnl published by the Free Software Foundation; either version 2.1 of +dnl the License, or (at your option) any later version. +dnl dnl Libgcrypt is distributed in the hope that it will be useful, dnl but WITHOUT ANY WARRANTY; without even the implied warranty of dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -dnl GNU General Public License for more details. -dnl -dnl You should have received a copy of the GNU General Public License -dnl along with this program; if not, write to the Free Software +dnl GNU Lesser General Public License for more details. +dnl +dnl You should have received a copy of the GNU Lesser General Public +dnl License along with this program; if not, write to the Free Software dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA dnl dnl (Process this file with autoconf to produce a configure script.) @@ -183,6 +183,7 @@ AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir) dnl AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir) AC_PROG_CC AC_PROG_CPP +AM_PROG_AS AC_ISC_POSIX AC_PROG_INSTALL AC_PROG_AWK @@ -779,3 +780,17 @@ tests/Makefile ]) AC_OUTPUT +# Give some feedback +echo +warn="" +for file in "$static_random_module"; do + case "$file" in rndunix | rndw32) warn="$warn $file";; esac +done +if test -n "$warn"; then + echo "Please note that you are building a version of Libgcrypt with" + echo " $warn" + echo "included. These parts are licensed under the GPL and thus the" + echo "use of this library has to comply with the conditions of the GPL" +fi + + diff --git a/doc/ChangeLog b/doc/ChangeLog index 9a0eb7b8..335b91b1 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,8 @@ +2002-05-14 Werner Koch <wk@gnupg.org> + + * lgpl.texi: New. + * gcrypt.texi: Included lgpl and commented not yet converted text. + 2002-04-16 Werner Koch <wk@gnupg.org> * version.sgml.in, cipher-ref.sgml, digest-ref.sgml, misc-ref.sgml @@ -46,3 +51,12 @@ Wed Feb 10 17:15:39 CET 1999 Werner Koch <wk@isil.d.shuttle.de> * FAQ: Ditto. * DETAILS: Ditto. + Copyright 1999, 2000, 2002 Free Software Foundation, Inc. + + This file is free software; as a special exception the author gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + + This file is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY, to the extent permitted by law; without even the + implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. diff --git a/doc/Makefile.am b/doc/Makefile.am index 3f73533f..d582877f 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,7 +1,24 @@ ## Process this file with automake to create Makefile.in +# Copyright (C) 2002 Free Software Foundation, Inc. +# +# This file is part of Libgcrypt. +# +# Libgcrypt is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of +# the License, or (at your option) any later version. +# +# Libgcrypt is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA DISTCLEANFILES = gcrypt.cps info_TEXINFOS = gcrypt.texi -gcrypt_TEXINFOS = gpl.texi fdl.texi +gcrypt_TEXINFOS = lgpl.texi gpl.texi fdl.texi diff --git a/doc/gcrypt.texi b/doc/gcrypt.texi index 9124a273..974792f4 100644 --- a/doc/gcrypt.texi +++ b/doc/gcrypt.texi @@ -87,8 +87,10 @@ This is Edition @value{EDITION}, last updated @value{UPDATED}, of Appendices +* Library Copying:: The GNU Lesser General Public License + says how you can copy and share `Libgcrypt'. * Copying:: The GNU General Public License says how you - can copy and share `GnuPG Made Easy'. + can copy and share some parts of `Libgcrypt'. * Free Documentation License:: This manual is under the GNU Free Documentation License. @@ -98,25 +100,6 @@ Indices * Function and Data Index:: Index of functions, variables and data types. @detailmenu - --- The Detailed Node Listing --- - -Introduction - -* Getting Started:: -* Features:: -* Overview:: - -Preparation - -* Header:: -* Version Check:: -* Building the source:: - -Error Handling - -* Error values:: -* Error strings:: - @end detailmenu @end menu @@ -155,13 +138,17 @@ of the interface which are unclear. @node Features @section Features -`Libgcrypt' has a couple of advantages over other libraries doing a -similar job. +`Libgcrypt' might have a couple of advantages over other libraries doing +a similar job. @table @asis @item It's Free Software Anybody can use, modify, and redistribute it under the terms of the GNU -General Public License (@pxref{Copying}). +Lesser General Public License (@pxref{Library Copying}). Note, that +some parts (which are not needed on a GNU or GNU/Linux system) are +subject to the terms of the GNU General Public License +(@pxref{Copying}); please see the README file of the distribution for of +list of these parts. @item It encapsulates the low level cryptography `Libgcrypt' a high level interface to cryptographic buiilding blocks @@ -175,7 +162,7 @@ using an extendable and flexible API. Blurb -The `Libgcrypt' library is thread-safe. +The `Libgcrypt' library is thread-safe. Well, we hope so ;-) @c ********************************************************** @@ -394,467 +381,467 @@ Overlapping buffers are not allowed. How to use cryptographic hash functions. -<refentry> - <refnamediv> - <refname>gcry_md_open</refname> - <refname>gcry_md_enable</refname> - <refname>gcry_md_close</refname> - <refpurpose>create and destroy a message digest context</refpurpose> - </refnamediv> - - <refsynopsisdiv> - <funcsynopsis> - <funcsynopsisinfo> - #include <gcrypt.h> - </funcsynopsisinfo> - <funcprototype> - <funcdef>GCRY_MD_HD <function>gcry_md_open</function></funcdef> - <paramdef>int <parameter>algo</parameter></paramdef> - <paramdef>unsigned int <parameter>flags</parameter></paramdef> - </funcprototype> - <funcprototype> - <funcdef>void <function>gcry_md_enable</function></funcdef> - <paramdef>GCRY_MD_HD <parameter>h</parameter></paramdef> - <paramdef>int <parameter>algo</parameter></paramdef> - </funcprototype> - <funcprototype> - <funcdef>void <function>gcry_md_close</function></funcdef> - <paramdef>GCRY_MD_HD <parameter>h</parameter></paramdef> - </funcprototype> - </funcsynopsis> - </refsynopsisdiv> - - - <refsect1><title>Description</title> - <para> - <indexterm><primary>hash functions</primary> - <secondary>gcry_md_open</secondary> - </indexterm> - <indexterm><primary>hash functions</primary> - <secondary>gcry_md_enable</secondary> - </indexterm> - <indexterm><primary>hash functions</primary> - <secondary>gcry_md_close</secondary> - </indexterm> - <function>gcry_md_open</function> creates the context required for - the message digest functions. The hash algorithm may optionally be - specified. It is possible to use these functions as MAC functons; therefore - the flag <literal/GCRY_MD_FLAG_HMAC/ must be given along with the - hash functions. Other MAC algorithms than HMAC are currently not - supported. The key for the MAC must be set using - the <function>gcry_md_setkey</> function. - <function>gcry_md_close</function> releases all resources associated - with the context. - <function>gcry_md_enable</function> may be used to enable hash - algorithms. This function may be used multiple times to create - a hash context for multiple algorithms. Adding an already enabled algorithm - has no effect. A algorithm must be enabled prios to calculate hash - algorithms. - </para> -</refentry> - -<!--********************************************** -*********** md_copy ***************************** -***********************************************--> -<refentry> - <refnamediv> - <refname>gcry_md_copy</refname> - <refpurpose>create and copy of a message digest context</refpurpose> - </refnamediv> - - <refsynopsisdiv> - <funcsynopsis> - <funcsynopsisinfo> - #include <gcrypt.h> - </funcsynopsisinfo> - <funcprototype> - <funcdef>GCRY_MD_HD <function>gcry_md_copy</function></funcdef> - <paramdef>GCRY_MD_HD <parameter>h</parameter></paramdef> - </funcprototype> - </funcsynopsis> - </refsynopsisdiv> - - - <refsect1><title>Description</title> - <para> - <indexterm><primary>hash functions</primary> - <secondary>gcry_md_copy</secondary> - </indexterm> - <function>gcry_md_copy</function> creates an excat copy of the given context. - This is useful to calculate hashes with a common initial part of the - plaintext. - </para> -</refentry> - -<!--********************************************** -*********** md_reset *************************** -***********************************************--> -<refentry> - <refnamediv> - <refname>gcry_md_reset</refname> - <refpurpose>reset a message digest context</refpurpose> - </refnamediv> - - <refsynopsisdiv> - <funcsynopsis> - <funcsynopsisinfo> - #include <gcrypt.h> - </funcsynopsisinfo> - <funcprototype> - <funcdef>void <function>gcry_md_reset</function></funcdef> - <paramdef>GCRY_MD_HD <parameter>h</parameter></paramdef> - </funcprototype> - </funcsynopsis> - </refsynopsisdiv> - - - <refsect1><title>Description</title> - <para> - <indexterm><primary>hash functions</primary> - <secondary>gcry_md_reset</secondary> - </indexterm> - <function>gcry_md_reset</function> is used to reuse a message context - without the overhead of an open and close operation. - </para> -</refentry> - - -<!--********************************************** -*********** md_ctl ***************************** -***********************************************--> -<refentry> - <refnamediv> - <refname>gcry_md_ctl</refname> - <refname>gcry_md_final</refname> - <refname>gcry_md_setkey</refname> - <refpurpose>perform special operations on a digest context</refpurpose> - </refnamediv> - - <refsynopsisdiv> - <funcsynopsis> - <funcsynopsisinfo> - #include <gcrypt.h> - </funcsynopsisinfo> - <funcprototype> - <funcdef>int <function>gcry_md_ctl</function></funcdef> - <paramdef>GCRY_MD_HD <parameter>h</parameter></paramdef> - <paramdef>int <parameter>cmd</parameter></paramdef> - <paramdef>unsigned char * <parameter>buffer</parameter></paramdef> - <paramdef>size_t <parameter>buflen</parameter></paramdef> - </funcprototype> - </funcsynopsis> - </refsynopsisdiv> - - - <refsect1><title>Description</title> - <para> - <indexterm><primary>hash functions</primary> - <secondary>gcry_md_ctl</secondary> - </indexterm> - <function>gcry_md_ctl</function> is a multi-purpose function - to control the behaviour of all gcry_md functions or one instance - of it. - </para> - <para> - Currently defined values for <parameter>cmd</> are: - </para> - <para> - <literal>GCRYCTL_FINALIZE</> and the convenience macro - <function>gcry_md_final(a)</> - </para> - <para> - <literal>GCRYCTL_SET_KEY</> and the convenience macro - <function>gcry_md_setkey(a)</>. This is used to turn these - hash functions into MAC functions. The key may be any string - of the speicified length. The type of the MAC is determined - by special flags set with the open function. - NEW: There is now a function to do this - </para> -</refentry> - -<!--********************************************** -*********** md_write, putc ********************* -***********************************************--> -<refentry> - <refnamediv> - <refname>gcry_md_write</refname> - <refname>gcry_md_putc</refname> - <refpurpose>calculate the message digest of a buffer</refpurpose> - </refnamediv> - - <refsynopsisdiv> - <funcsynopsis> - <funcsynopsisinfo> - #include <gcrypt.h> - </funcsynopsisinfo> - <funcprototype> - <funcdef>int <function>gcry_md_write</function></funcdef> - <paramdef>GCRY_MD_HD <parameter>h</parameter></paramdef> - <paramdef>unsigned char * <parameter>buffer</parameter></paramdef> - <paramdef>size_t <parameter>buflen</parameter></paramdef> - </funcprototype> - <funcprototype> - <funcdef>int <function>gcry_md_putc</function></funcdef> - <paramdef>GCRY_MD_HD <parameter>h</parameter></paramdef> - <paramdef>int <parameter>c</parameter></paramdef> - </funcprototype> - </funcsynopsis> - </refsynopsisdiv> - - - <refsect1><title>Description</title> - <para> - <indexterm><primary>hash functions</primary> - <secondary>gcry_md_write</secondary></indexterm> - <indexterm><primary>hash functions</primary> - <secondary>gcry_md_putc</secondary></indexterm> - <function>gcry_md_write</function> is used to actually calulate the message - digest of a buffer. This function updates the internal state of the message - digest. - </para> - <para> - <function>gcry_md_putc</function> is a macro which is used to update - the message digest by one byte. this is the preferred way to calculate - a digest if only a few bytes at a time are available. - </para> -</refentry> - -<!--********************************************** -*********** md_read ***************************** -***********************************************--> -<refentry> - <refnamediv> - <refname>gcry_md_read</refname> - <refpurpose>read out the message digest</refpurpose> - </refnamediv> - - <refsynopsisdiv> - <funcsynopsis> - <funcsynopsisinfo> - #include <gcrypt.h> - </funcsynopsisinfo> - <funcprototype> - <funcdef>unsigned char * <function>gcry_md_read</function></funcdef> - <paramdef>GCRY_MD_HD <parameter>h</parameter></paramdef> - <paramdef>int <parameter>algo</parameter></paramdef> - </funcprototype> - </funcsynopsis> - </refsynopsisdiv> - - - <refsect1><title>Description</title> - <para> - <indexterm><primary>hash functions</primary> - <secondary>gcry_md_read</secondary> - </indexterm> - <indexterm><primary>hash functions</primary> - <secondary>gcry_md_putc</secondary> - </indexterm> - <function>gcry_md_read</function> returns the message digest after finalizing - the calculation. This function may be used as often as required but it - will alwas return the same value for one handle. The returned message - digest is allocated within the message context and therefore valid until - the conext is released. <parameter>algo</> may be given as 0 to return the - only enbaled message digest or it may specify one of the enabled algorithms. - The function will return NULL if the algorithm has not been enabled. - </para> -</refentry> - - -<!--********************************************** -*********** md_info **************************** -***********************************************--> -<refentry> - <refnamediv> - <refname>gcry_md_info</refname> - <refpurpose>get information about a handle</refpurpose> - </refnamediv> - - <refsynopsisdiv> - <funcsynopsis> - <funcsynopsisinfo> - #include <gcrypt.h> - </funcsynopsisinfo> - <funcprototype> - <funcdef>int <function>gcry_md_info</function></funcdef> - <paramdef>GCRY_MD_HD <parameter>h</parameter></paramdef> - <paramdef>int <parameter>what</parameter></paramdef> - <paramdef>void * <parameter>buffer</parameter></paramdef> - <paramdef>size_t <parameter>buflen</parameter></paramdef> - </funcprototype> - </funcsynopsis> - </refsynopsisdiv> - - <refsect1><title>Description</title> - <para> - <indexterm><primary>hash functions</primary> - <secondary>gcry_md_info</secondary> - </indexterm> - <function>gcry_md_info</function> returns some information about the - handle or an global parameter. - </para> - <para> - The only defined value for <parameter>what</> is - <literal>GCRYCTL_IS_SECURE</literal> to return whether the handle - has been allocated in secure memory. Buffer and buflen are not needed - in this cases. The convenience macro <function>gcry_md_is_secure(a)</> - may be also used for this purpose. - </para> -</refentry> - - -<!--********************************************** -*********** md_algo_info *********************** -***********************************************--> -<refentry> - <refnamediv> - <refname>gcry_md_algo_info</refname> - <refname>gcry_md_test_algo</refname> - <refname>gcry_md_get_algo_dlen</refname> - <refpurpose>get information about an algorithm</refpurpose> - </refnamediv> - - <refsynopsisdiv> - <funcsynopsis> - <funcsynopsisinfo> - #include <gcrypt.h> - </funcsynopsisinfo> - <funcprototype> - <funcdef>int <function>gcry_md_algo_info</function></funcdef> - <paramdef>int <parameter>algo</parameter></paramdef> - <paramdef>int <parameter>what</parameter></paramdef> - <paramdef>void * <parameter>buffer</parameter></paramdef> - <paramdef>size_t <parameter>buflen</parameter></paramdef> - </funcprototype> - <funcprototype> - <funcdef>unsigned int <function>gcry_md_get_algo_dlen</function></funcdef> - <paramdef>int <parameter>algo</parameter></paramdef> - </funcprototype> - </funcsynopsis> - </refsynopsisdiv> - - <refsect1><title>Description</title> - <para> - <indexterm><primary>hash functions</primary> - <secondary>gcry_md_algo_info</secondary> - </indexterm> - <function>gcry_md_algo_info</function> returns some information about an - algorithm. On error the value -1 is return and a more detailed error - description is available with <function>gcry_errno</>. - </para> - <para> - The defined values for <parameter>what</> are - <literal>GCRYCTL_TEST_ALGO</literal> to return whether the algorithm - is supported. Buffer and buflen are not needed - in this cases. The convenience macro <function>gcry_md_test_algo(a)</> - may be used for this purpose. - </para> - <para> - <literal>GCRYCTL_GET_ASNOID</literal> to return whether the ASN.1 - object identifier. IF buffer is specified as NULL, only the required - length for the buffer is returned. - </para> - <para> - <indexterm><primary>hash functions</primary> - <secondary>gcry_md_get_algo_dlen</secondary> - </indexterm> - <function>gcry_md_get_algo_dlen</function> returns the length of the - digest for a given algorithm in bytes. - </para> -</refentry> - - -<!--********************************************** -*********** md_algo_name, map_name ************* -***********************************************--> -<refentry> - <refnamediv> - <refname>gcry_md_algo_name</refname> - <refname>gcry_md_map_name</refname> - <refpurpose>map algorithm to string</refpurpose> - </refnamediv> - - <refsynopsisdiv> - <funcsynopsis> - <funcsynopsisinfo> - #include <gcrypt.h> - </funcsynopsisinfo> - <funcprototype> - <funcdef>const char * <function>gcry_md_algo_name</function></funcdef> - <paramdef>int <parameter>algo</parameter></paramdef> - </funcprototype> - <funcprototype> - <funcdef>int <function>gcry_md_map_name</function></funcdef> - <paramdef>const char*<parameter>name</parameter></paramdef> - </funcprototype> - </funcsynopsis> - </refsynopsisdiv> - - <refsect1><title>Description</title> - <para> - <indexterm><primary>hash functions</primary> - <secondary>gcry_md_algo_name</secondary> - </indexterm> - <indexterm><primary>hash functions</primary> - <secondary>gcry_md_map_name</secondary> - </indexterm> - These both functions are used to map a string with the algorithm name to - the internal algorithm identifier value and vice versa. - </para> - <para> - <function>gcry_md_algo_name</> never returns NULL even in cases where the - algorithm string is not available. Instead a string consisting of a - single question mark is returned. Do not use this function to test - for the existence of an algorithm. - </para> - <para> - <function>gcry_md_map_name</> returns 0 if the algorithm is not known - to &libgcrypt;. - </para> -</refentry> - - - -<!--********************************************** -*********** md_hash_buffer ********************* -***********************************************--> -<refentry> - <refnamediv> - <refname>gcry_md_hash_buffer</refname> - <refpurpose>fast message calculation</refpurpose> - </refnamediv> - - <refsynopsisdiv> - <funcsynopsis> - <funcsynopsisinfo> - #include <gcrypt.h> - </funcsynopsisinfo> - <funcprototype> - <funcdef>int <function>gcry_md_hash_buffer</function></funcdef> - <paramdef>int <parameter>algo</parameter></paramdef> - <paramdef>char * <parameter>digest</parameter></paramdef> - <paramdef>const char * <parameter>buffer</parameter></paramdef> - <paramdef>size_t <parameter>buflen</parameter></paramdef> - </funcprototype> - </funcsynopsis> - </refsynopsisdiv> - - <refsect1><title>Description</title> - <para> - <indexterm><primary>hash functions</primary> - <secondary>gcry_md_hash_buffer</secondary> - </indexterm> - <function>gcry_md_hash_buffer</function> is a shortcut function - to calculate a message digest of a buffer. This function does not require - a context and immediatley returns the message digest. - <parameter>digest</> must be string large enough to hold the digest - given by algo. This length may be obtained by using the function - <function>gcry_md_get_algo_dlen</> but in most cases it will be a statically - allocated buffer. - </para> -</refentry> - - +@c <refentry> +@c <refnamediv> +@c <refname>gcry_md_open</refname> +@c <refname>gcry_md_enable</refname> +@c <refname>gcry_md_close</refname> +@c <refpurpose>create and destroy a message digest context</refpurpose> +@c </refnamediv> +@c +@c <refsynopsisdiv> +@c <funcsynopsis> +@c <funcsynopsisinfo> +@c #include <gcrypt.h> +@c </funcsynopsisinfo> +@c <funcprototype> +@c <funcdef>GCRY_MD_HD <function>gcry_md_open</function></funcdef> +@c <paramdef>int <parameter>algo</parameter></paramdef> +@c <paramdef>unsigned int <parameter>flags</parameter></paramdef> +@c </funcprototype> +@c <funcprototype> +@c <funcdef>void <function>gcry_md_enable</function></funcdef> +@c <paramdef>GCRY_MD_HD <parameter>h</parameter></paramdef> +@c <paramdef>int <parameter>algo</parameter></paramdef> +@c </funcprototype> +@c <funcprototype> +@c <funcdef>void <function>gcry_md_close</function></funcdef> +@c <paramdef>GCRY_MD_HD <parameter>h</parameter></paramdef> +@c </funcprototype> +@c </funcsynopsis> +@c </refsynopsisdiv> +@c +@c +@c <refsect1><title>Description</title> +@c <para> +@c <indexterm><primary>hash functions</primary> +@c <secondary>gcry_md_open</secondary> +@c </indexterm> +@c <indexterm><primary>hash functions</primary> +@c <secondary>gcry_md_enable</secondary> +@c </indexterm> +@c <indexterm><primary>hash functions</primary> +@c <secondary>gcry_md_close</secondary> +@c </indexterm> +@c <function>gcry_md_open</function> creates the context required for +@c the message digest functions. The hash algorithm may optionally be +@c specified. It is possible to use these functions as MAC functons; therefore +@c the flag <literal/GCRY_MD_FLAG_HMAC/ must be given along with the +@c hash functions. Other MAC algorithms than HMAC are currently not +@c supported. The key for the MAC must be set using +@c the <function>gcry_md_setkey</> function. +@c <function>gcry_md_close</function> releases all resources associated +@c with the context. +@c <function>gcry_md_enable</function> may be used to enable hash +@c algorithms. This function may be used multiple times to create +@c a hash context for multiple algorithms. Adding an already enabled algorithm +@c has no effect. A algorithm must be enabled prios to calculate hash +@c algorithms. +@c </para> +@c </refentry> +@c +@c <!--********************************************** +@c *********** md_copy ***************************** +@c ***********************************************--> +@c <refentry> +@c <refnamediv> +@c <refname>gcry_md_copy</refname> +@c <refpurpose>create and copy of a message digest context</refpurpose> +@c </refnamediv> +@c +@c <refsynopsisdiv> +@c <funcsynopsis> +@c <funcsynopsisinfo> +@c #include <gcrypt.h> +@c </funcsynopsisinfo> +@c <funcprototype> +@c <funcdef>GCRY_MD_HD <function>gcry_md_copy</function></funcdef> +@c <paramdef>GCRY_MD_HD <parameter>h</parameter></paramdef> +@c </funcprototype> +@c </funcsynopsis> +@c </refsynopsisdiv> +@c +@c +@c <refsect1><title>Description</title> +@c <para> +@c <indexterm><primary>hash functions</primary> +@c <secondary>gcry_md_copy</secondary> +@c </indexterm> +@c <function>gcry_md_copy</function> creates an excat copy of the given context. +@c This is useful to calculate hashes with a common initial part of the +@c plaintext. +@c </para> +@c </refentry> +@c +@c <!--********************************************** +@c *********** md_reset *************************** +@c ***********************************************--> +@c <refentry> +@c <refnamediv> +@c <refname>gcry_md_reset</refname> +@c <refpurpose>reset a message digest context</refpurpose> +@c </refnamediv> +@c +@c <refsynopsisdiv> +@c <funcsynopsis> +@c <funcsynopsisinfo> +@c #include <gcrypt.h> +@c </funcsynopsisinfo> +@c <funcprototype> +@c <funcdef>void <function>gcry_md_reset</function></funcdef> +@c <paramdef>GCRY_MD_HD <parameter>h</parameter></paramdef> +@c </funcprototype> +@c </funcsynopsis> +@c </refsynopsisdiv> +@c +@c +@c <refsect1><title>Description</title> +@c <para> +@c <indexterm><primary>hash functions</primary> +@c <secondary>gcry_md_reset</secondary> +@c </indexterm> +@c <function>gcry_md_reset</function> is used to reuse a message context +@c without the overhead of an open and close operation. +@c </para> +@c </refentry> +@c +@c +@c <!--********************************************** +@c *********** md_ctl ***************************** +@c ***********************************************--> +@c <refentry> +@c <refnamediv> +@c <refname>gcry_md_ctl</refname> +@c <refname>gcry_md_final</refname> +@c <refname>gcry_md_setkey</refname> +@c <refpurpose>perform special operations on a digest context</refpurpose> +@c </refnamediv> +@c +@c <refsynopsisdiv> +@c <funcsynopsis> +@c <funcsynopsisinfo> +@c #include <gcrypt.h> +@c </funcsynopsisinfo> +@c <funcprototype> +@c <funcdef>int <function>gcry_md_ctl</function></funcdef> +@c <paramdef>GCRY_MD_HD <parameter>h</parameter></paramdef> +@c <paramdef>int <parameter>cmd</parameter></paramdef> +@c <paramdef>unsigned char * <parameter>buffer</parameter></paramdef> +@c <paramdef>size_t <parameter>buflen</parameter></paramdef> +@c </funcprototype> +@c </funcsynopsis> +@c </refsynopsisdiv> +@c +@c +@c <refsect1><title>Description</title> +@c <para> +@c <indexterm><primary>hash functions</primary> +@c <secondary>gcry_md_ctl</secondary> +@c </indexterm> +@c <function>gcry_md_ctl</function> is a multi-purpose function +@c to control the behaviour of all gcry_md functions or one instance +@c of it. +@c </para> +@c <para> +@c Currently defined values for <parameter>cmd</> are: +@c </para> +@c <para> +@c <literal>GCRYCTL_FINALIZE</> and the convenience macro +@c <function>gcry_md_final(a)</> +@c </para> +@c <para> +@c <literal>GCRYCTL_SET_KEY</> and the convenience macro +@c <function>gcry_md_setkey(a)</>. This is used to turn these +@c hash functions into MAC functions. The key may be any string +@c of the speicified length. The type of the MAC is determined +@c by special flags set with the open function. +@c NEW: There is now a function to do this +@c </para> +@c </refentry> +@c +@c <!--********************************************** +@c *********** md_write, putc ********************* +@c ***********************************************--> +@c <refentry> +@c <refnamediv> +@c <refname>gcry_md_write</refname> +@c <refname>gcry_md_putc</refname> +@c <refpurpose>calculate the message digest of a buffer</refpurpose> +@c </refnamediv> +@c +@c <refsynopsisdiv> +@c <funcsynopsis> +@c <funcsynopsisinfo> +@c #include <gcrypt.h> +@c </funcsynopsisinfo> +@c <funcprototype> +@c <funcdef>int <function>gcry_md_write</function></funcdef> +@c <paramdef>GCRY_MD_HD <parameter>h</parameter></paramdef> +@c <paramdef>unsigned char * <parameter>buffer</parameter></paramdef> +@c <paramdef>size_t <parameter>buflen</parameter></paramdef> +@c </funcprototype> +@c <funcprototype> +@c <funcdef>int <function>gcry_md_putc</function></funcdef> +@c <paramdef>GCRY_MD_HD <parameter>h</parameter></paramdef> +@c <paramdef>int <parameter>c</parameter></paramdef> +@c </funcprototype> +@c </funcsynopsis> +@c </refsynopsisdiv> +@c +@c +@c <refsect1><title>Description</title> +@c <para> +@c <indexterm><primary>hash functions</primary> +@c <secondary>gcry_md_write</secondary></indexterm> +@c <indexterm><primary>hash functions</primary> +@c <secondary>gcry_md_putc</secondary></indexterm> +@c <function>gcry_md_write</function> is used to actually calulate the message +@c digest of a buffer. This function updates the internal state of the message +@c digest. +@c </para> +@c <para> +@c <function>gcry_md_putc</function> is a macro which is used to update +@c the message digest by one byte. this is the preferred way to calculate +@c a digest if only a few bytes at a time are available. +@c </para> +@c </refentry> +@c +@c <!--********************************************** +@c *********** md_read ***************************** +@c ***********************************************--> +@c <refentry> +@c <refnamediv> +@c <refname>gcry_md_read</refname> +@c <refpurpose>read out the message digest</refpurpose> +@c </refnamediv> +@c +@c <refsynopsisdiv> +@c <funcsynopsis> +@c <funcsynopsisinfo> +@c #include <gcrypt.h> +@c </funcsynopsisinfo> +@c <funcprototype> +@c <funcdef>unsigned char * <function>gcry_md_read</function></funcdef> +@c <paramdef>GCRY_MD_HD <parameter>h</parameter></paramdef> +@c <paramdef>int <parameter>algo</parameter></paramdef> +@c </funcprototype> +@c </funcsynopsis> +@c </refsynopsisdiv> +@c +@c +@c <refsect1><title>Description</title> +@c <para> +@c <indexterm><primary>hash functions</primary> +@c <secondary>gcry_md_read</secondary> +@c </indexterm> +@c <indexterm><primary>hash functions</primary> +@c <secondary>gcry_md_putc</secondary> +@c </indexterm> +@c <function>gcry_md_read</function> returns the message digest after finalizing +@c the calculation. This function may be used as often as required but it +@c will alwas return the same value for one handle. The returned message +@c digest is allocated within the message context and therefore valid until +@c the conext is released. <parameter>algo</> may be given as 0 to return the +@c only enbaled message digest or it may specify one of the enabled algorithms. +@c The function will return NULL if the algorithm has not been enabled. +@c </para> +@c </refentry> +@c +@c +@c <!--********************************************** +@c *********** md_info **************************** +@c ***********************************************--> +@c <refentry> +@c <refnamediv> +@c <refname>gcry_md_info</refname> +@c <refpurpose>get information about a handle</refpurpose> +@c </refnamediv> +@c +@c <refsynopsisdiv> +@c <funcsynopsis> +@c <funcsynopsisinfo> +@c #include <gcrypt.h> +@c </funcsynopsisinfo> +@c <funcprototype> +@c <funcdef>int <function>gcry_md_info</function></funcdef> +@c <paramdef>GCRY_MD_HD <parameter>h</parameter></paramdef> +@c <paramdef>int <parameter>what</parameter></paramdef> +@c <paramdef>void * <parameter>buffer</parameter></paramdef> +@c <paramdef>size_t <parameter>buflen</parameter></paramdef> +@c </funcprototype> +@c </funcsynopsis> +@c </refsynopsisdiv> +@c +@c <refsect1><title>Description</title> +@c <para> +@c <indexterm><primary>hash functions</primary> +@c <secondary>gcry_md_info</secondary> +@c </indexterm> +@c <function>gcry_md_info</function> returns some information about the +@c handle or an global parameter. +@c </para> +@c <para> +@c The only defined value for <parameter>what</> is +@c <literal>GCRYCTL_IS_SECURE</literal> to return whether the handle +@c has been allocated in secure memory. Buffer and buflen are not needed +@c in this cases. The convenience macro <function>gcry_md_is_secure(a)</> +@c may be also used for this purpose. +@c </para> +@c </refentry> +@c +@c +@c <!--********************************************** +@c *********** md_algo_info *********************** +@c ***********************************************--> +@c <refentry> +@c <refnamediv> +@c <refname>gcry_md_algo_info</refname> +@c <refname>gcry_md_test_algo</refname> +@c <refname>gcry_md_get_algo_dlen</refname> +@c <refpurpose>get information about an algorithm</refpurpose> +@c </refnamediv> +@c +@c <refsynopsisdiv> +@c <funcsynopsis> +@c <funcsynopsisinfo> +@c #include <gcrypt.h> +@c </funcsynopsisinfo> +@c <funcprototype> +@c <funcdef>int <function>gcry_md_algo_info</function></funcdef> +@c <paramdef>int <parameter>algo</parameter></paramdef> +@c <paramdef>int <parameter>what</parameter></paramdef> +@c <paramdef>void * <parameter>buffer</parameter></paramdef> +@c <paramdef>size_t <parameter>buflen</parameter></paramdef> +@c </funcprototype> +@c <funcprototype> +@c <funcdef>unsigned int <function>gcry_md_get_algo_dlen</function></funcdef> +@c <paramdef>int <parameter>algo</parameter></paramdef> +@c </funcprototype> +@c </funcsynopsis> +@c </refsynopsisdiv> +@c +@c <refsect1><title>Description</title> +@c <para> +@c <indexterm><primary>hash functions</primary> +@c <secondary>gcry_md_algo_info</secondary> +@c </indexterm> +@c <function>gcry_md_algo_info</function> returns some information about an +@c algorithm. On error the value -1 is return and a more detailed error +@c description is available with <function>gcry_errno</>. +@c </para> +@c <para> +@c The defined values for <parameter>what</> are +@c <literal>GCRYCTL_TEST_ALGO</literal> to return whether the algorithm +@c is supported. Buffer and buflen are not needed +@c in this cases. The convenience macro <function>gcry_md_test_algo(a)</> +@c may be used for this purpose. +@c </para> +@c <para> +@c <literal>GCRYCTL_GET_ASNOID</literal> to return whether the ASN.1 +@c object identifier. IF buffer is specified as NULL, only the required +@c length for the buffer is returned. +@c </para> +@c <para> +@c <indexterm><primary>hash functions</primary> +@c <secondary>gcry_md_get_algo_dlen</secondary> +@c </indexterm> +@c <function>gcry_md_get_algo_dlen</function> returns the length of the +@c digest for a given algorithm in bytes. +@c </para> +@c </refentry> +@c +@c +@c <!--********************************************** +@c *********** md_algo_name, map_name ************* +@c ***********************************************--> +@c <refentry> +@c <refnamediv> +@c <refname>gcry_md_algo_name</refname> +@c <refname>gcry_md_map_name</refname> +@c <refpurpose>map algorithm to string</refpurpose> +@c </refnamediv> +@c +@c <refsynopsisdiv> +@c <funcsynopsis> +@c <funcsynopsisinfo> +@c #include <gcrypt.h> +@c </funcsynopsisinfo> +@c <funcprototype> +@c <funcdef>const char * <function>gcry_md_algo_name</function></funcdef> +@c <paramdef>int <parameter>algo</parameter></paramdef> +@c </funcprototype> +@c <funcprototype> +@c <funcdef>int <function>gcry_md_map_name</function></funcdef> +@c <paramdef>const char*<parameter>name</parameter></paramdef> +@c </funcprototype> +@c </funcsynopsis> +@c </refsynopsisdiv> +@c +@c <refsect1><title>Description</title> +@c <para> +@c <indexterm><primary>hash functions</primary> +@c <secondary>gcry_md_algo_name</secondary> +@c </indexterm> +@c <indexterm><primary>hash functions</primary> +@c <secondary>gcry_md_map_name</secondary> +@c </indexterm> +@c These both functions are used to map a string with the algorithm name to +@c the internal algorithm identifier value and vice versa. +@c </para> +@c <para> +@c <function>gcry_md_algo_name</> never returns NULL even in cases where the +@c algorithm string is not available. Instead a string consisting of a +@c single question mark is returned. Do not use this function to test +@c for the existence of an algorithm. +@c </para> +@c <para> +@c <function>gcry_md_map_name</> returns 0 if the algorithm is not known +@c to &libgcrypt;. +@c </para> +@c </refentry> +@c +@c +@c +@c <!--********************************************** +@c *********** md_hash_buffer ********************* +@c ***********************************************--> +@c <refentry> +@c <refnamediv> +@c <refname>gcry_md_hash_buffer</refname> +@c <refpurpose>fast message calculation</refpurpose> +@c </refnamediv> +@c +@c <refsynopsisdiv> +@c <funcsynopsis> +@c <funcsynopsisinfo> +@c #include <gcrypt.h> +@c </funcsynopsisinfo> +@c <funcprototype> +@c <funcdef>int <function>gcry_md_hash_buffer</function></funcdef> +@c <paramdef>int <parameter>algo</parameter></paramdef> +@c <paramdef>char * <parameter>digest</parameter></paramdef> +@c <paramdef>const char * <parameter>buffer</parameter></paramdef> +@c <paramdef>size_t <parameter>buflen</parameter></paramdef> +@c </funcprototype> +@c </funcsynopsis> +@c </refsynopsisdiv> +@c +@c <refsect1><title>Description</title> +@c <para> +@c <indexterm><primary>hash functions</primary> +@c <secondary>gcry_md_hash_buffer</secondary> +@c </indexterm> +@c <function>gcry_md_hash_buffer</function> is a shortcut function +@c to calculate a message digest of a buffer. This function does not require +@c a context and immediatley returns the message digest. +@c <parameter>digest</> must be string large enough to hold the digest +@c given by algo. This length may be obtained by using the function +@c <function>gcry_md_get_algo_dlen</> but in most cases it will be a statically +@c allocated buffer. +@c </para> +@c </refentry> +@c +@c @c ********************************************************** @@ -865,74 +852,74 @@ How to use cryptographic hash functions. How to use asymmetric encryption. -<refentry> - <refnamediv> - <refname>gcry_pk_encrypt</refname> - <refpurpose>do a public key encryption</refpurpose> - </refnamediv> - - <refsynopsisdiv> - <funcsynopsis> - <funcsynopsisinfo> - #include <gcrypt.h> - </funcsynopsisinfo> - <funcprototype> - <funcdef>int <function>gcry_pk_encrypt</function></funcdef> - <paramdef>GCRY_SEXP *<parameter>result</parameter></paramdef> - <paramdef>GCRY_SEXP <parameter>data</parameter></paramdef> - <paramdef>GCRY_SEXP <parameter>pkey</parameter></paramdef> - </funcprototype> - </funcsynopsis> - </refsynopsisdiv> - - - <refsect1><title>Description</title> - <para> - <indexterm><primary>public key functions</primary> - <secondary>gcry_pk_encrypt</secondary> - </indexterm> - <function>gcry_pk_encrypt</function> performs public key encryption - operations. The caller has to provide a public key as the &sexp; - <parameter>pkey</> and <parameter>data</> as a &sexp; - with just one MPI in it. The function returns a &sexp; which may - be passed tp to pk_decrypt. - Later versions of this functions may take more complex input data. - - Returns: 0 or an errorcode. - </para> - <literallayout> - s_data = (<replaceable/mpi/) - s_pkey = <replaceable/key-as-defined-in-sexp_to_key/ - r_ciph = (enc-val - (<replaceable/algo/ - (<replaceable/param_name1/ <replaceable/mpi/) - ... - (<replaceable/param_namen/ <replaceable/mpi/) - )) - </literallayout> -</refentry> - - -<!-- -int gcry_pk_decrypt( GCRY_SEXP *result, GCRY_SEXP data, GCRY_SEXP skey ); - - - -int gcry_pk_sign( GCRY_SEXP *result, GCRY_SEXP data, GCRY_SEXP skey ); -int gcry_pk_verify( GCRY_SEXP sigval, GCRY_SEXP data, GCRY_SEXP pkey ); -int gcry_pk_testkey( GCRY_SEXP key ); -int gcry_pk_genkey( GCRY_SEXP *r_key, GCRY_SEXP s_parms ); - -int gcry_pk_ctl( int cmd, void *buffer, size_t buflen); -int gcry_pk_algo_info( int algo, int what, void *buffer, size_t *nbytes); -#define gcry_pk_test_algo(a) \ - gcry_pk_algo_info( (a), GCRYCTL_TEST_ALGO, NULL, NULL ) - -const char *gcry_pk_algo_name( int algo ); -int gcry_pk_map_name( const char* name ); -unsigned int gcry_pk_get_nbits( GCRY_SEXP key ); - --> - +@c <refentry> +@c <refnamediv> +@c <refname>gcry_pk_encrypt</refname> +@c <refpurpose>do a public key encryption</refpurpose> +@c </refnamediv> +@c +@c <refsynopsisdiv> +@c <funcsynopsis> +@c <funcsynopsisinfo> +@c #include <gcrypt.h> +@c </funcsynopsisinfo> +@c <funcprototype> +@c <funcdef>int <function>gcry_pk_encrypt</function></funcdef> +@c <paramdef>GCRY_SEXP *<parameter>result</parameter></paramdef> +@c <paramdef>GCRY_SEXP <parameter>data</parameter></paramdef> +@c <paramdef>GCRY_SEXP <parameter>pkey</parameter></paramdef> +@c </funcprototype> +@c </funcsynopsis> +@c </refsynopsisdiv> +@c +@c +@c <refsect1><title>Description</title> +@c <para> +@c <indexterm><primary>public key functions</primary> +@c <secondary>gcry_pk_encrypt</secondary> +@c </indexterm> +@c <function>gcry_pk_encrypt</function> performs public key encryption +@c operations. The caller has to provide a public key as the &sexp; +@c <parameter>pkey</> and <parameter>data</> as a &sexp; +@c with just one MPI in it. The function returns a &sexp; which may +@c be passed tp to pk_decrypt. +@c Later versions of this functions may take more complex input data. +@c +@c Returns: 0 or an errorcode. +@c </para> +@c <literallayout> +@c s_data = (<replaceable/mpi/) +@c s_pkey = <replaceable/key-as-defined-in-sexp_to_key/ +@c r_ciph = (enc-val +@c (<replaceable/algo/ +@c (<replaceable/param_name1/ <replaceable/mpi/) +@c ... +@c (<replaceable/param_namen/ <replaceable/mpi/) +@c )) +@c </literallayout> +@c </refentry> +@c +@c +@c <!-- +@c int gcry_pk_decrypt( GCRY_SEXP *result, GCRY_SEXP data, GCRY_SEXP skey ); +@c +@c +@c +@c int gcry_pk_sign( GCRY_SEXP *result, GCRY_SEXP data, GCRY_SEXP skey ); +@c int gcry_pk_verify( GCRY_SEXP sigval, GCRY_SEXP data, GCRY_SEXP pkey ); +@c int gcry_pk_testkey( GCRY_SEXP key ); +@c int gcry_pk_genkey( GCRY_SEXP *r_key, GCRY_SEXP s_parms ); +@c +@c int gcry_pk_ctl( int cmd, void *buffer, size_t buflen); +@c int gcry_pk_algo_info( int algo, int what, void *buffer, size_t *nbytes); +@c #define gcry_pk_test_algo(a) \ +@c gcry_pk_algo_info( (a), GCRYCTL_TEST_ALGO, NULL, NULL ) +@c +@c const char *gcry_pk_algo_name( int algo ); +@c int gcry_pk_map_name( const char* name ); +@c unsigned int gcry_pk_get_nbits( GCRY_SEXP key ); +@c --> +@c @c ********************************************************** @c ******************* Random ***************************** @@ -971,230 +958,230 @@ allcated in a ``secure'' area of the memory. Helper functions. - <funcprototype> - <funcdef>int <function>gcry_control</function></funcdef> - <paramdef>enum gcry_ctl_cmds<parameter>cmd</parameter></paramdef> - <paramdef><parameter>...</parameter></paramdef> - </funcprototype> - </funcsynopsis> - </refsynopsisdiv> - - <refsect1><title>Description</title> - <para> - <indexterm><primary>gcry_control</primary></indexterm> - This function is used to control various aspects of &libgcrypt; - FIXME: Explain all commands here. - </para> -</refentry> - - - - - -<refentry> - <refnamediv> - <refname>gcry_set_allocation_handler</refname> - <refname>gcry_set_outofcore_handler</refname> - <refpurpose>Use application defined malloc functions</refpurpose> - </refnamediv> - - <refsynopsisdiv> - <funcsynopsis> - <funcsynopsisinfo> - #include <gcrypt.h> - </funcsynopsisinfo> - <funcprototype> - <funcdef>void <function>gcry_set_allocation_handler</></funcdef> - <paramdef>void *(*<parameter>alloc_func</>)(size_t n)</paramdef> - <paramdef>void *(*<parameter>alloc_secure_func</>)(size_t n)</paramdef> - <paramdef>int (*<parameter>is_secure_func</>)(const void *p)</paramdef> - <paramdef>void *(*<parameter>realloc_func</>)(void *p, size_t n)</paramdef> - <paramdef>void (*<parameter>free_func</>)(void *p)</paramdef> - </funcprototype> - <funcprototype> - <funcdef>void <function>gcry_set_outofcore_handler</></funcdef> - - <paramdef>int (*<parameter>h</>)( void*, size_t, unsigned int ), - void *opaque )</paramdef> - </funcprototype> - </funcsynopsis> - </refsynopsisdiv> - - <refsect1><title>Description</title> - <para> - <indexterm><primary>gcry_set_allocation_handler</primary></indexterm> - <indexterm><primary>gcry_set_outofcore_handler</primary></indexterm> - - FIXME - </para> -</refentry> - - -<refentry> - <refnamediv> - <refname>gcry_set_fatalerror_handler</refname> - <refpurpose>change the default fatal error handler</refpurpose> - </refnamediv> - - <refsynopsisdiv> - <funcsynopsis> - <funcsynopsisinfo> - #include <gcrypt.h> - </funcsynopsisinfo> - <funcprototype> - <funcdef>void <function>gcry_set_fatalerror_handler</></funcdef> - <paramdef>void (*<parameter>func</>)( - void *, int, const char*)</paramdef> - <paramdef>void *<parameter>opaque</></paramdef> - </funcprototype> - </funcsynopsis> - </refsynopsisdiv> - - <refsect1><title>Description</title> - <para> - <indexterm><primary>gcry_set_fatalerror_handler</primary></indexterm> - At certain places the &libgcrypt; may need to call a fatal error fucntion - which does terminate the process. To allow an application to do - some emergency cleanup, it may register a fatal error handler with - the library. This handler is assumed to terminate the application; - however if it returns &libgcrypt; will abort anyway. - </para> - <para> -The handler is called with the opaque value registered here, an -errorcode from &libgcrypt; and some descriptive text string. - </para> -</refentry> - - -<refentry> - <refnamediv> - <refname>gcry_set_gettext_handler</refname> - <refpurpose>Change the default gettext function</refpurpose> - </refnamediv> - - <refsynopsisdiv> - <funcsynopsis> - <funcsynopsisinfo> - #include <gcrypt.h> - </funcsynopsisinfo> - <funcprototype> - <funcdef>void <function>gcry_set_gettext_handler</></funcdef> - <paramdef>const char *(*<parameter>func</>)(const char*)</paramdef> - <paramdef>void *<parameter>opaque</></paramdef> - </funcprototype> - </funcsynopsis> - </refsynopsisdiv> - - <refsect1><title>Description</title> - <para> - <indexterm><primary>gcry_set_log_handler</primary></indexterm> - FIXME!! - </para> -</refentry> - - - -<!-- -void gcry_set_log_handler( void (*f)(void*,int, const char*, va_list ), - void - *opaque - ); ---> - -<refentry> - <refnamediv> - <refname>gcry_set_log_handler</refname> - <refpurpose>Change the default logging function</refpurpose> - </refnamediv> - - <refsynopsisdiv> - <funcsynopsis> - <funcsynopsisinfo> - #include <gcrypt.h> - </funcsynopsisinfo> - <funcprototype> - <funcdef>void <function>gcry_set_log_handler</></funcdef> - <paramdef>void (*<parameter>func</>) - (void*, int, const char*, va_list)</paramdef> - <paramdef>void *<parameter>opaque</></paramdef> - </funcprototype> - </funcsynopsis> - </refsynopsisdiv> - - <refsect1><title>Description</title> - <para> - <indexterm><primary>gcry_set_log_handler</primary></indexterm> - &libgcrypt; has it;s own logging functions. Applications which - need to use their own, should provide a log function to &libgcrypt; -so that it will use this function instead. - -Fixme: Describe how this is intended to work. - </para> -</refentry> - -<!-- -void *gcry_malloc( size_t n ); -void *gcry_calloc( size_t n, size_t m ); -void *gcry_malloc_secure( size_t n ); -void *gcry_calloc_secure( size_t n, size_t m ); -void *gcry_realloc( void *a, size_t n ); -void *gcry_xmalloc( size_t n ); -void *gcry_xcalloc( size_t n, size_t m ); -void *gcry_xmalloc_secure( size_t n ); -void *gcry_xcalloc_secure( size_t n, size_t m ); -void *gcry_xrealloc( void *a, size_t n ); -char *gcry_xstrdup( const char * a); -void gcry_free( void *a ); -int gcry_is_secure( const void *a ); ---> - -<refentry> - <refnamediv> - <refname>gcry_malloc</refname> - <refname>gcry_calloc</refname> - <refname>gcry_malloc_secure</refname> - <refname>gcry_calloc_secure</refname> - <refname>gcry_realloc</refname> - <refname>gcry_xmalloc</refname> - <refname>gcry_xcalloc</refname> - <refname>gcry_xmalloc_secure</refname> - <refname>gcry_xcalloc_secure</refname> - <refname>gcry_xrealloc</refname> - <refname>gcry_xstrdup</refname> - - <!-- WORk WORK --> - <refname>gcry_malloc</refname> - <refname>gcry_malloc</refname> - - <refpurpose>Change the default logging function</refpurpose> - </refnamediv> - - <refsynopsisdiv> - <funcsynopsis> - <funcsynopsisinfo> - #include <gcrypt.h> - </funcsynopsisinfo> - <funcprototype> - <funcdef>void <function>gcry_set_log_handler</></funcdef> - <paramdef>void (*<parameter>func</>) - (void*, int, const char*, va_list)</paramdef> - <paramdef>void *<parameter>opaque</></paramdef> - </funcprototype> - </funcsynopsis> - </refsynopsisdiv> - - <refsect1><title>Description</title> - <para> - <indexterm><primary>gcry_set_log_handler</primary></indexterm> - &libgcrypt; has it;s own logging functions. Applications which - need to use their own, should provide a log function to &libgcrypt; -so that it will use this function instead. - -Fixme: Describe how this is intended to work. - </para> -</refentry> - - +@c <funcprototype> +@c <funcdef>int <function>gcry_control</function></funcdef> +@c <paramdef>enum gcry_ctl_cmds<parameter>cmd</parameter></paramdef> +@c <paramdef><parameter>...</parameter></paramdef> +@c </funcprototype> +@c </funcsynopsis> +@c </refsynopsisdiv> +@c +@c <refsect1><title>Description</title> +@c <para> +@c <indexterm><primary>gcry_control</primary></indexterm> +@c This function is used to control various aspects of &libgcrypt; +@c FIXME: Explain all commands here. +@c </para> +@c </refentry> +@c +@c +@c +@c +@c +@c <refentry> +@c <refnamediv> +@c <refname>gcry_set_allocation_handler</refname> +@c <refname>gcry_set_outofcore_handler</refname> +@c <refpurpose>Use application defined malloc functions</refpurpose> +@c </refnamediv> +@c +@c <refsynopsisdiv> +@c <funcsynopsis> +@c <funcsynopsisinfo> +@c #include <gcrypt.h> +@c </funcsynopsisinfo> +@c <funcprototype> +@c <funcdef>void <function>gcry_set_allocation_handler</></funcdef> +@c <paramdef>void *(*<parameter>alloc_func</>)(size_t n)</paramdef> +@c <paramdef>void *(*<parameter>alloc_secure_func</>)(size_t n)</paramdef> +@c <paramdef>int (*<parameter>is_secure_func</>)(const void *p)</paramdef> +@c <paramdef>void *(*<parameter>realloc_func</>)(void *p, size_t n)</paramdef> +@c <paramdef>void (*<parameter>free_func</>)(void *p)</paramdef> +@c </funcprototype> +@c <funcprototype> +@c <funcdef>void <function>gcry_set_outofcore_handler</></funcdef> +@c +@c <paramdef>int (*<parameter>h</>)( void*, size_t, unsigned int ), +@c void *opaque )</paramdef> +@c </funcprototype> +@c </funcsynopsis> +@c </refsynopsisdiv> +@c +@c <refsect1><title>Description</title> +@c <para> +@c <indexterm><primary>gcry_set_allocation_handler</primary></indexterm> +@c <indexterm><primary>gcry_set_outofcore_handler</primary></indexterm> +@c +@c FIXME +@c </para> +@c </refentry> +@c +@c +@c <refentry> +@c <refnamediv> +@c <refname>gcry_set_fatalerror_handler</refname> +@c <refpurpose>change the default fatal error handler</refpurpose> +@c </refnamediv> +@c +@c <refsynopsisdiv> +@c <funcsynopsis> +@c <funcsynopsisinfo> +@c #include <gcrypt.h> +@c </funcsynopsisinfo> +@c <funcprototype> +@c <funcdef>void <function>gcry_set_fatalerror_handler</></funcdef> +@c <paramdef>void (*<parameter>func</>)( +@c void *, int, const char*)</paramdef> +@c <paramdef>void *<parameter>opaque</></paramdef> +@c </funcprototype> +@c </funcsynopsis> +@c </refsynopsisdiv> +@c +@c <refsect1><title>Description</title> +@c <para> +@c <indexterm><primary>gcry_set_fatalerror_handler</primary></indexterm> +@c At certain places the &libgcrypt; may need to call a fatal error fucntion +@c which does terminate the process. To allow an application to do +@c some emergency cleanup, it may register a fatal error handler with +@c the library. This handler is assumed to terminate the application; +@c however if it returns &libgcrypt; will abort anyway. +@c </para> +@c <para> +@c The handler is called with the opaque value registered here, an +@c errorcode from &libgcrypt; and some descriptive text string. +@c </para> +@c </refentry> +@c +@c +@c <refentry> +@c <refnamediv> +@c <refname>gcry_set_gettext_handler</refname> +@c <refpurpose>Change the default gettext function</refpurpose> +@c </refnamediv> +@c +@c <refsynopsisdiv> +@c <funcsynopsis> +@c <funcsynopsisinfo> +@c #include <gcrypt.h> +@c </funcsynopsisinfo> +@c <funcprototype> +@c <funcdef>void <function>gcry_set_gettext_handler</></funcdef> +@c <paramdef>const char *(*<parameter>func</>)(const char*)</paramdef> +@c <paramdef>void *<parameter>opaque</></paramdef> +@c </funcprototype> +@c </funcsynopsis> +@c </refsynopsisdiv> +@c +@c <refsect1><title>Description</title> +@c <para> +@c <indexterm><primary>gcry_set_log_handler</primary></indexterm> +@c FIXME!! +@c </para> +@c </refentry> +@c +@c +@c +@c <!-- +@c void gcry_set_log_handler( void (*f)(void*,int, const char*, va_list ), +@c void +@c *opaque +@c ); +@c --> +@c +@c <refentry> +@c <refnamediv> +@c <refname>gcry_set_log_handler</refname> +@c <refpurpose>Change the default logging function</refpurpose> +@c </refnamediv> +@c +@c <refsynopsisdiv> +@c <funcsynopsis> +@c <funcsynopsisinfo> +@c #include <gcrypt.h> +@c </funcsynopsisinfo> +@c <funcprototype> +@c <funcdef>void <function>gcry_set_log_handler</></funcdef> +@c <paramdef>void (*<parameter>func</>) +@c (void*, int, const char*, va_list)</paramdef> +@c <paramdef>void *<parameter>opaque</></paramdef> +@c </funcprototype> +@c </funcsynopsis> +@c </refsynopsisdiv> +@c +@c <refsect1><title>Description</title> +@c <para> +@c <indexterm><primary>gcry_set_log_handler</primary></indexterm> +@c &libgcrypt; has it;s own logging functions. Applications which +@c need to use their own, should provide a log function to &libgcrypt; +@c so that it will use this function instead. +@c +@c Fixme: Describe how this is intended to work. +@c </para> +@c </refentry> +@c +@c <!-- +@c void *gcry_malloc( size_t n ); +@c void *gcry_calloc( size_t n, size_t m ); +@c void *gcry_malloc_secure( size_t n ); +@c void *gcry_calloc_secure( size_t n, size_t m ); +@c void *gcry_realloc( void *a, size_t n ); +@c void *gcry_xmalloc( size_t n ); +@c void *gcry_xcalloc( size_t n, size_t m ); +@c void *gcry_xmalloc_secure( size_t n ); +@c void *gcry_xcalloc_secure( size_t n, size_t m ); +@c void *gcry_xrealloc( void *a, size_t n ); +@c char *gcry_xstrdup( const char * a); +@c void gcry_free( void *a ); +@c int gcry_is_secure( const void *a ); +@c --> +@c +@c <refentry> +@c <refnamediv> +@c <refname>gcry_malloc</refname> +@c <refname>gcry_calloc</refname> +@c <refname>gcry_malloc_secure</refname> +@c <refname>gcry_calloc_secure</refname> +@c <refname>gcry_realloc</refname> +@c <refname>gcry_xmalloc</refname> +@c <refname>gcry_xcalloc</refname> +@c <refname>gcry_xmalloc_secure</refname> +@c <refname>gcry_xcalloc_secure</refname> +@c <refname>gcry_xrealloc</refname> +@c <refname>gcry_xstrdup</refname> +@c +@c <!-- WORk WORK --> +@c <refname>gcry_malloc</refname> +@c <refname>gcry_malloc</refname> +@c +@c <refpurpose>Change the default logging function</refpurpose> +@c </refnamediv> +@c +@c <refsynopsisdiv> +@c <funcsynopsis> +@c <funcsynopsisinfo> +@c #include <gcrypt.h> +@c </funcsynopsisinfo> +@c <funcprototype> +@c <funcdef>void <function>gcry_set_log_handler</></funcdef> +@c <paramdef>void (*<parameter>func</>) +@c (void*, int, const char*, va_list)</paramdef> +@c <paramdef>void *<parameter>opaque</></paramdef> +@c </funcprototype> +@c </funcsynopsis> +@c </refsynopsisdiv> +@c +@c <refsect1><title>Description</title> +@c <para> +@c <indexterm><primary>gcry_set_log_handler</primary></indexterm> +@c &libgcrypt; has it;s own logging functions. Applications which +@c need to use their own, should provide a log function to &libgcrypt; +@c so that it will use this function instead. +@c +@c Fixme: Describe how this is intended to work. +@c </para> +@c </refentry> +@c +@c @c ********************************************************** @@ -1203,14 +1190,42 @@ Fixme: Describe how this is intended to work. @node Error Handling @chapter Error Handling +Most functions in `Libgcrypt' are returning an error if they fail. For +this reason, the application should always catch the error condition and +take appropriate measures, for example by releasing the resources and +passing the error up to the caller, or by displaying a descriptive +message to the user and cancelling the operation. + +Some error values do not indicate a system error or an error in the +operation, but the result of an operation that failed properly. + @menu -* Error values:: -* Error strings:: +* Error values:: A list of all error values used. +* Error strings:: How to get a descriptive string from a value. @end menu @node Error values @section Error values +Errors are return as an @code{int} +Except for the EOF and No_Error cases an application should always +use the constants. Possible values are: + +@table @code +@item GCRYERR_EOF +This value indicates the end of a list, buffer or file and is defined to have +the value @code{-1}. + +@item GCRYERR_SUCCESS +This value indicates success. The value of this error is @code{0}. + +@item GCRYERR_GENERAL +This value means that something went wrong, but either there is not +enough information about the problem to return a more useful error +value, or there is no seperate error value for this type of problem. + +@end table + @node Error strings @section Error strings @@ -1229,6 +1244,8 @@ message to the user. @c ******************* Appendices ************************* @c ********************************************************** +@include lgpl.texi + @include gpl.texi @include fdl.texi @@ -1246,3 +1263,4 @@ message to the user. @summarycontents @contents @bye + diff --git a/doc/lgpl.texi b/doc/lgpl.texi new file mode 100644 index 00000000..ce836289 --- /dev/null +++ b/doc/lgpl.texi @@ -0,0 +1,565 @@ +@node Library Copying +@appendix GNU LESSER GENERAL PUBLIC LICENSE + +@cindex LGPL, Lesser General Public License +@center Version 2.1, February 1999 + +@display +Copyright @copyright{} 1991, 1999 Free Software Foundation, Inc. +59 Temple Place -- Suite 330, Boston, MA 02111-1307, USA + +Everyone is permitted to copy and distribute verbatim copies +of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts +as the successor of the GNU Library Public License, version 2, hence the +version number 2.1.] +@end display + +@appendixsubsec Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software---to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software---typically libraries---of the Free +Software Foundation and other authors who decide to use it. You can use +it too, but we suggest you first think carefully about whether this +license or the ordinary General Public License is the better strategy to +use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of it +in new free programs; and that you are informed that you can do these +things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the @dfn{Lesser} General Public License because it +does @emph{Less} to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +``work based on the library'' and a ``work that uses the library''. The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + +@iftex +@appendixsubsec TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION +@end iftex +@ifinfo +@center GNU LESSER GENERAL PUBLIC LICENSE +@center TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION +@end ifinfo + +@enumerate 0 +@item +This License Agreement applies to any software library or other program +which contains a notice placed by the copyright holder or other +authorized party saying it may be distributed under the terms of this +Lesser General Public License (also called ``this License''). Each +licensee is addressed as ``you''. + + A ``library'' means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The ``Library'', below, refers to any such software library or work +which has been distributed under these terms. A ``work based on the +Library'' means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term ``modification''.) + + ``Source code'' for a work means the preferred form of the work for +making modifications to it. For a library, 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 library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + +@item +You may copy and distribute verbatim copies of the Library's +complete 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 distribute a copy of this License along with the +Library. + + 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. + +@item +You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + +@enumerate a +@item +The modified work must itself be a software library. + +@item +You must cause the files modified to carry prominent notices +stating that you changed the files and the date of any change. + +@item +You must cause the whole of the work to be licensed at no +charge to all third parties under the terms of this License. + +@item +If a facility in the modified Library refers to a function or a +table of data to be supplied by an application program that uses +the facility, other than as an argument passed when the facility +is invoked, then you must make a good faith effort to ensure that, +in the event an application does not supply such function or +table, the facility still operates, and performs whatever part of +its purpose remains meaningful. + +(For example, a function in a library to compute square roots has +a purpose that is entirely well-defined independent of the +application. Therefore, Subsection 2d requires that any +application-supplied function or table used by this function must +be optional: if the application does not supply it, the square +root function must still compute square roots.) +@end enumerate + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +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 Library, 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 Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + +@item +You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + +@item +You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you 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. + + If distribution of 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 satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + +@item +A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a ``work that uses the Library''. Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a ``work that uses the Library'' with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a ``work that uses the +library''. The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a ``work that uses the Library'' uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + +@item +As an exception to the Sections above, you may also combine or +link a ``work that uses the Library'' with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + +@enumerate a +@item +Accompany the work with the complete corresponding +machine-readable source code for the Library including whatever +changes were used in the work (which must be distributed under +Sections 1 and 2 above); and, if the work is an executable linked +with the Library, with the complete machine-readable ``work that +uses the Library'', as object code and/or source code, so that the +user can modify the Library and then relink to produce a modified +executable containing the modified Library. (It is understood +that the user who changes the contents of definitions files in the +Library will not necessarily be able to recompile the application +to use the modified definitions.) + +@item +Use a suitable shared library mechanism for linking with the Library. A +suitable mechanism is one that (1) uses at run time a copy of the +library already present on the user's computer system, rather than +copying library functions into the executable, and (2) will operate +properly with a modified version of the library, if the user installs +one, as long as the modified version is interface-compatible with the +version that the work was made with. + +@item +Accompany the work with a written offer, valid for at +least three years, to give the same user the materials +specified in Subsection 6a, above, for a charge no more +than the cost of performing this distribution. + +@item +If distribution of the work is made by offering access to copy +from a designated place, offer equivalent access to copy the above +specified materials from the same place. + +@item +Verify that the user has already received a copy of these +materials or that you have already sent this user a copy. +@end enumerate + + For an executable, the required form of the ``work that uses the +Library'' must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be 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. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + +@item +You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + +@enumerate a +@item +Accompany the combined library with a copy of the same work +based on the Library, uncombined with any other library +facilities. This must be distributed under the terms of the +Sections above. + +@item +Give prominent notice with the combined library of the fact +that part of it is a work based on the Library, and explaining +where to find the accompanying uncombined form of the same work. +@end enumerate + +@item +You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library 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. + +@item +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 Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + +@item +Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +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 with +this License. + +@item +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 Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library 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 Library. + +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. + +@item +If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library 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. + +@item +The Free Software Foundation may publish revised and/or new +versions of the Lesser 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 Library +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 Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + +@item +If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +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. + +@iftex +@heading NO WARRANTY +@end iftex +@ifinfo +@center NO WARRANTY +@end ifinfo + +@item +BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY ``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 +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +@item +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 LIBRARY 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 +LIBRARY (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 LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. +@end enumerate + +@iftex +@heading END OF TERMS AND CONDITIONS +@end iftex +@ifinfo +@center END OF TERMS AND CONDITIONS +@end ifinfo + +@page +@appendixsubsec How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +``copyright'' line and a pointer to where the full notice is found. + +@smallexample +@var{one line to give the library's name and an idea of what it does.} +Copyright (C) @var{year} @var{name of author} + +This library is free software; you can redistribute it and/or modify it +under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation; either version 2.1 of the License, or (at +your option) any later version. + +This library is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, +USA. +@end smallexample + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a ``copyright disclaimer'' for the library, if +necessary. Here is a sample; alter the names: + +@smallexample +Yoyodyne, Inc., hereby disclaims all copyright interest in the library +`Frob' (a library for tweaking knobs) written by James Random Hacker. + +@var{signature of Ty Coon}, 1 April 1990 +Ty Coon, President of Vice +@end smallexample + +That's all there is to it! diff --git a/libgcrypt.txt b/libgcrypt.txt index 1367761b..025391b3 100644 --- a/libgcrypt.txt +++ b/libgcrypt.txt @@ -21,11 +21,11 @@ random numbers and a lot of supporting functions. %%category: security, libraries -%%license: GPL +%%license: LGPL %%license verified by: %%license verified on: -%%maintainer: g10 Code GmbH <libgcrypt@g10code.com> +%%maintainer: g10 Code GmbH <wk@g10code.com> %%updated: 2001-06-01 diff --git a/mpi/ChangeLog b/mpi/ChangeLog index ca0402ae..acac69a9 100644 --- a/mpi/ChangeLog +++ b/mpi/ChangeLog @@ -1,3 +1,7 @@ +2002-05-14 Werner Koch <wk@gnupg.org> + + Changed license of all files to the LGPL. + 2002-04-18 Werner Koch <wk@gnupg.org> * mpicoder.c (gcry_mpi_scan): Don't use normalize on a NULL MPI. @@ -385,7 +389,7 @@ Mon Feb 16 13:00:27 1998 Werner Koch (wk@isil.d.shuttle.de) * config.links : Add detection of m68k cpus - Copyright 1998,1999,2000,2001 Free Software Foundation, Inc. + Copyright 1998,1999,2000,2001,2002 Free Software Foundation, Inc. This file is free software; as a special exception the author gives unlimited permission to copy and/or distribute it, with or without diff --git a/mpi/Makefile.am b/mpi/Makefile.am index b168f0d0..b1f31131 100644 --- a/mpi/Makefile.am +++ b/mpi/Makefile.am @@ -1,4 +1,21 @@ ## Process this file with automake to produce Makefile.in +# Copyright (C) 1992, 1999, 2000, 2002 Free Software Foundation, Inc. +# +# This file is part of Libgcrypt. +# +# Libgcrypt is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of +# the License, or (at your option) any later version. +# +# Libgcrypt is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA INCLUDES = -I$(top_srcdir)/src CFLAGS = @CFLAGS@ @MPI_OPT_FLAGS@ @@ -35,25 +52,38 @@ libmpi_la_SOURCES = longlong.h \ mpih-mul.c \ mpiutil.c +EXTRA_libmpi_la_SOURCES = \ + mpih-mul1.S \ + mpih-mul2.S \ + mpih-mul3.S \ + mpih-add1.S \ + mpih-sub1.S \ + mpih-lshift.S \ + mpih-rshift.S \ + udiv-qrnnd.S \ + udiv-w-sdiv.c \ + udiv.S + # Note this objects are actually links, the sourcefiles are # distributed by special code in dist-hook -common_asm_objects = mpih-mul1.lo \ - mpih-mul2.lo \ - mpih-mul3.lo \ - mpih-add1.lo \ - mpih-sub1.lo \ - mpih-lshift.lo \ - mpih-rshift.lo +common_asm_objects = \ + mpih-mul1.lo \ + mpih-mul2.lo \ + mpih-mul3.lo \ + mpih-add1.lo \ + mpih-sub1.lo \ + mpih-lshift.lo \ + mpih-rshift.lo libmpi_la_DEPENDENCIES = $(common_asm_objects) @MPI_EXTRA_ASM_OBJS@ libmpi_la_LIBADD = $(common_asm_objects) @MPI_EXTRA_ASM_OBJS@ # cancel the default rules used by libtool which do not really # work and add one to cpp .S files -.S.o: - -.S.lo: +#.S.o: +# +#.S.lo: .S.s: $(CPP) $(INCLUDES) $(DEFS) $< | grep -v '^#' >$*.s diff --git a/mpi/alpha/mpih-add1.S b/mpi/alpha/mpih-add1.S index 427d1abc..50dbb2b9 100644 --- a/mpi/alpha/mpih-add1.S +++ b/mpi/alpha/mpih-add1.S @@ -1,21 +1,21 @@ /* alpha add_n -- Add two limb vectors of the same length > 0 and store * sum in a third limb vector. - * Copyright (C) 1995, 1998, 2001 Free Software Foundation, Inc. + * Copyright (C) 1995, 1998, 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/alpha/mpih-lshift.S b/mpi/alpha/mpih-lshift.S index 54860e44..ded4b15c 100644 --- a/mpi/alpha/mpih-lshift.S +++ b/mpi/alpha/mpih-lshift.S @@ -1,22 +1,23 @@ /* alpha - left shift * - * Copyright (C) 1994, 1995, 1998, 2001 Free Software Foundation, Inc. + * Copyright (C) 1994, 1995, 1998, 2001, + * 2002 Free Software Foundation, Inc. * * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -24,8 +25,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ diff --git a/mpi/alpha/mpih-mul1.S b/mpi/alpha/mpih-mul1.S index 679d912e..cd91b104 100644 --- a/mpi/alpha/mpih-mul1.S +++ b/mpi/alpha/mpih-mul1.S @@ -2,22 +2,22 @@ * the result in a second limb vector. * * Copyright (C) 1992, 1994, 1995, 1998, - 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/alpha/mpih-mul2.S b/mpi/alpha/mpih-mul2.S index b64f5819..5eb6b98b 100644 --- a/mpi/alpha/mpih-mul2.S +++ b/mpi/alpha/mpih-mul2.S @@ -2,22 +2,22 @@ * the result to a second limb vector. * * Copyright (C) 1992, 1994, 1995, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/alpha/mpih-mul3.S b/mpi/alpha/mpih-mul3.S index f6d80f22..7d5d2afe 100644 --- a/mpi/alpha/mpih-mul3.S +++ b/mpi/alpha/mpih-mul3.S @@ -1,22 +1,22 @@ /* Alpha 21064 submul_1 -- Multiply a limb vector with a limb and * subtract the result from a second limb vector. * Copyright (C) 1992, 1994, 1995, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/alpha/mpih-rshift.S b/mpi/alpha/mpih-rshift.S index 8396b3cc..f0c98143 100644 --- a/mpi/alpha/mpih-rshift.S +++ b/mpi/alpha/mpih-rshift.S @@ -1,21 +1,21 @@ /* alpha rshift * Copyright (C) 1994, 1995, 1998, 1999, - * 2000, 2001 Free Software Foundation, Inc. + * 2000, 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GNUPG. + * This file is part of Libgcrypt. * - * GNUPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GNUPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -23,8 +23,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ diff --git a/mpi/alpha/mpih-sub1.S b/mpi/alpha/mpih-sub1.S index f245e5ce..9a644468 100644 --- a/mpi/alpha/mpih-sub1.S +++ b/mpi/alpha/mpih-sub1.S @@ -1,22 +1,22 @@ /* Alpha sub_n -- Subtract two limb vectors of the same length > 0 and * store difference in a third limb vector. * Copyright (C) 1995, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/alpha/udiv-qrnnd.S b/mpi/alpha/udiv-qrnnd.S index 0079c3ca..dd0c52d7 100644 --- a/mpi/alpha/udiv-qrnnd.S +++ b/mpi/alpha/udiv-qrnnd.S @@ -1,22 +1,22 @@ /* Alpha 21064 __udiv_qrnnd * * Copyright (C) 1992, 1994, 1995, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -24,8 +24,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ diff --git a/mpi/config.links b/mpi/config.links index 8c47cb90..1d8062ab 100644 --- a/mpi/config.links +++ b/mpi/config.links @@ -1,22 +1,22 @@ # config.links - helper for ../configure -# Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. +# Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. # # This file is part of Libgcrypt. # # Libgcrypt is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of +# the License, or (at your option) any later version. +# # Libgcrypt is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA - +# # sourced by ../configure to get the list of files to link # this should set $mpi_ln_list. # Note: this is called from the above directory. diff --git a/mpi/generic/mpih-add1.c b/mpi/generic/mpih-add1.c index 9d6c4b6e..5afd50cd 100644 --- a/mpi/generic/mpih-add1.c +++ b/mpi/generic/mpih-add1.c @@ -1,21 +1,21 @@ /* mpihelp-add_1.c - MPI helper functions * Copyright (C) 1994, 1996, 1997, 1998, - * 2000 Free Software Foundation, Inc. + * 2000, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -23,8 +23,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ #include <config.h> diff --git a/mpi/generic/mpih-lshift.c b/mpi/generic/mpih-lshift.c index ed8d4033..e31f1937 100644 --- a/mpi/generic/mpih-lshift.c +++ b/mpi/generic/mpih-lshift.c @@ -1,20 +1,20 @@ /* mpihelp-lshift.c - MPI helper functions - * Copyright (C) 1994, 1996, 1998, 2001 Free Software Foundation, Inc. + * Copyright (C) 1994, 1996, 1998, 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -22,8 +22,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ #include <config.h> diff --git a/mpi/generic/mpih-mul1.c b/mpi/generic/mpih-mul1.c index 61ecacb2..9ab57ff9 100644 --- a/mpi/generic/mpih-mul1.c +++ b/mpi/generic/mpih-mul1.c @@ -1,20 +1,21 @@ /* mpihelp-mul_1.c - MPI helper functions - * Copyright (C) 1994, 1996, 1997, 1998, 2001 Free Software Foundation, Inc. + * Copyright (C) 1994, 1996, 1997, 1998, 2001, + * 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -22,8 +23,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ #include <config.h> diff --git a/mpi/generic/mpih-mul2.c b/mpi/generic/mpih-mul2.c index 4511b42b..e43151e8 100644 --- a/mpi/generic/mpih-mul2.c +++ b/mpi/generic/mpih-mul2.c @@ -1,20 +1,21 @@ /* mpihelp-mul_2.c - MPI helper functions - * Copyright (C) 1994, 1996, 1997, 1998, 2001 Free Software Foundation, Inc. + * Copyright (C) 1994, 1996, 1997, 1998, 2001, + * 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -22,8 +23,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ #include <config.h> diff --git a/mpi/generic/mpih-mul3.c b/mpi/generic/mpih-mul3.c index 76b73190..65f7a751 100644 --- a/mpi/generic/mpih-mul3.c +++ b/mpi/generic/mpih-mul3.c @@ -1,20 +1,21 @@ /* mpihelp-mul_3.c - MPI helper functions - * Copyright (C) 1994, 1996, 1997, 1998, 2001 Free Software Foundation, Inc. + * Copyright (C) 1994, 1996, 1997, 1998, 2001, + * 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -22,8 +23,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ #include <config.h> diff --git a/mpi/generic/mpih-rshift.c b/mpi/generic/mpih-rshift.c index 142dadb4..eacc0342 100644 --- a/mpi/generic/mpih-rshift.c +++ b/mpi/generic/mpih-rshift.c @@ -1,21 +1,21 @@ /* mpih-rshift.c - MPI helper functions * Copyright (C) 1994, 1996, 1998, 1999, - * 2000, 2001 Free Software Foundation, Inc. + * 2000, 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GNUPG + * This file is part of Libgcrypt. * - * GNUPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GNUPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -23,8 +23,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ #include <config.h> diff --git a/mpi/generic/mpih-sub1.c b/mpi/generic/mpih-sub1.c index cd3828c0..2472ed5c 100644 --- a/mpi/generic/mpih-sub1.c +++ b/mpi/generic/mpih-sub1.c @@ -1,20 +1,21 @@ /* mpihelp-add_2.c - MPI helper functions - * Copyright (C) 1994, 1996, 1997, 1998, 2001 Free Software Foundation, Inc. + * Copyright (C) 1994, 1996, 1997, 1998, 2001, + * 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -22,8 +23,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ #include <config.h> diff --git a/mpi/generic/udiv-w-sdiv.c b/mpi/generic/udiv-w-sdiv.c index dd028503..b49c07f3 100644 --- a/mpi/generic/udiv-w-sdiv.c +++ b/mpi/generic/udiv-w-sdiv.c @@ -1,22 +1,22 @@ /* mpihelp_udiv_w_sdiv -- implement udiv_qrnnd on machines with only signed * division. - * Copyright (C) 1992, 1994, 1996, 1998 Free Software Foundation, Inc. + * Copyright (C) 1992, 1994, 1996, 1998, 2002 Free Software Foundation, Inc. * Contributed by Peter L. Montgomery. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/hppa/mpih-add1.S b/mpi/hppa/mpih-add1.S index af2981c5..3bc0e5e1 100644 --- a/mpi/hppa/mpih-add1.S +++ b/mpi/hppa/mpih-add1.S @@ -2,22 +2,22 @@ * sum in a third limb vector. * * Copyright (C) 1992, 1994, 1998, - * 2001 Fee Software Foundation, Inc. + * 2001, 2002 Fee Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -25,8 +25,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ diff --git a/mpi/hppa/mpih-lshift.S b/mpi/hppa/mpih-lshift.S index cec0554c..91b29bb6 100644 --- a/mpi/hppa/mpih-lshift.S +++ b/mpi/hppa/mpih-lshift.S @@ -1,22 +1,22 @@ /* hppa lshift * * Copyright (C) 1992, 1994, 1998 - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/hppa/mpih-rshift.S b/mpi/hppa/mpih-rshift.S index ec020fc4..37a9d4ef 100644 --- a/mpi/hppa/mpih-rshift.S +++ b/mpi/hppa/mpih-rshift.S @@ -1,22 +1,22 @@ /* hppa rshift * * Copyright (C) 1992, 1994, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/hppa/mpih-sub1.S b/mpi/hppa/mpih-sub1.S index 6ea1049a..8d197e41 100644 --- a/mpi/hppa/mpih-sub1.S +++ b/mpi/hppa/mpih-sub1.S @@ -2,22 +2,22 @@ * sum in a third limb vector. * * Copyright (C) 1992, 1994, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -25,8 +25,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ diff --git a/mpi/hppa/udiv-qrnnd.S b/mpi/hppa/udiv-qrnnd.S index c8a52412..59ebf7a0 100644 --- a/mpi/hppa/udiv-qrnnd.S +++ b/mpi/hppa/udiv-qrnnd.S @@ -1,22 +1,23 @@ /* HP-PA __udiv_qrnnd division support, used from longlong.h. * This version runs fast on pre-PA7000 CPUs. * - * Copyright (C) 1993, 1994, 1998, 2001 Free Software Foundation, Inc. + * Copyright (C) 1993, 1994, 1998, 2001, + * 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -24,8 +25,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ diff --git a/mpi/hppa1.1/mpih-mul1.S b/mpi/hppa1.1/mpih-mul1.S index b082ab16..93166e3c 100644 --- a/mpi/hppa1.1/mpih-mul1.S +++ b/mpi/hppa1.1/mpih-mul1.S @@ -2,22 +2,22 @@ * the result in a second limb vector. * * Copyright (C) 1992, 1993, 1994, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -25,8 +25,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ diff --git a/mpi/hppa1.1/mpih-mul2.S b/mpi/hppa1.1/mpih-mul2.S index 6a5ba5b8..84b9d4ab 100644 --- a/mpi/hppa1.1/mpih-mul2.S +++ b/mpi/hppa1.1/mpih-mul2.S @@ -2,22 +2,22 @@ * the result to a second limb vector. * * Copyright (C) 1992, 1993, 1994, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -25,8 +25,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ diff --git a/mpi/hppa1.1/mpih-mul3.S b/mpi/hppa1.1/mpih-mul3.S index 61bbd2e0..c4246e47 100644 --- a/mpi/hppa1.1/mpih-mul3.S +++ b/mpi/hppa1.1/mpih-mul3.S @@ -2,22 +2,22 @@ * the result to a second limb vector. * * Copyright (C) 1992, 1993, 1994, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -25,8 +25,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ diff --git a/mpi/hppa1.1/udiv-qrnnd.S b/mpi/hppa1.1/udiv-qrnnd.S index a1643d70..75908aa5 100644 --- a/mpi/hppa1.1/udiv-qrnnd.S +++ b/mpi/hppa1.1/udiv-qrnnd.S @@ -2,22 +2,22 @@ * This version runs fast on PA 7000 and later. * * Copyright (C) 1993, 1994, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -25,8 +25,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ diff --git a/mpi/i386/mpih-add1.S b/mpi/i386/mpih-add1.S index 7bc1a1bf..652b2321 100644 --- a/mpi/i386/mpih-add1.S +++ b/mpi/i386/mpih-add1.S @@ -2,22 +2,22 @@ * sum in a third limb vector. * * Copyright (C) 1992, 1994, 1995, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -25,8 +25,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ diff --git a/mpi/i386/mpih-lshift.S b/mpi/i386/mpih-lshift.S index fdca0252..417caf15 100644 --- a/mpi/i386/mpih-lshift.S +++ b/mpi/i386/mpih-lshift.S @@ -1,21 +1,21 @@ /* i80386 lshift * Copyright (C) 1992, 1994, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -23,8 +23,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ diff --git a/mpi/i386/mpih-mul1.S b/mpi/i386/mpih-mul1.S index 2a4426a9..c9760ef9 100644 --- a/mpi/i386/mpih-mul1.S +++ b/mpi/i386/mpih-mul1.S @@ -1,22 +1,22 @@ /* i80386 mul_1 -- Multiply a limb vector with a limb and store * the result in a second limb vector. * Copyright (C) 1992, 1994, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -24,8 +24,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ diff --git a/mpi/i386/mpih-mul2.S b/mpi/i386/mpih-mul2.S index 842a5edb..9794e110 100644 --- a/mpi/i386/mpih-mul2.S +++ b/mpi/i386/mpih-mul2.S @@ -2,22 +2,22 @@ * the result to a second limb vector. * * Copyright (C) 1992, 1994, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -25,8 +25,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ diff --git a/mpi/i386/mpih-mul3.S b/mpi/i386/mpih-mul3.S index 8e091e04..6df20176 100644 --- a/mpi/i386/mpih-mul3.S +++ b/mpi/i386/mpih-mul3.S @@ -2,22 +2,22 @@ * the result to a second limb vector. * * Copyright (C) 1992, 1994, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -25,8 +25,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ diff --git a/mpi/i386/mpih-rshift.S b/mpi/i386/mpih-rshift.S index 9d5e4ac9..456c348c 100644 --- a/mpi/i386/mpih-rshift.S +++ b/mpi/i386/mpih-rshift.S @@ -1,22 +1,22 @@ /* i80386 rshift * * Copyright (C) 1992, 1994, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -24,8 +24,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ diff --git a/mpi/i386/mpih-sub1.S b/mpi/i386/mpih-sub1.S index 28e1fa09..f447f7a6 100644 --- a/mpi/i386/mpih-sub1.S +++ b/mpi/i386/mpih-sub1.S @@ -2,22 +2,22 @@ * sum in a third limb vector. * * Copyright (C) 1992, 1994, 1995, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -25,8 +25,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ diff --git a/mpi/i386/syntax.h b/mpi/i386/syntax.h index 5a2c7b23..39ede988 100644 --- a/mpi/i386/syntax.h +++ b/mpi/i386/syntax.h @@ -1,20 +1,22 @@ /* syntax.h -- Definitions for x86 syntax variations. * * Copyright (C) 1992, 1994, 1995, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * This file is part of Libgcrypt. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -22,8 +24,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ #undef ALIGN diff --git a/mpi/i586/mpih-add1.S b/mpi/i586/mpih-add1.S index cca32d91..7436d592 100644 --- a/mpi/i586/mpih-add1.S +++ b/mpi/i586/mpih-add1.S @@ -2,22 +2,22 @@ * sum in a third limb vector. * * Copyright (C) 1992, 1994, 1995, 1996, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/i586/mpih-lshift.S b/mpi/i586/mpih-lshift.S index dcdb4b06..9d25fe9d 100644 --- a/mpi/i586/mpih-lshift.S +++ b/mpi/i586/mpih-lshift.S @@ -1,22 +1,22 @@ /* i80586 lshift * * Copyright (C) 1992, 1994, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -24,8 +24,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ diff --git a/mpi/i586/mpih-mul1.S b/mpi/i586/mpih-mul1.S index ea85320b..3601d968 100644 --- a/mpi/i586/mpih-mul1.S +++ b/mpi/i586/mpih-mul1.S @@ -2,22 +2,22 @@ * the result in a second limb vector. * * Copyright (C) 1992, 1994, 1996, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -25,8 +25,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ diff --git a/mpi/i586/mpih-mul2.S b/mpi/i586/mpih-mul2.S index 4253ad77..f32d363a 100644 --- a/mpi/i586/mpih-mul2.S +++ b/mpi/i586/mpih-mul2.S @@ -2,22 +2,22 @@ * the result to a second limb vector. * * Copyright (C) 1992, 1994, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -25,8 +25,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ diff --git a/mpi/i586/mpih-mul3.S b/mpi/i586/mpih-mul3.S index 3f86d708..fa27d4e1 100644 --- a/mpi/i586/mpih-mul3.S +++ b/mpi/i586/mpih-mul3.S @@ -2,22 +2,22 @@ * the result to a second limb vector. * * Copyright (C) 1992, 1994, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -25,8 +25,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ diff --git a/mpi/i586/mpih-rshift.S b/mpi/i586/mpih-rshift.S index 3b1e8f47..c661e3d3 100644 --- a/mpi/i586/mpih-rshift.S +++ b/mpi/i586/mpih-rshift.S @@ -1,22 +1,22 @@ /* i80586 rshift * * Copyright (C) 1992, 1994, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -24,8 +24,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ diff --git a/mpi/i586/mpih-sub1.S b/mpi/i586/mpih-sub1.S index 0c4838bd..ef2d5807 100644 --- a/mpi/i586/mpih-sub1.S +++ b/mpi/i586/mpih-sub1.S @@ -2,22 +2,22 @@ * sum in a third limb vector. * * Copyright (C) 1992, 1994, 1995, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -25,8 +25,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ diff --git a/mpi/m68k/mc68020/mpih-mul1.S b/mpi/m68k/mc68020/mpih-mul1.S index b4181a9c..007c94c6 100644 --- a/mpi/m68k/mc68020/mpih-mul1.S +++ b/mpi/m68k/mc68020/mpih-mul1.S @@ -2,22 +2,22 @@ * the result in a second limb vector. * * Copyright (C) 1992, 1994, 1996, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -25,8 +25,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ diff --git a/mpi/m68k/mc68020/mpih-mul2.S b/mpi/m68k/mc68020/mpih-mul2.S index b2f9e7cc..44baa8d8 100644 --- a/mpi/m68k/mc68020/mpih-mul2.S +++ b/mpi/m68k/mc68020/mpih-mul2.S @@ -2,22 +2,22 @@ * the result to a second limb vector. * * Copyright (C) 1992, 1994, 1996, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -25,8 +25,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ diff --git a/mpi/m68k/mc68020/mpih-mul3.S b/mpi/m68k/mc68020/mpih-mul3.S index f72a8120..e958ef61 100644 --- a/mpi/m68k/mc68020/mpih-mul3.S +++ b/mpi/m68k/mc68020/mpih-mul3.S @@ -2,22 +2,22 @@ * the result from a second limb vector. * * Copyright (C) 1992, 1994, 1996, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -25,8 +25,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ diff --git a/mpi/m68k/mpih-add1.S b/mpi/m68k/mpih-add1.S index e05f89cd..8182d21a 100644 --- a/mpi/m68k/mpih-add1.S +++ b/mpi/m68k/mpih-add1.S @@ -2,22 +2,22 @@ * sum in a third limb vector. * * Copyright (C) 1992, 1994,1996, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -25,8 +25,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ diff --git a/mpi/m68k/mpih-lshift.S b/mpi/m68k/mpih-lshift.S index c7e485a4..133d1aae 100644 --- a/mpi/m68k/mpih-lshift.S +++ b/mpi/m68k/mpih-lshift.S @@ -1,21 +1,21 @@ /* mc68020 lshift -- Shift left a low-level natural-number integer. * - * Copyright (C) 1996, 1998, 2001 Free Software Foundation, Inc. + * Copyright (C) 1996, 1998, 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -23,8 +23,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ diff --git a/mpi/m68k/mpih-rshift.S b/mpi/m68k/mpih-rshift.S index d9be3e0d..be9f4350 100644 --- a/mpi/m68k/mpih-rshift.S +++ b/mpi/m68k/mpih-rshift.S @@ -1,21 +1,21 @@ /* mc68020 rshift -- Shift right a low-level natural-number integer. * - * Copyright (C) 1996, 1998, 2001 Free Software Foundation, Inc. + * Copyright (C) 1996, 1998, 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -23,8 +23,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ diff --git a/mpi/m68k/mpih-sub1.S b/mpi/m68k/mpih-sub1.S index 945b8d24..ee7555f8 100644 --- a/mpi/m68k/mpih-sub1.S +++ b/mpi/m68k/mpih-sub1.S @@ -2,22 +2,22 @@ * store difference in a third limb vector. * * Copyright (C) 1992, 1994, 1996, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -25,8 +25,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ #include "sysdep.h" diff --git a/mpi/m68k/syntax.h b/mpi/m68k/syntax.h index 316518fe..e27de98b 100644 --- a/mpi/m68k/syntax.h +++ b/mpi/m68k/syntax.h @@ -1,22 +1,22 @@ /* asm.h -- Definitions for 68k syntax variations. * * Copyright (C) 1992, 1994, 1996, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -24,8 +24,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ diff --git a/mpi/mips3/mpih-add1.S b/mpi/mips3/mpih-add1.S index 8b329240..f3db029d 100644 --- a/mpi/mips3/mpih-add1.S +++ b/mpi/mips3/mpih-add1.S @@ -2,22 +2,22 @@ * sum in a third limb vector. * * Copyright (C) 1995, 1998, 2000 - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/mips3/mpih-lshift.S b/mpi/mips3/mpih-lshift.S index 421fe649..084c109b 100644 --- a/mpi/mips3/mpih-lshift.S +++ b/mpi/mips3/mpih-lshift.S @@ -1,22 +1,22 @@ /* mips3 lshift * * Copyright (C) 1995, 1998, 2000, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/mips3/mpih-mul1.S b/mpi/mips3/mpih-mul1.S index 99557374..6c0099de 100644 --- a/mpi/mips3/mpih-mul1.S +++ b/mpi/mips3/mpih-mul1.S @@ -2,22 +2,22 @@ * the result in a second limb vector. * * Copyright (C) 1992, 1994, 1995, 1998, 2000 - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/mips3/mpih-mul2.S b/mpi/mips3/mpih-mul2.S index a58e4446..ca827638 100644 --- a/mpi/mips3/mpih-mul2.S +++ b/mpi/mips3/mpih-mul2.S @@ -2,22 +2,22 @@ * add the product to a second limb vector. * * Copyright (C) 1992, 1994, 1995, 1998, 2000 - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/mips3/mpih-mul3.S b/mpi/mips3/mpih-mul3.S index 3410c009..be421a68 100644 --- a/mpi/mips3/mpih-mul3.S +++ b/mpi/mips3/mpih-mul3.S @@ -2,22 +2,22 @@ * subtract the product from a second limb vector. * * Copyright (C) 1992, 1994, 1995, 1998, 2000 - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/mips3/mpih-rshift.S b/mpi/mips3/mpih-rshift.S index 8b43aab5..e7e035a0 100644 --- a/mpi/mips3/mpih-rshift.S +++ b/mpi/mips3/mpih-rshift.S @@ -1,22 +1,22 @@ /* mips3 rshift * * Copyright (C) 1995, 1998, 2000 - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/mips3/mpih-sub1.S b/mpi/mips3/mpih-sub1.S index 5af10716..9fac6743 100644 --- a/mpi/mips3/mpih-sub1.S +++ b/mpi/mips3/mpih-sub1.S @@ -2,22 +2,22 @@ * store difference in a third limb vector. * * Copyright (C) 1995, 1998, 1999, 2000, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/mpi-add.c b/mpi/mpi-add.c index cb9031b6..56f5de0c 100644 --- a/mpi/mpi-add.c +++ b/mpi/mpi-add.c @@ -1,20 +1,20 @@ /* mpi-add.c - MPI functions - * Copyright (C) 1994, 1996, 1998, 2001 Free Software Foundation, Inc. + * Copyright (C) 1994, 1996, 1998, 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -22,8 +22,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ #include <config.h> diff --git a/mpi/mpi-bit.c b/mpi/mpi-bit.c index d9c2f6c3..1949a40a 100644 --- a/mpi/mpi-bit.c +++ b/mpi/mpi-bit.c @@ -1,20 +1,20 @@ /* mpi-bit.c - MPI bit level fucntions - * Copyright (C) 1998, 1999, 2001 Free Software Foundation, Inc. + * Copyright (C) 1998, 1999, 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/mpi-cmp.c b/mpi/mpi-cmp.c index 485b147c..8d9ae71d 100644 --- a/mpi/mpi-cmp.c +++ b/mpi/mpi-cmp.c @@ -1,20 +1,20 @@ /* mpi-cmp.c - MPI functions - * Copyright (C) 1998, 1999, 2001 Free Software Foundation, Inc. + * Copyright (C) 1998, 1999, 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/mpi-div.c b/mpi/mpi-div.c index a439c46d..32abe794 100644 --- a/mpi/mpi-div.c +++ b/mpi/mpi-div.c @@ -1,20 +1,20 @@ /* mpi-div.c - MPI functions - * Copyright (C) 1994, 1996, 1998, 2001 Free Software Foundation, Inc. + * Copyright (C) 1994, 1996, 1998, 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -22,8 +22,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ #include <config.h> diff --git a/mpi/mpi-gcd.c b/mpi/mpi-gcd.c index 5242adaf..8819871a 100644 --- a/mpi/mpi-gcd.c +++ b/mpi/mpi-gcd.c @@ -1,20 +1,20 @@ /* mpi-gcd.c - MPI functions - * Copyright (C) 1998, 2001 Free Software Foundation, Inc. + * Copyright (C) 1998, 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/mpi-inline.c b/mpi/mpi-inline.c index 8afb1343..a1969463 100644 --- a/mpi/mpi-inline.c +++ b/mpi/mpi-inline.c @@ -1,20 +1,20 @@ /* mpi-inline.c - * Copyright (C) 1999 Free Software Foundation, Inc. + * Copyright (C) 1999, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/mpi-inline.h b/mpi/mpi-inline.h index 6a53e721..939dcd68 100644 --- a/mpi/mpi-inline.h +++ b/mpi/mpi-inline.h @@ -1,20 +1,21 @@ /* mpi-inline.h - Internal to the Multi Precision Integers - * Copyright (C) 1994, 1996, 1998, 1999, 2001 Free Software Foundation, Inc. + * Copyright (C) 1994, 1996, 1998, 1999, + * 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -22,8 +23,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ #ifndef G10_MPI_INLINE_H diff --git a/mpi/mpi-internal.h b/mpi/mpi-internal.h index ec26ef30..1eacc704 100644 --- a/mpi/mpi-internal.h +++ b/mpi/mpi-internal.h @@ -1,21 +1,21 @@ /* mpi-internal.h - Internal to the Multi Precision Integers * Copyright (C) 1998 Free Software Foundation, Inc. - * Copyright (C) 1994, 1996, 2000 Free Software Foundation, Inc. + * Copyright (C) 1994, 1996, 2000, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -23,8 +23,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ #ifndef G10_MPI_INTERNAL_H diff --git a/mpi/mpi-inv.c b/mpi/mpi-inv.c index 99924b4a..8760e941 100644 --- a/mpi/mpi-inv.c +++ b/mpi/mpi-inv.c @@ -1,20 +1,20 @@ /* mpi-inv.c - MPI functions - * Copyright (C) 1998, 2001 Free Software Foundation, Inc. + * Copyright (C) 1998, 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/mpi-mpow.c b/mpi/mpi-mpow.c index 9df505e3..0eef51f1 100644 --- a/mpi/mpi-mpow.c +++ b/mpi/mpi-mpow.c @@ -1,20 +1,20 @@ /* mpi-mpow.c - MPI functions - * Copyright (C) 1998, 1999, 2001 Free Software Foundation, Inc. + * Copyright (C) 1998, 1999, 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/mpi-mul.c b/mpi/mpi-mul.c index 4a7dd7d6..23d02e4e 100644 --- a/mpi/mpi-mul.c +++ b/mpi/mpi-mul.c @@ -1,20 +1,20 @@ /* mpi-mul.c - MPI functions - * Copyright (C) 1994, 1996, 1998, 2001 Free Software Foundation, Inc. + * Copyright (C) 1994, 1996, 1998, 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -22,8 +22,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ #include <config.h> diff --git a/mpi/mpi-pow.c b/mpi/mpi-pow.c index 7538d3e1..33c21654 100644 --- a/mpi/mpi-pow.c +++ b/mpi/mpi-pow.c @@ -1,20 +1,20 @@ /* mpi-pow.c - MPI functions - * Copyright (C) 1994, 1996, 1998, 2000 Free Software Foundation, Inc. + * Copyright (C) 1994, 1996, 1998, 2000, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -22,8 +22,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ #include <config.h> diff --git a/mpi/mpi-scan.c b/mpi/mpi-scan.c index c8b96ac0..d25b356c 100644 --- a/mpi/mpi-scan.c +++ b/mpi/mpi-scan.c @@ -1,20 +1,20 @@ /* mpi-scan.c - MPI functions - * Copyright (C) 1998, 2001 Free Software Foundation, Inc. + * Copyright (C) 1998, 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/mpicoder.c b/mpi/mpicoder.c index 43de9313..f005521d 100644 --- a/mpi/mpicoder.c +++ b/mpi/mpicoder.c @@ -1,20 +1,20 @@ /* mpicoder.c - Coder for the external representation of MPIs - * Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. + * Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/mpih-div.c b/mpi/mpih-div.c index 0a2f2a2a..227f9953 100644 --- a/mpi/mpih-div.c +++ b/mpi/mpih-div.c @@ -1,20 +1,21 @@ /* mpih-div.c - MPI helper functions - * Copyright (C) 1994, 1996, 1998, 2000, 2001 Free Software Foundation, Inc. + * Copyright (C) 1994, 1996, 1998, 2000, + * 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -22,8 +23,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ #include <config.h> diff --git a/mpi/mpih-mul.c b/mpi/mpih-mul.c index d2b32b8e..0c54f2e7 100644 --- a/mpi/mpih-mul.c +++ b/mpi/mpih-mul.c @@ -1,21 +1,21 @@ /* mpih-mul.c - MPI helper functions * Copyright (C) 1994, 1996, 1998, 1999, 2000, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -23,8 +23,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ #include <config.h> diff --git a/mpi/mpiutil.c b/mpi/mpiutil.c index 6946e20a..a60ca000 100644 --- a/mpi/mpiutil.c +++ b/mpi/mpiutil.c @@ -1,20 +1,20 @@ /* mpiutil.ac - Utility functions for MPI - * Copyright (C) 1998, 2000, 2001 Free Software Foundation, Inc. + * Copyright (C) 1998, 2000, 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/pa7100/mpih-lshift.S b/mpi/pa7100/mpih-lshift.S index acd3067e..8ade1964 100644 --- a/mpi/pa7100/mpih-lshift.S +++ b/mpi/pa7100/mpih-lshift.S @@ -2,22 +2,22 @@ * optimized for the PA7100, where it runs at 3.25 cycles/limb * * Copyright (C) 1992, 1994, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/pa7100/mpih-rshift.S b/mpi/pa7100/mpih-rshift.S index 4858c44a..06242027 100644 --- a/mpi/pa7100/mpih-rshift.S +++ b/mpi/pa7100/mpih-rshift.S @@ -2,22 +2,22 @@ * optimized for the PA7100, where it runs at 3.25 cycles/limb * * Copyright (C) 1992, 1994, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/power/mpih-add1.S b/mpi/power/mpih-add1.S index ee9571a6..876b56c6 100644 --- a/mpi/power/mpih-add1.S +++ b/mpi/power/mpih-add1.S @@ -1,21 +1,22 @@ /* IBM POWER add_n -- Add two limb vectors of equal, non-zero length. * - * Copyright (C) 1992, 1994, 1996, 1999 Free Software Foundation, Inc. + * Copyright (C) 1992, 1994, 1996, 1999, + * 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/power/mpih-lshift.S b/mpi/power/mpih-lshift.S index a012a4e0..d9e42daf 100644 --- a/mpi/power/mpih-lshift.S +++ b/mpi/power/mpih-lshift.S @@ -1,21 +1,21 @@ /* IBM POWER lshift * - * Copyright (C) 1992, 1994, 1999 Free Software Foundation, Inc. + * Copyright (C) 1992, 1994, 1999, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/power/mpih-mul1.S b/mpi/power/mpih-mul1.S index e770e3b8..35034fa4 100644 --- a/mpi/power/mpih-mul1.S +++ b/mpi/power/mpih-mul1.S @@ -1,22 +1,22 @@ /* IBM POWER mul_1 -- Multiply a limb vector with a limb and store * the result in a second limb vector. * - * Copyright (C) 1992, 1994, 1999 Free Software Foundation, Inc. + * Copyright (C) 1992, 1994, 1999, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/power/mpih-mul2.S b/mpi/power/mpih-mul2.S index 1fcb0333..d056e8f3 100644 --- a/mpi/power/mpih-mul2.S +++ b/mpi/power/mpih-mul2.S @@ -1,22 +1,22 @@ /* IBM POWER addmul_1 -- Multiply a limb vector with a limb and add * the result to a second limb vector. * - * Copyright (C) 1992, 1994, 1999 Free Software Foundation, Inc. + * Copyright (C) 1992, 1994, 1999, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/power/mpih-mul3.S b/mpi/power/mpih-mul3.S index 92308df5..8bc317b7 100644 --- a/mpi/power/mpih-mul3.S +++ b/mpi/power/mpih-mul3.S @@ -1,22 +1,22 @@ /* IBM POWER submul_1 -- Multiply a limb vector with a limb and subtract * the result from a second limb vector. * - * Copyright (C) 1992, 1994, 1999 Free Software Foundation, Inc. + * Copyright (C) 1992, 1994, 1999, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/power/mpih-rshift.S b/mpi/power/mpih-rshift.S index 848d764e..f131a86d 100644 --- a/mpi/power/mpih-rshift.S +++ b/mpi/power/mpih-rshift.S @@ -1,21 +1,21 @@ /* IBM POWER rshift * - * Copyright (C) 1992, 1994, 1999 Free Software Foundation, Inc. + * Copyright (C) 1992, 1994, 1999, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/power/mpih-sub1.S b/mpi/power/mpih-sub1.S index 14d9dbf6..02748fc5 100644 --- a/mpi/power/mpih-sub1.S +++ b/mpi/power/mpih-sub1.S @@ -1,22 +1,22 @@ /* IBM POWER sub_n -- Subtract two limb vectors of equal, non-zero length. * - * Copyright (C) 1992, 1994, 1995, 1996, 1999 - * Free Software Foundation, Inc. + * Copyright (C) 1992, 1994, 1995, 1996, 1999, + * 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/powerpc32/mpih-add1.S b/mpi/powerpc32/mpih-add1.S index 12841604..1661f5e6 100644 --- a/mpi/powerpc32/mpih-add1.S +++ b/mpi/powerpc32/mpih-add1.S @@ -1,21 +1,21 @@ /* PowerPC-32 add_n -- Add two limb vectors of equal, non-zero length. * - * Copyright (C) 1992, 1994, 1995, 1998 Free Software Foundation, Inc. + * Copyright (C) 1992, 1994, 1995, 1998, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/powerpc32/mpih-lshift.S b/mpi/powerpc32/mpih-lshift.S index 73b025a1..6231095d 100644 --- a/mpi/powerpc32/mpih-lshift.S +++ b/mpi/powerpc32/mpih-lshift.S @@ -1,21 +1,21 @@ /* PowerPC-32 lshift * - * Copyright (C) 1995, 1998 Free Software Foundation, Inc. + * Copyright (C) 1995, 1998, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/powerpc32/mpih-mul1.S b/mpi/powerpc32/mpih-mul1.S index 2ab7528a..bd418f7e 100644 --- a/mpi/powerpc32/mpih-mul1.S +++ b/mpi/powerpc32/mpih-mul1.S @@ -2,22 +2,22 @@ * the result in a second limb vector. * * Copyright (C) 1992, 1993, 1994, 1995, - * 1998 Free Software Foundation, Inc. + * 1998, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/powerpc32/mpih-mul2.S b/mpi/powerpc32/mpih-mul2.S index 9c7793ed..1d97b81a 100644 --- a/mpi/powerpc32/mpih-mul2.S +++ b/mpi/powerpc32/mpih-mul2.S @@ -1,22 +1,22 @@ /* PowerPC-32 addmul_1 -- Multiply a limb vector with a limb and add * the result to a second limb vector. * - * Copyright (C) 1995, 1998 Free Software Foundation, Inc. + * Copyright (C) 1995, 1998, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/powerpc32/mpih-mul3.S b/mpi/powerpc32/mpih-mul3.S index d3ffdb93..c410dbb0 100644 --- a/mpi/powerpc32/mpih-mul3.S +++ b/mpi/powerpc32/mpih-mul3.S @@ -1,22 +1,22 @@ /* PowerPC-32 submul_1 -- Multiply a limb vector with a limb and subtract * the result from a second limb vector. * - * Copyright (C) 1995, 1998 Free Software Foundation, Inc. + * Copyright (C) 1995, 1998, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/powerpc32/mpih-rshift.S b/mpi/powerpc32/mpih-rshift.S index 260691e7..98349edb 100644 --- a/mpi/powerpc32/mpih-rshift.S +++ b/mpi/powerpc32/mpih-rshift.S @@ -1,21 +1,21 @@ /* PowerPC-32 rshift * - * Copyright (C) 1995, 1998 Free Software Foundation, Inc. + * Copyright (C) 1995, 1998, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/powerpc32/mpih-sub1.S b/mpi/powerpc32/mpih-sub1.S index 5499f0cc..d612ea89 100644 --- a/mpi/powerpc32/mpih-sub1.S +++ b/mpi/powerpc32/mpih-sub1.S @@ -1,22 +1,23 @@ /* PowerPC-32 sub_n -- Subtract two limb vectors of the same length > 0 * and store difference in a third limb vector. * - * Copyright (C) 1992, 1994, 1995, 1998 Free Software Foundation, Inc. + * Copyright (C) 1992, 1994, 1995, 1998, + * 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/sparc32/mpih-add1.S b/mpi/sparc32/mpih-add1.S index 809e4d73..61a80ca3 100644 --- a/mpi/sparc32/mpih-add1.S +++ b/mpi/sparc32/mpih-add1.S @@ -2,22 +2,22 @@ * sum in a third limb vector. * * Copyright (C) 1995, 1996, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/sparc32/mpih-lshift.S b/mpi/sparc32/mpih-lshift.S index d5d064c0..3422ab04 100644 --- a/mpi/sparc32/mpih-lshift.S +++ b/mpi/sparc32/mpih-lshift.S @@ -1,22 +1,22 @@ /* sparc lshift * * Copyright (C) 1995, 1996, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/sparc32/mpih-rshift.S b/mpi/sparc32/mpih-rshift.S index a517aa80..cd3db41d 100644 --- a/mpi/sparc32/mpih-rshift.S +++ b/mpi/sparc32/mpih-rshift.S @@ -1,22 +1,22 @@ /* sparc rshift * * Copyright (C) 1995, 1996, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/mpi/sparc32/udiv.S b/mpi/sparc32/udiv.S index 752d0719..006b5c12 100644 --- a/mpi/sparc32/udiv.S +++ b/mpi/sparc32/udiv.S @@ -2,22 +2,22 @@ * This is for v7 CPUs without a floating-point unit. * * Copyright (C) 1993, 1994, 1996, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -25,8 +25,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ diff --git a/mpi/sparc32v8/mpih-mul1.S b/mpi/sparc32v8/mpih-mul1.S index 21e8808c..03fcddab 100644 --- a/mpi/sparc32v8/mpih-mul1.S +++ b/mpi/sparc32v8/mpih-mul1.S @@ -2,22 +2,22 @@ * store the product in a second limb vector. * * Copyright (C) 1992, 1994, 1995, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -25,8 +25,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ diff --git a/mpi/sparc32v8/mpih-mul2.S b/mpi/sparc32v8/mpih-mul2.S index afe3723d..6f5cc436 100644 --- a/mpi/sparc32v8/mpih-mul2.S +++ b/mpi/sparc32v8/mpih-mul2.S @@ -2,22 +2,22 @@ * add the result to a second limb vector. * * Copyright (C) 1992, 1993, 1994, 1995, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -25,8 +25,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ diff --git a/mpi/sparc32v8/mpih-mul3.S b/mpi/sparc32v8/mpih-mul3.S index 50bb59fb..93bb1943 100644 --- a/mpi/sparc32v8/mpih-mul3.S +++ b/mpi/sparc32v8/mpih-mul3.S @@ -2,22 +2,22 @@ * subtract the result from a second limb vector. * * Copyright (C) 1992, 1993, 1994, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -25,8 +25,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ diff --git a/mpi/supersparc/udiv.S b/mpi/supersparc/udiv.S index 31b7387c..79e506a1 100644 --- a/mpi/supersparc/udiv.S +++ b/mpi/supersparc/udiv.S @@ -3,22 +3,22 @@ * semi-functional udiv instruction. * * Copyright (C) 1993, 1994, 1996, 1998, - * 2001 Free Software Foundation, Inc. + * 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GnuPG. + * This file is part of Libgcrypt. * - * GnuPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GnuPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -26,8 +26,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ diff --git a/scripts/ChangeLog b/scripts/ChangeLog index b8ab36ef..22813ccc 100644 --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2002-05-14 Werner Koch <wk@gnupg.org> + + * autogen.sh: Require vesion 2.53 of autoconf + 2001-12-18 Werner Koch <wk@gnupg.org> * distfiles: Remove files which are automatically added by automake. @@ -113,3 +117,13 @@ Wed Oct 14 09:55:25 1998 Werner Koch (wk@isil.d.shuttle.de) * config.guess (FreeBSD): Changes from Jun Kuriyama to support ELF * config.sub: (freebsd): Add to maybe_os + + Copyright 1998,1999,2000,2001,2002 Free Software Foundation, Inc. + + This file is free software; as a special exception the author gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + + This file is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY, to the extent permitted by law; without even the + implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. diff --git a/scripts/autogen.sh b/scripts/autogen.sh index 6373d3fa..71f2c933 100755 --- a/scripts/autogen.sh +++ b/scripts/autogen.sh @@ -1,12 +1,29 @@ #!/bin/sh # Run this to generate all the initial makefiles, etc. +# Copyright (C) 2002 Free Software Foundation, Inc. +# +# This file is part of Libgcrypt. +# +# Libgcrypt is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of +# the License, or (at your option) any later version. +# +# Libgcrypt is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA PGM=LIBGCRYPT -autoconf_vers=2.52 +autoconf_vers=2.53 automake_vers=1.5 aclocal_vers=1.5 -libtool_vers=1.4 +libtool_vers=1.4.2 DIE=no if test "$1" = "--build-w32"; then @@ -153,5 +170,3 @@ echo "Running autoconf..." autoconf echo "You can now run \"./configure --enable-maintainer-mode\" and then \"make\"." - - diff --git a/src/ChangeLog b/src/ChangeLog index e32e76df..539ae85c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2002-05-14 Werner Koch <wk@gnupg.org> + + Changed license of all files to the LGPL. + 2002-05-07 Werner Koch <wk@gnupg.org> * global.c (gcry_control): Add commands diff --git a/src/cipher.h b/src/cipher.h index 712d8a2d..9369e315 100644 --- a/src/cipher.h +++ b/src/cipher.h @@ -1,25 +1,26 @@ /* cipher.h - * Copyright (C) 1998 Free Software Foundation, Inc. + * Copyright (C) 1998, 2002 Free Software Foundation, Inc. * - * This file is part of GNUPG. + * This file is part of Libgcrypt. * - * GNUPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GNUPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifndef G10_CIPHER_H #define G10_CIPHER_H + #define DBG_CIPHER _gcry_get_debug_flag( 1 ) #include "../cipher/random.h" diff --git a/src/g10lib.h b/src/g10lib.h index 70d61e46..125c7826 100644 --- a/src/g10lib.h +++ b/src/g10lib.h @@ -8,17 +8,17 @@ * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/src/gcrypt.h b/src/gcrypt.h index 8c153aaa..c0b979ff 100644 --- a/src/gcrypt.h +++ b/src/gcrypt.h @@ -1,20 +1,20 @@ /* gcrypt.h - GNU digital encryption library interface - * Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. + * Copyright (C) 1998,1999,2000,2001,2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/src/global.c b/src/global.c index a6edb091..7d922b70 100644 --- a/src/global.c +++ b/src/global.c @@ -1,20 +1,20 @@ /* global.c - global control functions - * Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. + * Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ @@ -1,20 +1,20 @@ /* misc.c - * Copyright (C) 1999, 2001 Free Software Foundation, Inc. + * Copyright (C) 1999, 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ @@ -1,20 +1,20 @@ /* mpi.h - Multi Precision Integers - * Copyright (C) 1994, 1996, 1998, 2001 Free Software Foundation, Inc. + * Copyright (C) 1994, 1996, 1998, 2001, 2002 Free Software Foundation, Inc. * - * This file is part of GNUPG. + * This file is part of Libgcrypt. * - * GNUPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GNUPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * * Note: This code is heavily based on the GNU MP Library. @@ -22,8 +22,6 @@ * way the data is stored; this is to support the abstraction * of an optional secure memory allocation which may be used * to avoid revealing of sensitive data due to paging etc. - * The GNU MP Library itself is published under the LGPL; - * however I decided to publish this code under the plain GPL. */ #ifndef G10_MPI_H diff --git a/src/mutex.h b/src/mutex.h index 547d3117..4f47ec31 100644 --- a/src/mutex.h +++ b/src/mutex.h @@ -5,17 +5,17 @@ * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ @@ -140,4 +140,3 @@ _gcry_mutex_unlock (mutex_t mutex) #endif /* MUTEX_FAKE */ #endif /* MUTEX_H */ - diff --git a/src/secmem.c b/src/secmem.c index 63ba67e3..261af487 100644 --- a/src/secmem.c +++ b/src/secmem.c @@ -1,20 +1,20 @@ /* secmem.c - memory allocation from a secure heap - * Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. + * Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/src/secmem.h b/src/secmem.h index 24110d51..97367d0c 100644 --- a/src/secmem.h +++ b/src/secmem.h @@ -1,20 +1,20 @@ /* secmem.h - internal definitions for secmem - * Copyright (C) 2000, 2001 Free Software Foundation, Inc. + * Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ @@ -4,17 +4,17 @@ * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/src/stdmem.c b/src/stdmem.c index 1b22994b..113eabc1 100644 --- a/src/stdmem.c +++ b/src/stdmem.c @@ -4,17 +4,17 @@ * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/src/stdmem.h b/src/stdmem.h index 001d178b..0b1ca676 100644 --- a/src/stdmem.h +++ b/src/stdmem.h @@ -1,20 +1,20 @@ /* stdmem.h - internal definitions for stdmem - * Copyright (C) 2000 Free Software Foundation, Inc. + * Copyright (C) 2000, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/src/testapi.c b/src/testapi.c index dd91f8bc..a9b724f3 100644 --- a/src/testapi.c +++ b/src/testapi.c @@ -1,5 +1,21 @@ /* testapi.c - for libgcrypt + * Copyright (C) 2000, 2002 Free Software Foundation, Inc. * + * This file is part of Libgcrypt. + * + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * Libgcrypt is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #include <stdio.h> diff --git a/src/types.h b/src/types.h index 86a8a891..d603a88f 100644 --- a/src/types.h +++ b/src/types.h @@ -1,20 +1,20 @@ /* types.h - some common typedefs - * Copyright (C) 1998, 2000 Free Software Foundation, Inc. + * Copyright (C) 1998, 2000, 2002 Free Software Foundation, Inc. * - * This file is part of GNUPG. + * This file is part of Libgcrypt. * - * GNUPG is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * - * GNUPG is distributed in the hope that it will be useful, + * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ @@ -122,4 +122,3 @@ typedef struct string_list { #endif /*GCRYPT_TYPES_H*/ - diff --git a/tests/ChangeLog b/tests/ChangeLog index 54ac7cf1..ca1b5ef1 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,7 @@ +2002-05-14 Werner Koch <wk@gnupg.org> + + Changed license of all files to the LGPL. + 2002-05-02 Werner Koch <wk@gnupg.org> * basic.c: Add option --verbose. diff --git a/tests/Makefile.am b/tests/Makefile.am index 8ec15284..9d8b4aa8 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,19 +1,19 @@ -# Copyright (C) 2001 Free Software Foundation, Inc. +# Copyright (C) 2001, 2002 Free Software Foundation, Inc. # # This file is part of Libgcrypt. # # Libgcrypt is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of +# the License, or (at your option) any later version. +# # Libgcrypt is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA ## Process this file with automake to produce Makefile.in diff --git a/tests/basic.c b/tests/basic.c index bb6b2815..ca5cdb3e 100644 --- a/tests/basic.c +++ b/tests/basic.c @@ -1,20 +1,20 @@ /* basic.c - basic regression tests - * Copyright (C) 2001 Free Software Foundation, Inc. + * Copyright (C) 2001, 2002 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ diff --git a/tests/tsexp.c b/tests/tsexp.c index 82a0c70e..2615f424 100644 --- a/tests/tsexp.c +++ b/tests/tsexp.c @@ -4,17 +4,17 @@ * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. * * Libgcrypt is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ |