Article View: linux.kernel.netdev
Article #23289[PATCH ipsec-next v3 0/2] xfrm: add ARIA algorithm support
From: Hong In-su
Date: Fri, 27 Nov 2026 02:04
Date: Fri, 27 Nov 2026 02:04
42 lines
9045 bytes
9045 bytes
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
Technical Details
Message-ID:
<20261127020448.55891-1-his1415@pribit.com>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-372407-linux-kernel-netdev=dewy.ruShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-372407-linux-kernel-netdev=dewy.ru
From: his1415@pribit.com (Hong In-su)
Newsgroups: linux.kernel.netdev
Subject: [PATCH ipsec-next v3 0/2] xfrm: add ARIA algorithm support
Date: Fri, 27 Nov 2026 02:04:46 +0000
Organization: Usenet Network
Message-ID: <20261127020448.55891-1-his1415@pribit.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
logging-data="615383"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:pnNuk0L4jel2hv1w8eoKBe1nOkI= sha256:whqwnIDBn6tUQbw0pz2rxWB4oOzSfKLnnYyjuLEPTnA=
sha1:G0sqdAbvYPBySPZ5FeCEp5ZOik0= sha256:HZgBNgX83/+yDx677flaziWZIa55YWEg0GgnjNIexus=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
by mail.dewy.ru (Postfix) with ESMTP id 27599125F0D; Fri, 27 Nov 2026 05:06:43 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.051
X-Spam-Status: No, score=-3.051 tagged_above=-9999 required=6.31
tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1,
RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
autolearn=ham autolearn_force=no
X-Received: from mail.dewy.ru ([127.0.0.1])
by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id tSam0imkdFq7;
Fri, 27 Nov 2026 05:06:38 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-372407-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=pribit.com
X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
by mail.dewy.ru (Postfix) with ESMTPS id 1FD96125F0A; Fri, 27 Nov 2026 05:06:33 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sto.lore.kernel.org (Postfix) with ESMTP id F238D606884; Fri, 27 Nov 2026 02:06:32 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1795745192;
b=znq/XxZ4cNFk471eWNIQsSagc9VaAT2rcCRVBPyuFVMWmTopJbATt75lMx+5IwZi1Thw
M5mwFLYDDeIgKtm5Wcv9IKcCZe/iXFCdTJ8gNfvgBLEgs1S+1bQKhyI5jBdv4zPHopIj8
6d+OVc9bjVLZoL4WhN4Cvr9mX555ZD7Ztsg/dW7Q8gWTaiaetUGvlEOeRtDtycDQSnqVB
ImZ0cMmb3QbTx5c8+cyLjDHLeAeQlThUJwUitENZL2z6ofAIrPBsPqvtav9kg5n9JMJcJ
Zt3wy8jl4rLpevpq8b1KrBdMTATVvmBuFZC8JDgpLd15SJ2VqUJhk/Kd9m+JqnbdO3g==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1795745192;
h=X-Original-To:Received:DMARC-Filter:Received-SPF:Received:From:To:Cc:
Subject:X-TERRACE-DUMMYSUBJECT:Date:Message-ID:X-Mailer:
X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
List-Unsubscribe:List-Owner:Precedence:MIME-Version:
Content-Transfer-Encoding:X-TERRACE-SPAMMARK:X-TERRACE-SUPERWHITEIP:
X-TERRACE-SID:X-TERRACE-CLASSID;
bh=2EpZrtGEMPK9NWnN0bs8rXBtgCgd9BHgE1mJXOO9qGw=;
b=Z25kWFDffNaJiGXUv9PIK7qefpdYWsySp8PBnRjHtentZNEsBprfhnftLKIPzY2BHbGC
q82R5pyOp2Cl6sEmkuwYk7auf1yj2n/VmgB9F5L16oZMJ46v1TA6cvLTeT6ba6+UqFqWy
rW8l/iU1BULYNAa/j4LBRfbVP9fHfZqjzpv3RF5NM0k+7en4kWp2uEpmuHcdR8TAI2aI8
4kRkINJ9+L25xiV3cqgeoB1Hr8M8qhbbRWfn/dXxJUySkLPZrPLwq4OM0FgTyQYPQbqI4
UZGsGGDhqTvfn80Ouw5evvmwnNG8vmz2kFkmj4U9nI05mH2UOljbmlB2YPQ741SX1bg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dmarc=pass header.from=pribit.com;
spf=pass smtp.mailfrom=pribit.com;
arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 0EFCA606A321;
Fri, 27 Nov 2026 02:06:32 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=35.216.20.220
X-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==
X-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==
X-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
X-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)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org BD3D4606A323
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=pribit.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pribit.com
X-Received-SPF: SoftFail
client-ip="106.245.249.210" envelope-from="his1415@pribit.com"
X-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)
X-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
X-TERRACE-DUMMYSUBJECT: Terrace Spam system *
X-Mailer: git-send-email 2.43.0
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
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