🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #26104

Re: [PATCH ipsec-next v4 0/4] xfrm: add ARIA CBC, CTR and GCM support

#26104
From: Hong In-su
Date: Thu, 03 Dec 2026 02:34
83 lines
11242 bytes
Hi Steffen, Eric,

Thank you for your feedback.

I understand the concerns about interoperability and the
maintenance cost of supporting additional algorithms.
However, I would like to clarify a few points.

WireGuard and IPsec have different design philosophies.
While WireGuard deliberately uses a fixed set of cryptographic
algorithms to reduce complexity, IPsec is designed to provide
cryptographic algorithm independence and flexibility.

RFC 4301, Section 2.1 explicitly describes cryptographic
algorithm independence as a design goal of IPsec, including
the ability for different user communities to select different
sets of cryptographic algorithms.

https://www.rfc-editor.org/rfc/rfc4301.html#section-2.1

While AES is currently well supported and considered secure,
no cryptographic algorithm can be assumed to remain secure
indefinitely.

DES, MD5 and SHA-1 were once widely accepted and standardized,
but advances in cryptanalysis and computing capabilities
eventually led to their deprecation in security-sensitive
applications.

This is not to suggest that AES is currently insecure or that
ARIA is inherently more secure than AES. Rather, I believe
that relying exclusively on a single block cipher may limit
our ability to respond to future cryptographic developments.

Preserving cryptographic agility and maintaining viable
alternatives, rather than converging on a single block cipher,
is consistent with the design goals of IPsec.

Furthermore, ARIA is not a new cipher implementation being
introduced into the kernel. It is already supported by the
Linux crypto API and has been supported by kTLS since commit
62e56ef57c04 ("net: tls: Add ARIA-GCM algorithm").

The proposed XFRM changes reuse these existing implementations.
I acknowledge that extending their use to XFRM introduces
additional testing and maintenance requirements.

Regarding IKEv2 codepoints, I agree that standardized
assignments are important for interoperability between
independent IKEv2 implementations.

However, XFRM is independent of the key management protocol.
With these changes, users can configure ARIA-based IPsec SAs
and policies directly using "ip xfrm state" and "ip xfrm policy",
without involving an IKEv2 implementation.

To verify this, I tested ARIA-CBC ESP tunnel communication
with HMAC-SHA256 on Linux 6.8 with the corresponding XFRM
algorithm descriptor backported, using only iproute2 commands
without an IKE daemon.

All five ICMP echo requests and replies succeeded with no
packet loss. Both XFRM SA counters and packet captures
confirmed successful bidirectional ESP communication.

While manually configured SAs are not a substitute for
automated key management in production, the absence of
assigned IKEv2 codepoints does not make ARIA support in
XFRM technically useless.

Nevertheless, following your feedback, I have contacted IANA
to inquire about obtaining the necessary IKEv2 transform IDs
based on the existing ARIA IPsec Internet-Draft:

https://datatracker.ietf.org/doc/draft-nsri-ipsecme-aria-ipsec/

IANA has acknowledged receipt of my inquiry, and I will wait
for their response before proceeding with the next revision
of this series.

