From 7ac7635401d6164af8e494b527870a0779326189 Mon Sep 17 00:00:00 2001 From: Duc Nguyen <106774416+ducnguyen-sb@users.noreply.github.com> Date: Fri, 19 Jan 2024 14:37:07 -0500 Subject: [PATCH] Add Apache 2.0 and MIT License to XMSS (#1662) * Add Apache 2.0 and MIT License to XMSS --- CONTRIBUTORS | 1 + src/sig_stfl/xmss/CMakeLists.txt | 2 +- src/sig_stfl/xmss/LICENSE | 12 ++++++++++++ src/sig_stfl/xmss/LICENSE-MIT | 9 +++++++++ src/sig_stfl/xmss/external/core_hash.c | 1 + src/sig_stfl/xmss/external/core_hash.h | 1 + src/sig_stfl/xmss/external/hash.c | 1 + src/sig_stfl/xmss/external/hash.h | 1 + src/sig_stfl/xmss/external/hash_address.c | 1 + src/sig_stfl/xmss/external/hash_address.h | 1 + src/sig_stfl/xmss/external/namespace.h | 1 + src/sig_stfl/xmss/external/params.c | 1 + src/sig_stfl/xmss/external/params.h | 1 + src/sig_stfl/xmss/external/utils.c | 1 + src/sig_stfl/xmss/external/utils.h | 1 + src/sig_stfl/xmss/external/wots.c | 1 + src/sig_stfl/xmss/external/wots.h | 1 + src/sig_stfl/xmss/external/xmss.c | 1 + src/sig_stfl/xmss/external/xmss.h | 1 + src/sig_stfl/xmss/external/xmss_commons.c | 1 + src/sig_stfl/xmss/external/xmss_commons.h | 1 + src/sig_stfl/xmss/external/xmss_core.c | 1 + src/sig_stfl/xmss/external/xmss_core.h | 1 + src/sig_stfl/xmss/external/xmss_core_fast.c | 1 + src/sig_stfl/xmss/sig_stfl_xmss.h | 2 +- src/sig_stfl/xmss/sig_stfl_xmss_functions.c | 3 +-- .../xmss/sig_stfl_xmss_secret_key_functions.c | 2 +- src/sig_stfl/xmss/sig_stfl_xmss_sha256_h10.c | 2 +- src/sig_stfl/xmss/sig_stfl_xmss_sha256_h16.c | 2 +- src/sig_stfl/xmss/sig_stfl_xmss_sha256_h20.c | 2 +- src/sig_stfl/xmss/sig_stfl_xmss_sha512_h10.c | 2 +- src/sig_stfl/xmss/sig_stfl_xmss_sha512_h16.c | 2 +- src/sig_stfl/xmss/sig_stfl_xmss_sha512_h20.c | 2 +- src/sig_stfl/xmss/sig_stfl_xmss_shake128_h10.c | 2 +- src/sig_stfl/xmss/sig_stfl_xmss_shake128_h16.c | 2 +- src/sig_stfl/xmss/sig_stfl_xmss_shake128_h20.c | 2 +- src/sig_stfl/xmss/sig_stfl_xmss_shake256_h10.c | 2 +- src/sig_stfl/xmss/sig_stfl_xmss_shake256_h16.c | 2 +- src/sig_stfl/xmss/sig_stfl_xmss_shake256_h20.c | 2 +- src/sig_stfl/xmss/sig_stfl_xmssmt_functions.c | 2 +- src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h20_2.c | 2 +- src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h20_4.c | 2 +- src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h40_2.c | 2 +- src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h40_4.c | 2 +- src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h40_8.c | 2 +- src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h60_12.c | 2 +- src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h60_3.c | 2 +- src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h60_6.c | 2 +- src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h20_2.c | 2 +- src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h20_4.c | 2 +- src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h40_2.c | 2 +- src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h40_4.c | 2 +- src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h40_8.c | 2 +- src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h60_12.c | 2 +- src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h60_3.c | 2 +- src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h60_6.c | 2 +- 56 files changed, 75 insertions(+), 34 deletions(-) create mode 100644 src/sig_stfl/xmss/LICENSE create mode 100644 src/sig_stfl/xmss/LICENSE-MIT diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 918394b8c4..83d9337ca5 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -34,5 +34,6 @@ Karolin Varner Sebastian Verschoor (University of Waterloo) Thom Wiggers (Radboud University) Dindyal Jeevesh Rishi (University of Mauritius / cyberstorm.mu) +Duc Tri Nguyen See additional contributors at https://github.com/open-quantum-safe/liboqs/graphs/contributors diff --git a/src/sig_stfl/xmss/CMakeLists.txt b/src/sig_stfl/xmss/CMakeLists.txt index e1d287472f..dc57732e16 100644 --- a/src/sig_stfl/xmss/CMakeLists.txt +++ b/src/sig_stfl/xmss/CMakeLists.txt @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: Apache-2.0 AND MIT set(_XMSS_OBJS "") diff --git a/src/sig_stfl/xmss/LICENSE b/src/sig_stfl/xmss/LICENSE new file mode 100644 index 0000000000..90a1bebcfa --- /dev/null +++ b/src/sig_stfl/xmss/LICENSE @@ -0,0 +1,12 @@ +## License + +This XMSS reference implementation is Copyright (c) 2024 SandboxAQ and licensed under both the [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0.txt) and [MIT License](LICENSE-MIT). + +Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. + +This XMSS reference implementation is based on the [XMSS reference implementation written by Andreas Hülsing and Joost Rijneveld](https://github.com/XMSS/xmss-reference#license) provided under the CC0 1.0 Universal Public Domain Dedication. + + +## Disclaimer + +The software and documentation are provided "as is" and SandboxAQ hereby disclaims all warranties, whether express, implied, statutory, or otherwise. SandboxAQ specifically disclaims, without limitation, all implied warranties of merchantability, fitness for a particular purpose, title, and non-infringement, and all warranties arising from course of dealing, usage, or trade practice. SandboxAQ makes no warranty of any kind that the software and documentation, or any products or results of the use thereof, will meet any person's requirements, operate without interruption, achieve any intended result, be compatible or work with any software, system or other services, or be secure, accurate, complete, free of harmful code, or error-free. \ No newline at end of file diff --git a/src/sig_stfl/xmss/LICENSE-MIT b/src/sig_stfl/xmss/LICENSE-MIT new file mode 100644 index 0000000000..7b1af979f6 --- /dev/null +++ b/src/sig_stfl/xmss/LICENSE-MIT @@ -0,0 +1,9 @@ +The MIT License (MIT) + +Copyright © 2024 SandboxAQ + +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. diff --git a/src/sig_stfl/xmss/external/core_hash.c b/src/sig_stfl/xmss/external/core_hash.c index b27ad2ca9b..72fe4e9d5c 100644 --- a/src/sig_stfl/xmss/external/core_hash.c +++ b/src/sig_stfl/xmss/external/core_hash.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include #include "core_hash.h" diff --git a/src/sig_stfl/xmss/external/core_hash.h b/src/sig_stfl/xmss/external/core_hash.h index f350857d14..e292e4c06d 100644 --- a/src/sig_stfl/xmss/external/core_hash.h +++ b/src/sig_stfl/xmss/external/core_hash.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 AND MIT #ifndef CORE_HASH #define CORE_HASH diff --git a/src/sig_stfl/xmss/external/hash.c b/src/sig_stfl/xmss/external/hash.c index a6bac00724..557c8de7db 100644 --- a/src/sig_stfl/xmss/external/hash.c +++ b/src/sig_stfl/xmss/external/hash.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include diff --git a/src/sig_stfl/xmss/external/hash.h b/src/sig_stfl/xmss/external/hash.h index 076b3b56ec..bd1e1c1202 100644 --- a/src/sig_stfl/xmss/external/hash.h +++ b/src/sig_stfl/xmss/external/hash.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 AND MIT #ifndef XMSS_HASH_H #define XMSS_HASH_H diff --git a/src/sig_stfl/xmss/external/hash_address.c b/src/sig_stfl/xmss/external/hash_address.c index 7aacee5a58..a9fec506b5 100644 --- a/src/sig_stfl/xmss/external/hash_address.c +++ b/src/sig_stfl/xmss/external/hash_address.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include "hash_address.h" diff --git a/src/sig_stfl/xmss/external/hash_address.h b/src/sig_stfl/xmss/external/hash_address.h index 50ad17885e..06f5c502bd 100644 --- a/src/sig_stfl/xmss/external/hash_address.h +++ b/src/sig_stfl/xmss/external/hash_address.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 AND MIT #ifndef XMSS_HASH_ADDRESS_H #define XMSS_HASH_ADDRESS_H diff --git a/src/sig_stfl/xmss/external/namespace.h b/src/sig_stfl/xmss/external/namespace.h index 468388aa3b..7bb7d05349 100644 --- a/src/sig_stfl/xmss/external/namespace.h +++ b/src/sig_stfl/xmss/external/namespace.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 AND MIT #ifndef XMSS_NAMESPACE_H #define XMSS_NAMESPACE_H diff --git a/src/sig_stfl/xmss/external/params.c b/src/sig_stfl/xmss/external/params.c index fdb9c76f2c..f9ba544e47 100644 --- a/src/sig_stfl/xmss/external/params.c +++ b/src/sig_stfl/xmss/external/params.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include diff --git a/src/sig_stfl/xmss/external/params.h b/src/sig_stfl/xmss/external/params.h index 59b86d3da6..f75e3c97c5 100644 --- a/src/sig_stfl/xmss/external/params.h +++ b/src/sig_stfl/xmss/external/params.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 AND MIT #ifndef XMSS_PARAMS_H #define XMSS_PARAMS_H diff --git a/src/sig_stfl/xmss/external/utils.c b/src/sig_stfl/xmss/external/utils.c index 855f63654d..c2d76aba15 100644 --- a/src/sig_stfl/xmss/external/utils.c +++ b/src/sig_stfl/xmss/external/utils.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 AND MIT #include "utils.h" /** diff --git a/src/sig_stfl/xmss/external/utils.h b/src/sig_stfl/xmss/external/utils.h index fc5df634a6..14d8588ddc 100644 --- a/src/sig_stfl/xmss/external/utils.h +++ b/src/sig_stfl/xmss/external/utils.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 AND MIT #ifndef XMSS_UTILS_H #define XMSS_UTILS_H diff --git a/src/sig_stfl/xmss/external/wots.c b/src/sig_stfl/xmss/external/wots.c index 09db90e55c..a4bfae956d 100644 --- a/src/sig_stfl/xmss/external/wots.c +++ b/src/sig_stfl/xmss/external/wots.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include diff --git a/src/sig_stfl/xmss/external/wots.h b/src/sig_stfl/xmss/external/wots.h index 0ee55b5b10..e0e3f1d0a9 100644 --- a/src/sig_stfl/xmss/external/wots.h +++ b/src/sig_stfl/xmss/external/wots.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 AND MIT #ifndef XMSS_WOTS_H #define XMSS_WOTS_H diff --git a/src/sig_stfl/xmss/external/xmss.c b/src/sig_stfl/xmss/external/xmss.c index 53ea10c24a..17b40f5627 100644 --- a/src/sig_stfl/xmss/external/xmss.c +++ b/src/sig_stfl/xmss/external/xmss.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include "params.h" diff --git a/src/sig_stfl/xmss/external/xmss.h b/src/sig_stfl/xmss/external/xmss.h index b21db845d3..53d21e2dbd 100644 --- a/src/sig_stfl/xmss/external/xmss.h +++ b/src/sig_stfl/xmss/external/xmss.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 AND MIT #ifndef XMSS_H #define XMSS_H diff --git a/src/sig_stfl/xmss/external/xmss_commons.c b/src/sig_stfl/xmss/external/xmss_commons.c index 5f3818d184..168e6ffed5 100644 --- a/src/sig_stfl/xmss/external/xmss_commons.c +++ b/src/sig_stfl/xmss/external/xmss_commons.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include #include diff --git a/src/sig_stfl/xmss/external/xmss_commons.h b/src/sig_stfl/xmss/external/xmss_commons.h index dbe841c6bf..26eb537ee3 100644 --- a/src/sig_stfl/xmss/external/xmss_commons.h +++ b/src/sig_stfl/xmss/external/xmss_commons.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 AND MIT #ifndef XMSS_COMMONS_H #define XMSS_COMMONS_H diff --git a/src/sig_stfl/xmss/external/xmss_core.c b/src/sig_stfl/xmss/external/xmss_core.c index daaf6aa6e4..4d7e8de096 100644 --- a/src/sig_stfl/xmss/external/xmss_core.c +++ b/src/sig_stfl/xmss/external/xmss_core.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include #include diff --git a/src/sig_stfl/xmss/external/xmss_core.h b/src/sig_stfl/xmss/external/xmss_core.h index bed99862c5..007c42172a 100644 --- a/src/sig_stfl/xmss/external/xmss_core.h +++ b/src/sig_stfl/xmss/external/xmss_core.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 AND MIT #ifndef XMSS_CORE_H #define XMSS_CORE_H diff --git a/src/sig_stfl/xmss/external/xmss_core_fast.c b/src/sig_stfl/xmss/external/xmss_core_fast.c index 70b4b9774e..71b0f471ca 100644 --- a/src/sig_stfl/xmss/external/xmss_core_fast.c +++ b/src/sig_stfl/xmss/external/xmss_core_fast.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include #include diff --git a/src/sig_stfl/xmss/sig_stfl_xmss.h b/src/sig_stfl/xmss/sig_stfl_xmss.h index d1663f1720..4166cafcb7 100644 --- a/src/sig_stfl/xmss/sig_stfl_xmss.h +++ b/src/sig_stfl/xmss/sig_stfl_xmss.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: Apache-2.0 AND MIT #ifndef OQS_SIG_STFL_XMSS_H #define OQS_SIG_STFL_XMSS_H diff --git a/src/sig_stfl/xmss/sig_stfl_xmss_functions.c b/src/sig_stfl/xmss/sig_stfl_xmss_functions.c index bfdf3e023b..a19cdc7527 100644 --- a/src/sig_stfl/xmss/sig_stfl_xmss_functions.c +++ b/src/sig_stfl/xmss/sig_stfl_xmss_functions.c @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: MIT - +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include diff --git a/src/sig_stfl/xmss/sig_stfl_xmss_secret_key_functions.c b/src/sig_stfl/xmss/sig_stfl_xmss_secret_key_functions.c index cfeab4548e..40ad786c4e 100644 --- a/src/sig_stfl/xmss/sig_stfl_xmss_secret_key_functions.c +++ b/src/sig_stfl/xmss/sig_stfl_xmss_secret_key_functions.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include diff --git a/src/sig_stfl/xmss/sig_stfl_xmss_sha256_h10.c b/src/sig_stfl/xmss/sig_stfl_xmss_sha256_h10.c index 849839ef0d..ebcf4f7608 100644 --- a/src/sig_stfl/xmss/sig_stfl_xmss_sha256_h10.c +++ b/src/sig_stfl/xmss/sig_stfl_xmss_sha256_h10.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include diff --git a/src/sig_stfl/xmss/sig_stfl_xmss_sha256_h16.c b/src/sig_stfl/xmss/sig_stfl_xmss_sha256_h16.c index 53fd443a44..d401b2aa75 100644 --- a/src/sig_stfl/xmss/sig_stfl_xmss_sha256_h16.c +++ b/src/sig_stfl/xmss/sig_stfl_xmss_sha256_h16.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include diff --git a/src/sig_stfl/xmss/sig_stfl_xmss_sha256_h20.c b/src/sig_stfl/xmss/sig_stfl_xmss_sha256_h20.c index a95007730b..5cc2804754 100644 --- a/src/sig_stfl/xmss/sig_stfl_xmss_sha256_h20.c +++ b/src/sig_stfl/xmss/sig_stfl_xmss_sha256_h20.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include diff --git a/src/sig_stfl/xmss/sig_stfl_xmss_sha512_h10.c b/src/sig_stfl/xmss/sig_stfl_xmss_sha512_h10.c index 6c382dcabb..b77a8c8436 100644 --- a/src/sig_stfl/xmss/sig_stfl_xmss_sha512_h10.c +++ b/src/sig_stfl/xmss/sig_stfl_xmss_sha512_h10.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include diff --git a/src/sig_stfl/xmss/sig_stfl_xmss_sha512_h16.c b/src/sig_stfl/xmss/sig_stfl_xmss_sha512_h16.c index c9b2a3e51e..695d5de288 100644 --- a/src/sig_stfl/xmss/sig_stfl_xmss_sha512_h16.c +++ b/src/sig_stfl/xmss/sig_stfl_xmss_sha512_h16.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include diff --git a/src/sig_stfl/xmss/sig_stfl_xmss_sha512_h20.c b/src/sig_stfl/xmss/sig_stfl_xmss_sha512_h20.c index 817004658b..f4b579deec 100644 --- a/src/sig_stfl/xmss/sig_stfl_xmss_sha512_h20.c +++ b/src/sig_stfl/xmss/sig_stfl_xmss_sha512_h20.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include diff --git a/src/sig_stfl/xmss/sig_stfl_xmss_shake128_h10.c b/src/sig_stfl/xmss/sig_stfl_xmss_shake128_h10.c index 971b3de4ed..d216a02a15 100644 --- a/src/sig_stfl/xmss/sig_stfl_xmss_shake128_h10.c +++ b/src/sig_stfl/xmss/sig_stfl_xmss_shake128_h10.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include diff --git a/src/sig_stfl/xmss/sig_stfl_xmss_shake128_h16.c b/src/sig_stfl/xmss/sig_stfl_xmss_shake128_h16.c index 93abb5d6e2..bb0bd4684b 100644 --- a/src/sig_stfl/xmss/sig_stfl_xmss_shake128_h16.c +++ b/src/sig_stfl/xmss/sig_stfl_xmss_shake128_h16.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include diff --git a/src/sig_stfl/xmss/sig_stfl_xmss_shake128_h20.c b/src/sig_stfl/xmss/sig_stfl_xmss_shake128_h20.c index 1e320ed7ba..b601e09a4e 100644 --- a/src/sig_stfl/xmss/sig_stfl_xmss_shake128_h20.c +++ b/src/sig_stfl/xmss/sig_stfl_xmss_shake128_h20.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include diff --git a/src/sig_stfl/xmss/sig_stfl_xmss_shake256_h10.c b/src/sig_stfl/xmss/sig_stfl_xmss_shake256_h10.c index d67c17015b..33b685c20b 100644 --- a/src/sig_stfl/xmss/sig_stfl_xmss_shake256_h10.c +++ b/src/sig_stfl/xmss/sig_stfl_xmss_shake256_h10.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include diff --git a/src/sig_stfl/xmss/sig_stfl_xmss_shake256_h16.c b/src/sig_stfl/xmss/sig_stfl_xmss_shake256_h16.c index e938187119..02781a8600 100644 --- a/src/sig_stfl/xmss/sig_stfl_xmss_shake256_h16.c +++ b/src/sig_stfl/xmss/sig_stfl_xmss_shake256_h16.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include diff --git a/src/sig_stfl/xmss/sig_stfl_xmss_shake256_h20.c b/src/sig_stfl/xmss/sig_stfl_xmss_shake256_h20.c index 15f591466e..f4d856c34a 100644 --- a/src/sig_stfl/xmss/sig_stfl_xmss_shake256_h20.c +++ b/src/sig_stfl/xmss/sig_stfl_xmss_shake256_h20.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include diff --git a/src/sig_stfl/xmss/sig_stfl_xmssmt_functions.c b/src/sig_stfl/xmss/sig_stfl_xmssmt_functions.c index d1aa9e923d..a3a2257b1c 100644 --- a/src/sig_stfl/xmss/sig_stfl_xmssmt_functions.c +++ b/src/sig_stfl/xmss/sig_stfl_xmssmt_functions.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include diff --git a/src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h20_2.c b/src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h20_2.c index ab3c2d6765..3d90674459 100644 --- a/src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h20_2.c +++ b/src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h20_2.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include diff --git a/src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h20_4.c b/src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h20_4.c index 62df91e621..0305764855 100644 --- a/src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h20_4.c +++ b/src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h20_4.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include diff --git a/src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h40_2.c b/src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h40_2.c index 0ff6054cc6..19db158709 100644 --- a/src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h40_2.c +++ b/src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h40_2.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include diff --git a/src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h40_4.c b/src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h40_4.c index 721eba5f9f..0f17088d4b 100644 --- a/src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h40_4.c +++ b/src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h40_4.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include diff --git a/src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h40_8.c b/src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h40_8.c index 9433c61944..b985951514 100644 --- a/src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h40_8.c +++ b/src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h40_8.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include diff --git a/src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h60_12.c b/src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h60_12.c index edfc7239d6..60e3cae071 100644 --- a/src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h60_12.c +++ b/src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h60_12.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include diff --git a/src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h60_3.c b/src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h60_3.c index 1d66ba99cc..fc5cf35c23 100644 --- a/src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h60_3.c +++ b/src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h60_3.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include diff --git a/src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h60_6.c b/src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h60_6.c index e445cb05f8..6f055e949b 100644 --- a/src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h60_6.c +++ b/src/sig_stfl/xmss/sig_stfl_xmssmt_sha256_h60_6.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include diff --git a/src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h20_2.c b/src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h20_2.c index 13e9ae5d8e..98a085ce22 100644 --- a/src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h20_2.c +++ b/src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h20_2.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include diff --git a/src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h20_4.c b/src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h20_4.c index 1e1ac0915d..37ee00a20b 100644 --- a/src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h20_4.c +++ b/src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h20_4.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include diff --git a/src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h40_2.c b/src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h40_2.c index 3bc608f484..a4175423a7 100644 --- a/src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h40_2.c +++ b/src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h40_2.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include diff --git a/src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h40_4.c b/src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h40_4.c index 0bee9336da..bbadceea0f 100644 --- a/src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h40_4.c +++ b/src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h40_4.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include diff --git a/src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h40_8.c b/src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h40_8.c index 994393935f..14b3b50ffb 100644 --- a/src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h40_8.c +++ b/src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h40_8.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include diff --git a/src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h60_12.c b/src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h60_12.c index c60eecd101..74c378ac7e 100644 --- a/src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h60_12.c +++ b/src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h60_12.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include diff --git a/src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h60_3.c b/src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h60_3.c index 5c3242a8e1..f7bae2956c 100644 --- a/src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h60_3.c +++ b/src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h60_3.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include diff --git a/src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h60_6.c b/src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h60_6.c index 3874589c2f..33f714d702 100644 --- a/src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h60_6.c +++ b/src/sig_stfl/xmss/sig_stfl_xmssmt_shake128_h60_6.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: Apache-2.0 AND MIT #include #include