docs(crypto): reproduce third-party license texts in crypto/LICENSE (#7529)
What changed, and why it matters
This commit is purely legal and administrative housekeeping. It adds missing third-party copyright notices and license texts to the crypto/LICENSE file, fixes a typo in a few license headers, and changes the stated license of some first-party files from GPL to MIT. No executable code was changed, so it cannot introduce a security vulnerability or fix one.
No security action required. Reviewers may verify that the new license text accurately reflects the upstream licenses of the bundled third-party code.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff only touches license text. crypto/LICENSE is expanded to reproduce third-party license terms and attributions. Four source files (chacha_drbg.c/h, noise_xxpsk3.c/h) have their file-header license changed from GPL v3 to MIT. Three files (base32.c, nem.c, rc4.c) have a typo corrected in the license header (‘E1PRESS’ to ‘EXPRESS’). No functional code, algorithms, or interfaces are modified.
Changed components
crypto/LICENSEcrypto/base32.ccrypto/chacha_drbg.ccrypto/chacha_drbg.hcrypto/nem.ccrypto/noise_xxpsk3.ccrypto/noise_xxpsk3.hcrypto/rc4.cInspect captured patch +514 / −43
### crypto/LICENSE
@@ -20,3 +20,454 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+
+
+================================================================================
+ADDITIONAL COPYRIGHT HOLDERS UNDER THE MIT LICENSE ABOVE
+================================================================================
+
+The MIT terms reproduced above also cover the contributions of the following
+copyright holders. The license text is identical; only the copyright notice
+differs. Where a holder appears with several year ranges, those are the
+ranges as they appear in the individual file headers.
+
+ Copyright (c) 2012-2014 Luke Dashjr
+ base58.c
+ Derived from libbase58 -- https://github.com/luke-jr/libbase58
+
+ Copyright (c) 2013-2014 / 2013-2016 Tomas Dzetkulic
+ Copyright (c) 2013-2014 / 2013-2016 / 2016 Pavol Rusnak
+ Throughout the library.
+
+ Copyright (c) 2015 / 2015-2016 / 2015-2017 / 2016 / 2017 Jochen Hoenicke
+ bignum.c, bip32.c, cash_addr.c, cash_addr.h, curves.c, curves.h,
+ ecdsa.c, rfc6979.c, rfc6979.h
+
+ Copyright (c) 2016 Alex Beregszaszi
+ bignum.c, bignum.h
+
+ Copyright (c) 2016 Daira Hopwood
+ address.c, address.h
+
+ Copyright (c) 2017 / 2017, 2021 Pieter Wuille
+ cash_addr.h, segwit_addr.c, segwit_addr.h
+ The notice in cash_addr.c reads "Peter Wuille"; reproduced here as it
+ appears in the source.
+
+ Copyright (c) 2017 Saleem Rashid
+ base32.c, base32.h, hasher.c, hasher.h, nem.c, nem.h, rc4.c, rc4.h
+
+ Dusan Klinec (2018)
+ monero/monero.h, monero/serialize.c, monero/serialize.h, monero/xmr.c,
+ monero/xmr.h
+ These files carry no copyright notice or license text, only a
+ "Created by Dusan Klinec" author comment; they were contributed to
+ the library under the MIT terms above.
+
+ Copyright (c) 2019 / 2023 Andrew R. Kozlik
+ Copyright (c) 2023 Andrew Kozlik
+ aes/aesccm.c, aes/aesccm.h, hmac_drbg.c, hmac_drbg.h, tls_prf.c,
+ tls_prf.h
+
+ Copyright (c) 2020-2022 Christian Reitter
+ fuzzer/fuzzer.c
+
+ Copyright (c) 2013-2021 / 2019 / 2022 SatoshiLabs
+ Copyright (c) SatoshiLabs
+ Throughout the library.
+
+ Copyright (c) 2023 / 2023, 2026 Trezor Company s.r.o.
+ Copyright (c) Trezor Company s.r.o.
+ buffer.c, buffer.h, consteq.c, consteq.h, der.c, der.h,
+ fault_handler.h, fault_handler_noop.c
+
+
+================================================================================
+THIRD-PARTY COMPONENTS
+================================================================================
+
+This library incorporates code from the projects listed below. The license
+terms of each are reproduced verbatim and apply to the files identified in
+that entry.
+
+
+--------------------------------------------------------------------------------
+AES, AES-GCM and gf128mul -- Brian Gladman
+https://github.com/BrianGladman/aes
+
+Files: aes/aes.h, aes/aes_modes.c, aes/aescrypt.c, aes/aesgcm.c,
+ aes/aesgcm.h, aes/aeskey.c, aes/aesopt.h, aes/aestab.c, aes/aestab.h,
+ aes/aestst.h, aes/brg_endian.h, aes/gf128mul.c, aes/gf128mul.h,
+ aes/gf_mul_lo.h, aes/mode_hdr.h
+
+The end year of the copyright notice varies per file and is one of 2010,
+2013 or 2014; the broadest range is reproduced here. aes/aestst.c carries
+an older variant of the license with an additional non-endorsement
+condition and is listed separately below.
+--------------------------------------------------------------------------------
+
+Copyright (c) 1998-2014, Brian Gladman, Worcester, UK. All rights reserved.
+
+The redistribution and use of this software (with or without changes)
+is allowed without the payment of fees or royalties provided that:
+
+ source code distributions include the above copyright notice, this
+ list of conditions and the following disclaimer;
+
+ binary distributions include the above copyright notice, this list
+ of conditions and the following disclaimer in their documentation.
+
+This software is provided 'as is' with no explicit or implied warranties
+in respect of its operation, including, but not limited to, correctness
+and fitness for purpose.
+
+
+--------------------------------------------------------------------------------
+AES self-test -- Brian Gladman, older license variant
+https://github.com/BrianGladman/aes
+
+Files: aes/aestst.c
+--------------------------------------------------------------------------------
+
+Copyright (c) 1998-2008, Brian Gladman, Worcester, UK. All rights reserved.
+
+LICENSE TERMS
+
+The redistribution and use of this software (with or without changes)
+is allowed without the payment of fees or royalties provided that:
+
+ 1. source code distributions include the above copyright notice, this
+ list of conditions and the following disclaimer;
+
+ 2. binary distributions include the above copyright notice, this list
+ of conditions and the following disclaimer in their documentation;
+
+ 3. the name of the copyright holder is not used to endorse products
+ built using this software without specific written permission.
+
+DISCLAIMER
+
+This software is provided 'as is' with no explicit or implied warranties
+in respect of its properties, including, but not limited to, correctness
+and/or fitness for purpose.
+
+
+--------------------------------------------------------------------------------
+SHA-1 and SHA-2 -- Aaron D. Gifford
+http://www.aarongifford.com/computers/sha.html
+
+Files: sha2.c, sha2.h
+ byte_order.h (byte order handling extracted from sha2.h)
+--------------------------------------------------------------------------------
+
+Copyright (c) 2000-2001 Aaron D. Gifford
+Copyright (c) 2013-2014 Pavol Rusnak
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+3. Neither the name of the copyright holder nor the names of contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTOR(S) ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTOR(S) BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+
+
+--------------------------------------------------------------------------------
+Monero -- The Monero Project
+https://github.com/monero-project/monero
+
+Files: blake256.h, monero/base58.c, monero/base58.h, monero/int-util.h
+
+The copyright year range is 2014-2017 in blake256.h and 2014-2018 in the
+files under monero/. Each of these files additionally carries the note:
+"Parts of this file are originally copyright (c) 2012-2013 The Cryptonote
+developers".
+--------------------------------------------------------------------------------
+
+Copyright (c) 2014-2018, The Monero Project
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+3. Neither the name of the copyright holder nor the names of its contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
+
+
+--------------------------------------------------------------------------------
+SHA-3 / Keccak -- RHash, Aleksey Kravchenko
+https://github.com/rhash/RHash
+
+Files: sha3.c, sha3.h
+--------------------------------------------------------------------------------
+
+Copyright: 2013 Aleksey Kravchenko <rhash.admin@gmail.com>
+
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of this software and associated documentation files (the "Software"),
+to deal in the Software without restriction, including without limitation
+the rights to use, copy, modify, merge, publish, distribute, sublicense,
+and/or sell copies of the Software, and to permit persons to whom the
+Software is furnished to do so.
+
+This program 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. Use this program at your own risk!
+
+
+--------------------------------------------------------------------------------
+Groestl -- Projet RNRT SAPHIR (sphlib)
+https://github.com/Groestlcoin/vanitygen
+Trezor adaptation by Yura Pakhuchiy <pakhuchiy@gmail.com>
+
+Files: groestl.c, groestl.h, groestl_internal.h
+--------------------------------------------------------------------------------
+
+Copyright (c) 2007-2010 Projet RNRT SAPHIR
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
+--------------------------------------------------------------------------------
+Shamir secret sharing (sss) -- Daan Sprenkels
+https://github.com/dsprenkels/sss
+
+Files: shamir.c, shamir.h
+--------------------------------------------------------------------------------
+
+Copyright (c) 2017 Daan Sprenkels <hello@dsprenkels.com>
+Copyright (c) 2019 SatoshiLabs
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the "Software"),
+to deal in the Software without restriction, including without limitation
+the rights to use, copy, modify, merge, publish, distribute, sublicense,
+and/or sell copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included
+in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES
+OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
+
+
+--------------------------------------------------------------------------------
+ChaCha20-Poly1305 -- Will Glozer
+https://github.com/wg/c20p1305
+
+Files: chacha20poly1305/chacha20poly1305.c, chacha20poly1305/chacha20poly1305.h,
+ chacha20poly1305/rfc7539.c, chacha20poly1305/rfc7539.h
+Also present verbatim as chacha20poly1305/LICENSE
+
+The remaining files under chacha20poly1305/ were imported through this
+project but are the work of other authors: the Poly1305 implementation is
+Andrew Moon's poly1305-donna and the ChaCha20 core and ECRYPT headers are
+D. J. Bernstein's eSTREAM submission; see their own entries below.
+--------------------------------------------------------------------------------
+
+The MIT License (MIT)
+
+Copyright (C) 2016 Will Glozer
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+
+================================================================================
+PUBLIC DOMAIN AND CC0 COMPONENTS
+================================================================================
+
+The components below impose no attribution requirement. They are listed for
+completeness only.
+
+
+--------------------------------------------------------------------------------
+BLAKE2b / BLAKE2s -- Samuel Neves
+https://github.com/BLAKE2/BLAKE2
+
+Files: blake2b.c, blake2b.h, blake2s.c, blake2s.h, blake2_common.h
+--------------------------------------------------------------------------------
+
+BLAKE2 reference source code package - reference C implementations
+
+Copyright 2012, Samuel Neves <sneves@dei.uc.pt>. You may use this under the
+terms of the CC0, the OpenSSL Licence, or the Apache Public License 2.0, at
+your option. The terms of these licenses can be found at:
+
+- CC0 1.0 Universal : http://creativecommons.org/publicdomain/zero/1.0
+- OpenSSL license : https://www.openssl.org/source/license.html
+- Apache 2.0 : http://www.apache.org/licenses/LICENSE-2.0
+
+More information about the BLAKE2 hash function can be found at
+https://blake2.net.
+
+
+--------------------------------------------------------------------------------
+BLAKE-256 -- Jean-Philippe Aumasson
+
+Files: blake256.c
+--------------------------------------------------------------------------------
+
+BLAKE reference C implementation
+
+Copyright (c) 2012 Jean-Philippe Aumasson <jeanphilippe.aumasson@gmail.com>
+
+To the extent possible under law, the author(s) have dedicated all copyright
+and related and neighboring rights to this software to the public domain
+worldwide. This software is distributed without any warranty.
+
+You should have received a copy of the CC0 Public Domain Dedication along
+with this software. If not, see
+<http://creativecommons.org/publicdomain/zero/1.0/>.
+
+
+--------------------------------------------------------------------------------
+RIPEMD-160 -- Dwayne C. Litzenberger, adapted by Pieter Wuille
+https://github.com/sipa/Coin25519
+
+Files: ripemd160.c, ripemd160.h
+
+Adapted by Pieter Wuille in 2012; all changes are in the public domain.
+--------------------------------------------------------------------------------
+
+RIPEMD160.c : RIPEMD-160 implementation
+
+Written in 2008 by Dwayne C. Litzenberger <dlitz@dlitz.net>
+
+===================================================================
+The contents of this file are dedicated to the public domain. To
+the extent that dedication to the public domain is not available,
+everyone is granted a worldwide, perpetual, royalty-free,
+non-exclusive license to exercise all rights associated with the
+contents of this file for any purpose whatsoever.
+No rights are reserved.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+===================================================================
+
+
+--------------------------------------------------------------------------------
+Ed25519-donna and curve25519-donna -- Andrew M. <liquidsun@gmail.com>
+https://github.com/floodyberry/ed25519-donna
+https://github.com/agl/curve25519-donna
+
+Files: ed25519-donna/
+--------------------------------------------------------------------------------
+
+Public domain by Andrew M. <liquidsun@gmail.com>
+
+Portions are modified from the amd64-51-30k implementation by
+Daniel J. Bernstein, Niels Duif, Tanja Lange, Peter Schwabe and
+Bo-Yin Yang.
+
+
+--------------------------------------------------------------------------------
+Poly1305 -- poly1305-donna, Andrew Moon
+https://github.com/floodyberry/poly1305-donna
+
+Files: chacha20poly1305/poly1305-donna.c, chacha20poly1305/poly1305-donna.h,
+ chacha20poly1305/poly1305-donna-32.h
+
+The files carry no license header; upstream offers the code as "MIT or
+PUBLIC DOMAIN" at the recipient's option.
+--------------------------------------------------------------------------------
+
+
+--------------------------------------------------------------------------------
+ChaCha20 core and ECRYPT API headers -- D. J. Bernstein, eSTREAM project
+
+Files: chacha20poly1305/chacha_merged.c
+ chacha20poly1305/ecrypt-config.h, chacha20poly1305/ecrypt-machine.h,
+ chacha20poly1305/ecrypt-portable.h, chacha20poly1305/ecrypt-sync.h,
+ chacha20poly1305/ecrypt-types.h
+
+The ecrypt-*.h files are the eSTREAM ECRYPT benchmarking API headers
+distributed with the same submission; they carry no copyright notice.
+--------------------------------------------------------------------------------
+
+chacha-merged.c version 20080118
+D. J. Bernstein
+Public domain.
### crypto/base32.c
@@ -11,7 +11,7 @@
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, E1PRESS
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES
### crypto/chacha_drbg.c
@@ -3,18 +3,23 @@
*
* Copyright (c) SatoshiLabs
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining
+ * a copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
*
- * This program 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.
+ * The above copyright notice and this permission notice shall be included
+ * in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES
+ * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ * OTHER DEALINGS IN THE SOFTWARE.
*/
#include "chacha_drbg.h"
### crypto/chacha_drbg.h
@@ -3,18 +3,23 @@
*
* Copyright (c) SatoshiLabs
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining
+ * a copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
*
- * This program 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.
+ * The above copyright notice and this permission notice shall be included
+ * in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES
+ * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ * OTHER DEALINGS IN THE SOFTWARE.
*/
#ifndef __CHACHA_DRBG__
### crypto/nem.c
@@ -11,7 +11,7 @@
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, E1PRESS
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES
### crypto/noise_xxpsk3.c
@@ -3,18 +3,23 @@
*
* Copyright (c) SatoshiLabs
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining
+ * a copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
*
- * This program 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.
+ * The above copyright notice and this permission notice shall be included
+ * in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES
+ * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ * OTHER DEALINGS IN THE SOFTWARE.
*/
#include <string.h>
### crypto/noise_xxpsk3.h
@@ -3,18 +3,23 @@
*
* Copyright (c) SatoshiLabs
*
- * 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 3 of the License, or
- * (at your option) any later version.
+ * Permission is hereby granted, free of charge, to any person obtaining
+ * a copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
*
- * This program 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.
+ * The above copyright notice and this permission notice shall be included
+ * in all copies or substantial portions of the Software.
*
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES
+ * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ * OTHER DEALINGS IN THE SOFTWARE.
*/
#pragma once
### crypto/rc4.c
@@ -11,7 +11,7 @@
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, E1PRESS
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGESWhy this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.