Article View: linux.kernel.netdev
Article #25661Re: [PATCH ipsec-next v4 0/4] xfrm: add ARIA CBC, CTR and GCM support
From: Steffen Klassert
Date: Wed, 02 Dec 2026 08:34
Date: Wed, 02 Dec 2026 08:34
37 lines
11037 bytes
11037 bytes
On Tue, Dec 01, 2026 at 09:15:49AM -0800, Eric Biggers wrote: > On Tue, Dec 01, 2026 at 09:09:16AM +0000, Hong In-su wrote: > > Hi Eric, > > > > I agree that AES has much broader support. I am not claiming > > any performance or cryptographic advantage of ARIA over AES. > > > > The motivation is to support cryptographic algorithm > > requirements in VPN products developed for the Korean market. > > > > Similar to Camellia and SM4, which are already supported by > > XFRM, ARIA is a nationally standardized block cipher with > > existing implementations in the Linux crypto API. > > > > The benefit is not to replace AES, but to allow users with > > specific algorithm requirements to use the existing ARIA > > implementations through XFRM without maintaining local > > kernel patches for each kernel version. > > > > I believe this is a useful addition for environments where > > ARIA support is needed. > > Camellia and SM4 are mistakes too and should be phased out too. Every > country does not need their own ciphers. > > South Korea (and I have to say South specifically, since North Korea has > their own ciphers) is also pushing an entirely different block cipher, > LEA. And SEED is already in the kernel too. So that's three block > ciphers for just one country, so they do not even agree on one. > > At this point I think we should just say no. There is a huge > maintenance cost to supporting all of these in the crypto layer. > (And as Antony pointed out this has no codepoint allocated in IKEv2.) Right, and without IKEv2 codepoints this is pretty useless. I don't apply this without the needed codepoints.
Technical Details
Message-ID:
<aw_YINcm2NPEPSl4@gauss4>Path:
mbox-mo1.pugleaf.net!news-wdc.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-375635-linux-kernel-netdev=dewy.ruReferences:
<20261201065711.GC7060@sol> <20261201090916.52414-1-his1415@pribit.com> <20261201171549.GA2023@sol>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-wdc.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-375635-linux-kernel-netdev=dewy.ru From: steffen.klassert@secunet.com (Steffen Klassert) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH ipsec-next v4 0/4] xfrm: add ARIA CBC, CTR and GCM support Date: Wed, 2 Dec 2026 09:34:40 +0100 Organization: Usenet Network Message-ID: <aw_YINcm2NPEPSl4@gauss4> References: <20261201065711.GC7060@sol> <20261201090916.52414-1-his1415@pribit.com> <20261201171549.GA2023@sol> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Injection-Info: usenet.network; logging-data="1923934"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:cCFaeWMVzhmTKgGXxMM7Xoc7oMA= sha256:56eRNY4UN/CVW6l9WCaUmYwphdTAXfXTxWfE1A5/5LM= sha1:zxtLv9may5QKTegM1LETW3wv0yQ= sha256:8Pg9veBwY25+Xl477UuA3FfeVXH8JbBwX6zBGUFJRPg= Content-Disposition: inline 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 B954D1175A6; Wed, 2 Dec 2026 11:35:23 +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=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=secunet.com 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 9UJB1H2qIIMP; Wed, 2 Dec 2026 11:35: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-375635-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=secunet.com X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id 9F5E811757C; Wed, 2 Dec 2026 11:35:08 +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 96CED2A7B8; Wed, 2 Dec 2026 08:35:01 +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=1796200498; b=s9l4FJ6HbWRdVR0TfnMJjeHkEINKZ98iEgpzVBjPr30U+23TtCn1V5ko3Wa46O60X8t7 E+JWfw3pgRGxIc4Zx+GvgyAsTASkXwDQeAiMhSiHQWtZ09k1+As9mpTRhH1bUhrOjJZQW dr4DAVlFQDIVOQrzVMMKaAhGYAQu30wnJkNtmHCt6gozbHeJTwbVDV1W3wFz9R+UjA1Mz iC5iTJv4vKMJBL6ePPEa/2xaVRmFikoS+Z6xRethlfZXjwJDoHL3AnURtPrbKK3uT0VqX qQA+L8RNw+Kr3xEXECTfbTtWfUQsWySa+SN8rSkmLyA79GrixQRiMeNDuXpVmHiPQsA== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796200498; h=X-Original-To:Received:DMARC-Filter:Received:X-Virus-Scanned: Received:Received:DKIM-Filter:DKIM-Signature:Received:Received:Date: From:To:CC:Subject:Message-ID:References:X-Mailing-List:List-Id: List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner: Precedence:MIME-Version:Content-Type:Content-Disposition:In-Reply-To: X-ClientProxiedBy; bh=9M16EQ9kjqAvbOOqKx53r6eo2KB0KusAk2JVZqXLLxM=; b=F1cYelU8r6KeHT5gXDZ4tH+vt3oMxBf5IygPP3APdaDDOONYzGnZg2OcGKS0Ty1ZdRSE dqkBwwkv7TrV0TXdt+bMz4+nYn6pbo0jJ7TTBGSwSdqdT5F43gdO9nlYnxuxUBQ3KFBqU fOIQKUz8w3V5SCBJ/PrlCbo8Wyfzo5BuXqBrRAUbtx7Xr1rR3fOMfegS6ar1+BYsUfgrp sKEASoQHGLbBty6/iYSCNwxEuVPZXe+C9xqcTo4CsPmSeO/xwJccCMn1ermyhHegz7aXq CKGJyEue6h+SJcf1AyPBK0QNjSMWHkO43K8wby6xsFQTlUkqnQ7enPm3ZCiBSEpoz8Q== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=secunet.com header.i=@secunet.com header.a=rsa-sha256 header.s=202301 header.b="oe/s9QBe"; dmarc=pass header.from=secunet.com; spf=pass smtp.mailfrom=secunet.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 5D824606A331; Wed, 2 Dec 2026 08:34:58 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=secunet.com header.i=@secunet.com header.a=rsa-sha256 header.s=202301 header.b=oe/s9QBe X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=62.96.220.36 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796200492; b=mv8NRhDQ779ps8kuM8fMUY2FN5E7MkU6l7OMpcv0nEpPBbc1iHY5gqlNTi9He5gPj+lD 11pfBTSOoCiAK9f1P/0fzVtEPXvGOYuu5Id4pQU6dI4fhewmi2eR/0R6+uW0KDac0J6bx c8wfLT1dC6WrA2cw8AsCQ0OP/EjXS+uOVXLjzNw4gEiVk3EwNYzCQoVKB1+H2V/hzysXO 2xiB6wy40DSWEb3bShf2l0CXucxZKXq5DILqjXmhxq25bxOPXe+tS5Bt6iLF+o4TixCyn BaB5nbL/lK47GGK/eVR3KJAxL+m0KMJ3h1i8Ogj6Tio+NQBuhIbYO1F+9hkPCI9kWkg== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796200492; h=DMARC-Filter:Received:X-Virus-Scanned:Received:Received:DKIM-Filter: DKIM-Signature:Received:Received:Date:From:To:CC:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To: X-ClientProxiedBy; bh=9M16EQ9kjqAvbOOqKx53r6eo2KB0KusAk2JVZqXLLxM=; b=FgVJhi4/hhjOa3sNT8oUOG9ByD6zk7UniEXk/+N70eMvC2Q6olQ5GtowgrpwqgMukl7V BOD8kJUiSWA0PDBVFBrDDbg26QyXA7js5MbP/EcpfsmBn8hxvoZgf3wQ1AsN8pia7WBZK lb47jYOewoYWxzLPXbWIiO3O225c+OLcY+FJkhqtQ8iExxax2SxwKpj4WsdXbT4rjCeCi uh71HOIP9anVautGDuUalKMXDU39tSmol6FQ6tV6A4zyxGKEw+3AeOpJM2COAfvtmyh/a 4Vl93wfwoqB+JoCz18OIUCdsrnIV4SPVAoGNEJoFcmYpDL0r1/XMCz8owSRp0L0JEYA== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=secunet.com; spf=pass smtp.mailfrom=secunet.com; dkim=pass header.d=secunet.com header.i=@secunet.com header.a=rsa-sha256 header.s=202301 header.b="oe/s9QBe"; arc=none smtp.remote-ip=62.96.220.36 X-Received: from mx1.secunet.com (mx1.secunet.com [62.96.220.36]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3F195606A329; Wed, 2 Dec 2026 08:34:50 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 3F195606A329 X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=secunet.com X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=secunet.com X-Received: from localhost (localhost [127.0.0.1]) by mx1.secunet.com (Postfix) with ESMTP id EA8C920841; Wed, 2 Dec 2026 09:34:42 +0100 (CET) X-Virus-Scanned: by secunet X-Received: from mx1.secunet.com ([127.0.0.1]) by localhost (mx1.secunet.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aL8p1nbfxjhW; Wed, 2 Dec 2026 09:34:42 +0100 (CET) X-Received: from EXCH-01.secunet.de (rl1.secunet.de [10.32.0.231]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.secunet.com (Postfix) with ESMTPS id C43522085F; Wed, 2 Dec 2026 09:34:41 +0100 (CET) X-DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.secunet.com C43522085F X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=secunet.com; s=202301; t=1796200481; bh=9M16EQ9kjqAvbOOqKx53r6eo2KB0KusAk2JVZqXLLxM=; h=Date:From:To:CC:Subject:References:In-Reply-To:From; b=oe/s9QBeBmboVyf993KCfz/mZLwoWHo7hGL/5Vy1ehjbqNFYfytgn6BKpnCfcLMCL lB13yK73iiEfISP2jfSZERr+XSudSnc20fQTvS6RGVmx4DF42qcjxpja1SPhyRQlbF nXEbJHCPV0V6/Qw95BZZQK4bnvHtDszmsqxIEq1r92NMoWZIXcLrM3ABWrmJwmlTWa 6gfw0wW11aUEdwCm+bjQAfiwjOIQG7NqNKqasLk03nqe4st8e0ksMJcvTI8vFbR1MA wMqODDld+YRqY+zRpR3YlVeXKIjobhPSsQDqETd/IJAjqmL8O7PKrcGmZTdeSFRQWU +ezt6vqKpdFdQ== X-Received: from gauss4 (10.182.7.102) by EXCH-01.secunet.de (10.32.0.171) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.49; Wed, 2 Dec 2026 09:34:41 +0100 X-Received: (nullmailer pid 2402856 invoked by uid 1000); Wed, 02 Dec 2026 08:34:40 -0000 X-CC: Hong In-su <his1415@pribit.com>, <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> 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-In-Reply-To: <20261201171549.GA2023@sol> X-ClientProxiedBy: EXCH-02.secunet.de (10.32.0.172) To EXCH-01.secunet.de (10.32.0.171)