Thanks,
Hong In-su
Technical Details
Message-ID: <20261203023448.64310-1-his1415@pribit.com>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376236-linux-kernel-netdev=dewy.ru
References: <aw_YINcm2NPEPSl4@gauss4>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376236-linux-kernel-netdev=dewy.ru
From: his1415@pribit.com (Hong In-su)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH ipsec-next v4 0/4] xfrm: add ARIA CBC, CTR and GCM support
Date: Thu,  3 Dec 2026 02:34:48 +0000
Organization: Usenet Network
Message-ID: <20261203023448.64310-1-his1415@pribit.com>
References: <aw_YINcm2NPEPSl4@gauss4>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2123801"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:IQZyxlpK143hCIQthHKXiuy3Hn0= sha256:k7pVvxTPnCWqr1ingbpSYhYU0yB/QUrvtKY8C/e/Bzw=
	sha1:VGvChQRDY8IqcCQxLRqqBec8rNk= sha256:Thgh/9A6H46NhR4LWvvpNtpxybx/QUlRufLi2LjCwuU=
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 1641B1177EF; Thu,  3 Dec 2026 05:37:21 +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 N_wR2GKFfHQ4;
	Thu,  3 Dec 2026 05:37:17 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-376236-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 tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 722271177E7; Thu,  3 Dec 2026 05:37:10 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id 3479C28B81; Thu,  3 Dec 2026 02:37:07 +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=1796265424;
	b=gqgFS+AhkSeI74sSNsSitMnV1XpK7NVyAxvbQXeApVOrXmz+Kln5Yi6PxAq/rQJoOxDl
	 3vhCK6noLRQtdjGl2X42Q1OnmB8gCzeUySdD5LpeHYtPE8LU/vJXkhjZb/xTlWbY0okKN
	 2SCIaLsoJUAQh9UnnsWH5ZyDJgKZpLDZ1+3OLivXL1Sx0ZMBIKXqnmjAxEeT+lajDFHrY
	 QabRghVrobiXTafSu0DwUh8gJUd1xnXvkOPUv4RTVmp89dnDkx8ffiJiT5mJ92dxXMndw
	 ZhJXPYr1+StXoFDWOn1BfWPMqSsb7eSwrkjSncnPSGs6oQHzBDdVQXvay3sUeupMVqw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796265424;
	h=X-Original-To:Received:DMARC-Filter:Received-SPF:Received:From:To:Cc:
	 Subject:X-TERRACE-DUMMYSUBJECT:Date:Message-ID:X-Mailer:In-Reply-To:
	 References: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=vBBNk5yCR/XFBQEogUHCnmODraF+LfzkPgpCOMnGKZU=;
	b=p/FyStB/DqvHM31/gpVftbNuFXhbGcMOMEyMJiXTUlQirWtvB3qPsIuDLKc4ckg5jfcx
	 eV86deRGDUJOaCdgQxzR3bxYcDM+L7NA3gqhEZcdtsHg9030wGyCVh3eyh9zJryXkDehW
	 Qke2gD1+6iZ50l244zFlDRlr9CQJ3kBMaH2cIEexJWtmWiULYLnzgAMtIbeyhB6Kr/yKC
	 Ysvyw+n/lYoV2rLgd5TF7wXUUdkII5RK7OcWH4nNJN8piCSGH1wUad2Z6Yl/TRX06aAOo
	 sXfY//w21zW4Aj19WhyzIwoY9QH/g4NbJkLJMm4p66KH4k9SWR21/MqpPQOMwQ9Sekg==
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 CB677606A336;
	Thu,  3 Dec 2026 02:37:04 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=35.216.41.104
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1796265419;
	b=aya5DgUef5Nv140Jp+/eYiAlC8NMYztVmAmjrVNgXEZh0FHHJmgyqzFBvKQneo/si3KN
	 WOL2IA2yBH+BEuBsXRpayAaT8Hn4EGqx59nmtK10IgFqn1gsycpH1vUlaJjQkC4q4qlH3
	 ukcJMda/sd9qjoW0a2YF4bPZfiQiSW8Lu01l4OwH8NHOuciYGJZgzLdBi14SW8zgJeuXF
	 PnsBeNZ/rtOptG6a4O+COKMywaBvsQkOk7gYVKmgYBjAbJHL3laL87uUp72Rmp1r64mEq
	 /Pytjrh+x1FBTE2Cl6klK7KToKX0mUNmq3ixX7ukeMLjSnpJNL0lzgX4o1phLpDM39w==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796265419;
	h=DMARC-Filter:Received-SPF:Received:From:To:Cc:Subject:
	 X-TERRACE-DUMMYSUBJECT:Date:Message-ID:X-Mailer:In-Reply-To:
	 References:MIME-Version:Content-Transfer-Encoding:X-TERRACE-SPAMMARK:
	 X-TERRACE-SUPERWHITEIP:X-TERRACE-SID:X-TERRACE-CLASSID;
	bh=vBBNk5yCR/XFBQEogUHCnmODraF+LfzkPgpCOMnGKZU=;
	b=bQn/DWC1ydViKWh77gKBq9a3fafT6wH0r/p5wWY6CM9+tfpGyXQpnSxVuOGrr850UyQP
	 v1vE3XBr8quJKPhBaizkCtwGXTV6XvDdaKw5Sgw4JTpa7D3T0aGJjipJab6yIIHpM6+4d
	 K/ls7ShTOh4swJct/9osHtpp8alXEqpm1OE8cwlwClrbtoYJKRK7mEZ2yRH/peSHZ/qWu
	 SN+rvdWnIH45w2Kuzn4j0ZJwVhw4TtcZO8vQi+oQhMXPYJCe4lwA4Z3riXO5KEeqYLg4S
	 TzKQJ0KBv5DL5DNKfyhnmXRF2jOQE7YWqNrUihQD0kPsgwkcy0++y0EmigyMVP6mIWg==
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.41.104
X-Received: from prod-dose-smtp-2.daouoffice.com (prod-dose-smtp-2.daouoffice.com [35.216.41.104])
	(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 62EF8606A322;
	Thu,  3 Dec 2026 02:36:58 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 62EF8606A322
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-2.daouoffice.com ([10.37.10.9]) 
          with ESMTP id 1796265289.103939.140287189849664.prod-dose-smtp-2
          for <>; 
          Thu, 03 Dec 2026 11:34:49 +0900 (KST) 
X-Cc: antony@phenome.org,
	herbert@gondor.apana.org.au,
	davem@davemloft.net,
	edumazet@kernel.org,
	kuba@kernel.org,
	pabeni@redhat.com,
	horms@kernel.org,
	sd@queasysnail.net,
	andrew+netdev@lunn.ch,
	csh0052@gmail.com,
	oss-drivers@corigine.com,
	linux-crypto@vger.kernel.org,
	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-In-Reply-To: <aw_YINcm2NPEPSl4@gauss4>
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:31.14)                     
  (by Terrace)                                                  
X-TERRACE-SUPERWHITEIP: pribit_com_packetgoOS
X-TERRACE-SID: 1796265289.103939.140287189849664.prod-dose-smtp-2
X-TERRACE-CLASSID: Terrace Spam system