From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=35.216.41.104 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== 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== 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 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) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 62EF8606A322 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-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) From: Hong In-su To: steffen.klassert@secunet.com, ebiggers@kernel.org 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 Subject: Re: [PATCH ipsec-next v4 0/4] xfrm: add ARIA CBC, CTR and GCM support X-TERRACE-DUMMYSUBJECT: Terrace Spam system * Date: Thu, 3 Dec 2026 02:34:48 +0000 Message-ID: <20261203023448.64310-1-his1415@pribit.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: X-Mailing-List: netdev@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: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 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