From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=35.216.20.220 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795745181; b=F7pDeGyxP0M+w8ZWnfVj2jEhqJQ/gWi0HHjte30WtRiX8LzFlxYnXvdbpXApoe1vTXDZ pmbQRfC3AFGsCoUHCPuz9Pd+KsSlSeiqXGuXl+MKuAklW7x1DKAcSHHi4xV9kxjrs880m ud5fz67NpiiIYOCjpxGzkP3SGc1TbcnINxrnbwFTKSWZ3AyTKuZFcmen4WcUt2l788HTO SqIb6Xtq+85LVdMPwTnyPJHoG/QZAJjiHghB8GDbtOygaXy/Yk9QMbYXciNATunvz83qF y54wCrerceOnnTKyYRV9dw6t4ynZsQToJ1MwJQbOXFKtggxPxef60x+PhhNU/kFa4XQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795745181; h=DMARC-Filter:Received-SPF:Received:From:To:Cc:Subject: X-TERRACE-DUMMYSUBJECT:Date:Message-ID:X-Mailer:MIME-Version: Content-Transfer-Encoding:X-TERRACE-SPAMMARK:X-TERRACE-SUPERWHITEIP: X-TERRACE-SID:X-TERRACE-CLASSID; bh=2EpZrtGEMPK9NWnN0bs8rXBtgCgd9BHgE1mJXOO9qGw=; b=iS9nVGYQWgQeBQwYgwLEJV0bFJ2u6oSxEDzyXklyaYyPpWBZZb39omyh/dkYrelnhoFY CpGzqmK9aLVQ0DqHg6yokxvPOLfcVoWo3R1U1A5TKymGKa32yeaCLlBPsKZERnpaJuSNF M1/8I6JRSye37W3PaGvylu7ADnO8zbYmrStaCntNQMhyIuj/KJiYWeDQJBsnMtJIwri8t vH056qYZ5JHgBk8dk8WXQNljcNssUimUXfRLIsSvXfkm7U9LDlGVTBaiZJxf/hdkmhesm fWuOXksGr5YOn1tael+tp5uFcm+1KT234XkazwIBCp2p86kmzqiYVwmjrg0BNvHn3lQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=pribit.com; spf=pass smtp.mailfrom=pribit.com; arc=none smtp.remote-ip=35.216.20.220 Received: from prod-dose-smtp-3.daouoffice.com (prod-dose-smtp-3.daouoffice.com [35.216.20.220]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BD3D4606A323; Fri, 27 Nov 2026 02:06:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org BD3D4606A323 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=pribit.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pribit.com Received-SPF: SoftFail client-ip="106.245.249.210" envelope-from="his1415@pribit.com" Received: from [106.245.249.210] ([106.245.249.210]) by prod-dose-smtp-3.daouoffice.com ([10.37.10.10]) with ESMTP id 1795745088.533197.140503668266560.prod-dose-smtp-3 for <>; Fri, 27 Nov 2026 11:04:48 +0900 (KST) From: Hong In-su To: steffen.klassert@secunet.com, herbert@gondor.apana.org.au Cc: davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, sd@queasysnail.net, netdev@vger.kernel.org, ipsec@lists.linux.dev, linux-kernel@vger.kernel.org, his1415@pribit.com Subject: [PATCH ipsec-next v3 0/2] xfrm: add ARIA algorithm support X-TERRACE-DUMMYSUBJECT: Terrace Spam system * Date: Fri, 27 Nov 2026 02:04:46 +0000 Message-ID: <20261127020448.55891-1-his1415@pribit.com> X-Mailer: git-send-email 2.43.0 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TERRACE-SPAMMARK: NO (SR:12.27) (by Terrace) X-TERRACE-SUPERWHITEIP: pribit_com_packetgoOS X-TERRACE-SID: 1795745088.533197.140503668266560.prod-dose-smtp-3 X-TERRACE-CLASSID: Terrace Spam system The kernel crypto API already provides ARIA implementations, but XFRM does not have the corresponding algorithm descriptors. This series adds support for ARIA CBC, RFC3686 CTR and GCM modes in XFRM, allowing them to be used for ESP. Following the feedback on v2, the CBC compatibility alias has been removed. ARIA GCM support has also been added as a separate patch after completing testing with strongSwan. CBC and CTR have been tested with strongSwan. GCM has been tested with 256-bit ARIA keys and all three ICV lengths (64, 96 and 128 bits). Both patches pass checkpatch with --strict, and xfrm_algo.o builds successfully against ipsec-next. Changes in v3: - Rebase onto ipsec-next. - Change the patch prefix from net-next to ipsec-next. - Remove the CBC compatibility alias. - Add ARIA GCM support as a separate patch. Changes in v2: - Remove the CTR compatibility alias. - Change the CBC default key length to 128 bits. - Add a comment explaining the 32-bit nonce in the CTR key length. v2: https://lore.kernel.org/netdev/20260916023135.26043-1-his1415@pribit.com/ v1: https://lore.kernel.org/netdev/20260909054530.7861-1-his1415@pribit.com/ Hong In-su (2): xfrm: add ARIA CBC and CTR support xfrm: add ARIA GCM support net/xfrm/xfrm_algo.c | 62 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) base-commit: 4d12fa4df5c15cebc587644e84b8f972874e66f1 -- 2.43.0