From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796145352; b=WjtmvKaAr1a+XjRU7u+L+zI4a4H2nPYL2Rhl2lO+EZHqLlJR7cGwaWsspwDYnUS+9KEW BTX7DBxzbFW9l9fI0NIYZ21vyjCcxElITKHG18YnDDHSLMqBOsJX/Glwy4f1jg8a4xhMP FusvhhrQWc2oatig7i8V60up2EP6e5O5R5/5xgmutpuAMEV1PNZJZSpbf83yytizFxJTx 0bxtP8FW+8TtXg1AbF2A0Po0EJbros5u1Q83QjJz4/L2KbXsQT7K8hdHM/rCbObL29IMS mReiA14cwTMe46+pM/6tl2ckVFYar7xYJjyyLGygT9JTh2jxsBK3zMVJ+kguJNCS9cw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796145352; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=wmRmcmLZihxYl9HYi1adjYOXGDpNjHZ8nYfAzpZsx2o=; b=0+aWb4DMKla1mhTfPgNEFQ/H3qTUIpKGVQeApSvqeZqae2X0Yc6RSDk9jdv1cuO0u6KE 9Di8kxm0wsCpMNtQ4hsEseU2kUU0A77Fooj0x5+pgI8yb6fenSFI6oupb1tR6NPBz0/Q2 BFurAXeE/fDOKsUcd76b6wgUluboAifUoeE38uusY0pLiEB+/s355/db4YseSXIxxXm9b c8zFAHaqckQtcV09W8rjTbVHgU6RlQpgURAx+qH3TXeIftFwJKNBbGZNPEJcjEMlaOl8G wbVOB6Dopgw8EztUig8sYlqHJsersf/rzv/H/IYWdktN7hEIaz61LdXxOBujQCMDflg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=m11u3NeG; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6BC65606A32E; Tue, 1 Dec 2026 17:15:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=m11u3NeG Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5AD491F00923; Tue, 1 Dec 2026 17:15:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796145351; bh=wmRmcmLZihxYl9HYi1adjYOXGDpNjHZ8nYfAzpZsx2o=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=m11u3NeGgq9RHAjx6/AEzK7KxcOMgYZ8TzUzhURMhx/8Z7p9445cbC4JfU8HNhPgx kpo+yxPNIu2ChFoic5g/4aLCgZ7+J8Xc8dbmDa12qCyAjvKRwupawZCzt74QxWzvrK OAaFnkeYBZrRn7CMGeoKwLPTcCiCup36ADgXe22gJXJw96iozwkk12/qrlBVp35Mc4 E9syeCI6PPaUi4+MWGAvPmoWPCUawLbLl7ET69L/StwAVOYWToFVe6hMu4RLrUm6au oTQtq5RJD8myxGXx4nlk6Oje/ZA7SrQEVidPqHty48Ov3uf2k6CfrmsX4EhPTysbN0 uLf3I/SsaKX+w== Date: Tue, 1 Dec 2026 09:15:49 -0800 From: Eric Biggers To: Hong In-su Cc: steffen.klassert@secunet.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 Subject: Re: [PATCH ipsec-next v4 0/4] xfrm: add ARIA CBC, CTR and GCM support Message-ID: <20261201171549.GA2023@sol> References: <20261201065711.GC7060@sol> <20261201090916.52414-1-his1415@pribit.com> X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261201090916.52414-1-his1415@pribit.com> 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.) You should just use AES. - Eric