From a0e29aa491a53a357e59e97f9d9d08a2b10f7b00 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Sun, 25 May 2025 15:52:46 +0900 Subject: [PATCH] Add SPDX headers and references to all source files --- .../Properties/AssemblyInfo.cs | 6 +-- .../ResourceTools/CitiQuery.cs | 2 +- .../WelsonJS.Launcher.csproj | 2 +- .../Properties/AssemblyInfo.cs | 6 +-- .../WelsonJS.Toolkit/Cryptography/LEA.cs | 51 ++++++++----------- .../WelsonJS.Toolkit/Cryptography/SEED.cs | 50 ++++++++---------- .../Properties/AssemblyInfo.cs | 6 +-- .../Serialization/KVSerializer.cs | 7 ++- 8 files changed, 57 insertions(+), 73 deletions(-) diff --git a/WelsonJS.Toolkit/WelsonJS.Launcher/Properties/AssemblyInfo.cs b/WelsonJS.Toolkit/WelsonJS.Launcher/Properties/AssemblyInfo.cs index 12b4e5c..8b48616 100644 --- a/WelsonJS.Toolkit/WelsonJS.Launcher/Properties/AssemblyInfo.cs +++ b/WelsonJS.Toolkit/WelsonJS.Launcher/Properties/AssemblyInfo.cs @@ -10,7 +10,7 @@ using System.Runtime.InteropServices; [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Catswords")] [assembly: AssemblyProduct("WelsonJS")] -[assembly: AssemblyCopyright("Catswords OSS, GPLv3 or Ms-RL")] +[assembly: AssemblyCopyright("2025 Catswords OSS and WelsonJS Contributors")] [assembly: AssemblyTrademark("WelsonJS")] [assembly: AssemblyCulture("")] @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호를 // 기본값으로 할 수 있습니다. // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.2.7.54")] -[assembly: AssemblyFileVersion("0.2.7.54")] +[assembly: AssemblyVersion("0.2.7.55")] +[assembly: AssemblyFileVersion("0.2.7.55")] diff --git a/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceTools/CitiQuery.cs b/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceTools/CitiQuery.cs index 6b6d14b..d0e3886 100644 --- a/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceTools/CitiQuery.cs +++ b/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceTools/CitiQuery.cs @@ -1,6 +1,6 @@ // CitiQuery.cs // SPDX-License-Identifier: GPL-3.0-or-later -// SPDX - FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors +// SPDX-FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors // https://github.com/gnh1201/welsonjs // using System; diff --git a/WelsonJS.Toolkit/WelsonJS.Launcher/WelsonJS.Launcher.csproj b/WelsonJS.Toolkit/WelsonJS.Launcher/WelsonJS.Launcher.csproj index 161757e..0c27148 100644 --- a/WelsonJS.Toolkit/WelsonJS.Launcher/WelsonJS.Launcher.csproj +++ b/WelsonJS.Toolkit/WelsonJS.Launcher/WelsonJS.Launcher.csproj @@ -1,4 +1,4 @@ - + diff --git a/WelsonJS.Toolkit/WelsonJS.Service/Properties/AssemblyInfo.cs b/WelsonJS.Toolkit/WelsonJS.Service/Properties/AssemblyInfo.cs index e5f5fab..329070a 100644 --- a/WelsonJS.Toolkit/WelsonJS.Service/Properties/AssemblyInfo.cs +++ b/WelsonJS.Toolkit/WelsonJS.Service/Properties/AssemblyInfo.cs @@ -10,7 +10,7 @@ using System.Runtime.InteropServices; [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Catswords")] [assembly: AssemblyProduct("WelsonJS")] -[assembly: AssemblyCopyright("Catswords OSS, GPLv3 or Ms-RL")] +[assembly: AssemblyCopyright("2025 Catswords OSS and WelsonJS Contributors")] [assembly: AssemblyTrademark("WelsonJS")] [assembly: AssemblyCulture("")] @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호를 // 기본값으로 할 수 있습니다. // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.2.7.54")] -[assembly: AssemblyFileVersion("0.2.7.54")] +[assembly: AssemblyVersion("0.2.7.55")] +[assembly: AssemblyFileVersion("0.2.7.55")] diff --git a/WelsonJS.Toolkit/WelsonJS.Toolkit/Cryptography/LEA.cs b/WelsonJS.Toolkit/WelsonJS.Toolkit/Cryptography/LEA.cs index 0492bb0..3fcd3e6 100644 --- a/WelsonJS.Toolkit/WelsonJS.Toolkit/Cryptography/LEA.cs +++ b/WelsonJS.Toolkit/WelsonJS.Toolkit/Cryptography/LEA.cs @@ -1,34 +1,10 @@ -/* - * WelsonJS.Toolkit: WelsonJS native component - * - * filename: - * LEA.cs - * - * description: - * LEA(KS X 3246:2016) cryptography algorithm implementation (Experimental) - * - * website: - * - https://github.com/gnh1201/welsonjs - * - https://catswords.social/@catswords_oss - * - https://teams.live.com/l/community/FEACHncAhq8ldnojAI - * - https://discord.gg/XKG5CjtXEj - * - * authors: - * - Namhyeon Go (@gnh1201) - * - KISA(Korea Internet & Security Agency) (kisa.or.kr) - * - National Security Research Institute (NSRI) - * - * references: - * - https://seed.kisa.or.kr/kisa/Board/20/detailView.do - * - https://committee.tta.or.kr/data/standard_view.jsp?order=t.kor_standard&by=asc&pk_num=TTAK.KO-12.0223&commit_code=TC5 - * - https://ics.catswords.net/LEA%20A%20128-Bit%20Block%20Cipher%20Datasheets-Korean.pdf - * - https://ics.catswords.net/LEA%20A%20128-Bit%20Block%20Cipher%20for%20Fast%20Encryption%20on%20Common%20Processors-English.pdf - * - https://ics.catswords.net/LEA-sourcecode-explanation.pdf - * - * license: - * GPLv3 or MS-RL(Microsoft Reciprocal License) - * - */ +// LEA.cs +// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors +// https://github.com/gnh1201/welsonjs +// +// LEA(KS X 3246:2016) cryptography algorithm implementation (Experimental) +// using System; using System.Security.Cryptography; using System.Text; @@ -347,3 +323,16 @@ namespace WelsonJS.Cryptography } } } + +/* References: + * [1] KISA(Korea Internet & Security Agency) - 블록암호 LEA + * https://seed.kisa.or.kr/kisa/Board/20/detailView.do + * [2] TTA(Telecommunications Technology Association) - TTAK.KO-12.0223, TTA표준화 위원회 + * https://committee.tta.or.kr/data/standard_view.jsp?order=t.kor_standard&by=asc&pk_num=TTAK.KO-12.0223&commit_code=TC5 + * [3] NSRI(National Security Research Institute) - 128비트 블록암호 LEA 규격서 + * https://ics.catswords.net/LEA%20A%20128-Bit%20Block%20Cipher%20Datasheets-Korean.pdf + * [4] ETRI, Pusan National University - LEA: A 128-Bit Block Cipher for Fast Encryption on Common Processors + * https://ics.catswords.net/LEA%20A%20128-Bit%20Block%20Cipher%20for%20Fast%20Encryption%20on%20Common%20Processors-English.pdf + * [5] NSRI(National Security Research Institute) - 블록암호 LEA 소스코드 사용 매뉴얼 + * https://ics.catswords.net/LEA-sourcecode-explanation.pdf + */ diff --git a/WelsonJS.Toolkit/WelsonJS.Toolkit/Cryptography/SEED.cs b/WelsonJS.Toolkit/WelsonJS.Toolkit/Cryptography/SEED.cs index dea41ac..265ae8f 100644 --- a/WelsonJS.Toolkit/WelsonJS.Toolkit/Cryptography/SEED.cs +++ b/WelsonJS.Toolkit/WelsonJS.Toolkit/Cryptography/SEED.cs @@ -1,33 +1,10 @@ -/* - * WelsonJS.Toolkit: WelsonJS native component - * - * filename: - * SEED.cs - * - * description: - * SEED(ISO/IEC 18033-3) cryptography algorithm implementation (Experimental) - * - * website: - * - https://github.com/gnh1201/welsonjs - * - https://catswords.social/@catswords_oss - * - https://teams.live.com/l/community/FEACHncAhq8ldnojAI - * - https://discord.gg/XKG5CjtXEj - * - * author: - * - Namhyeon Go (@gnh1201) - * - KISA(Korea Internet & Security Agency) (kisa.or.kr) - * - * references: - * - https://seed.kisa.or.kr/kisa/Board/17/detailView.do - * - https://www.iso.org/standard/54531.html - * - https://ics.catswords.net/SEED%2B128_Specification_english_M.pdf - * - https://ics.catswords.net/SEED_Algorithm_Specification_korean_M.pdf - * - https://ics.catswords.net/SEED_sourcecode_explanation_korean.pdf - * - * license: - * GPLv3 or MS-RL(Microsoft Reciprocal License) - * - */ +// SEED.cs +// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors +// https://github.com/gnh1201/welsonjs +// +// SEED(ISO/IEC 18033-3) cryptography algorithm implementation (Experimental) +// using System; namespace WelsonJS.Cryptography @@ -753,3 +730,16 @@ namespace WelsonJS.Cryptography } } } + +/* References: + * [1] KISA(Korea Internet & Security Agency) - SEED + * https://seed.kisa.or.kr/kisa/algorithm/EgovSeedInfo.do + * [2] ISO - ISO/IEC 18033-3:2010 - Information technology — Security techniques — Encryption algorithms - Part 3: Block ciphers + * https://www.iso.org/standard/54531.html + * [3] KISA(Korea Internet & Security Agency) - SEED 128 Algorithm Specification + * https://ics.catswords.net/SEED%2B128_Specification_english_M.pdf + * [4] KISA(Korea Internet & Security Agency) - SEED 128 알고리즘 상세 명세서 + * https://ics.catswords.net/SEED_Algorithm_Specification_korean_M.pdf + * [5] KISA(Korea Internet & Security Agency) - SEED 블록암호 알고리즘에 대한 소스코드 활용 매뉴얼 + * https://ics.catswords.net/SEED_sourcecode_explanation_korean.pdf + */ diff --git a/WelsonJS.Toolkit/WelsonJS.Toolkit/Properties/AssemblyInfo.cs b/WelsonJS.Toolkit/WelsonJS.Toolkit/Properties/AssemblyInfo.cs index 3530df6..2b79546 100644 --- a/WelsonJS.Toolkit/WelsonJS.Toolkit/Properties/AssemblyInfo.cs +++ b/WelsonJS.Toolkit/WelsonJS.Toolkit/Properties/AssemblyInfo.cs @@ -10,7 +10,7 @@ using System.Runtime.InteropServices; [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Catswords")] [assembly: AssemblyProduct("WelsonJS")] -[assembly: AssemblyCopyright("Catswords OSS, GPLv3 or Ms-RL")] +[assembly: AssemblyCopyright("2025 Catswords OSS and WelsonJS Contributors")] [assembly: AssemblyTrademark("WelsonJS")] [assembly: AssemblyCulture("")] @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호를 // 기본값으로 할 수 있습니다. // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.2.7.54")] -[assembly: AssemblyFileVersion("0.2.7.54")] +[assembly: AssemblyVersion("0.2.7.55")] +[assembly: AssemblyFileVersion("0.2.7.55")] diff --git a/WelsonJS.Toolkit/WelsonJS.Toolkit/Serialization/KVSerializer.cs b/WelsonJS.Toolkit/WelsonJS.Toolkit/Serialization/KVSerializer.cs index 5107f3c..c84f3b3 100644 --- a/WelsonJS.Toolkit/WelsonJS.Toolkit/Serialization/KVSerializer.cs +++ b/WelsonJS.Toolkit/WelsonJS.Toolkit/Serialization/KVSerializer.cs @@ -1,4 +1,9 @@ -using System.Collections.Generic; +// KVSerializer.cs +// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors +// https://github.com/gnh1201/welsonjs +// +using System.Collections.Generic; using System.Text; namespace WelsonJS.Serialization