LICENSE.rst 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. The source code in PyCryptodome is partially in the public domain
  2. and partially released under the BSD 2-Clause license.
  3. In either case, there are minimal if no restrictions on the redistribution,
  4. modification and usage of the software.
  5. Public domain
  6. =============
  7. All code originating from PyCrypto is free and unencumbered software
  8. released into the public domain.
  9. Anyone is free to copy, modify, publish, use, compile, sell, or
  10. distribute this software, either in source code form or as a compiled
  11. binary, for any purpose, commercial or non-commercial, and by any
  12. means.
  13. In jurisdictions that recognize copyright laws, the author or authors
  14. of this software dedicate any and all copyright interest in the
  15. software to the public domain. We make this dedication for the benefit
  16. of the public at large and to the detriment of our heirs and
  17. successors. We intend this dedication to be an overt act of
  18. relinquishment in perpetuity of all present and future rights to this
  19. software under copyright law.
  20. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  21. EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  22. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  23. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
  24. OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
  25. ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  26. OTHER DEALINGS IN THE SOFTWARE.
  27. For more information, please refer to <http://unlicense.org>
  28. BSD license
  29. ===========
  30. All direct contributions to PyCryptodome are released under the following
  31. license. The copyright of each piece belongs to the respective author.
  32. Redistribution and use in source and binary forms, with or without
  33. modification, are permitted provided that the following conditions are met:
  34. 1. Redistributions of source code must retain the above copyright notice,
  35. this list of conditions and the following disclaimer.
  36. 2. Redistributions in binary form must reproduce the above copyright notice,
  37. this list of conditions and the following disclaimer in the documentation
  38. and/or other materials provided with the distribution.
  39. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  40. AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  41. IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  42. DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
  43. FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  44. DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
  45. SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
  46. CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  47. OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  48. OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  49. OCB license
  50. ===========
  51. The OCB cipher mode is patented in the US under patent numbers 7,949,129 and
  52. 8,321,675. The directory Doc/ocb contains three free licenses for implementors
  53. and users. As a general statement, OCB can be freely used for software not meant
  54. for military purposes. Contact your attorney for further information.