Netdev List
 help / color / mirror / Atom feed
From: Eric Biggers <ebiggers@kernel.org>
To: Hong In-su <his1415@pribit.com>
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
Date: Tue, 1 Dec 2026 09:15:49 -0800	[thread overview]
Message-ID: <20261201171549.GA2023@sol> (raw)
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

      reply	other threads:[~2026-12-01 17:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30  6:27 [PATCH ipsec-next v4 0/4] xfrm: add ARIA CBC, CTR and GCM support Hong In-su
2026-11-30  6:27 ` [PATCH ipsec-next v4 1/4] nfp: reject unsupported IPsec encryption algorithms Hong In-su
2026-12-01  6:30   ` netdev-bot+sashiko
2026-11-30  6:27 ` [PATCH ipsec-next v4 2/4] crypto: testmgr - add ARIA RFC3686 and RFC4106 test vectors Hong In-su
2026-11-30  6:27 ` [PATCH ipsec-next v4 3/4] xfrm: add ARIA CBC and CTR support Hong In-su
2026-11-30  6:27 ` [PATCH ipsec-next v4 4/4] xfrm: add ARIA GCM support Hong In-su
2026-12-01  6:30   ` netdev-bot+sashiko
2026-11-30  7:46 ` [PATCH ipsec-next v4 0/4] xfrm: add ARIA CBC, CTR and " Antony Antony
2026-11-30  8:18   ` Hong In-su
2026-12-01  6:57 ` Eric Biggers
2026-12-01  9:09   ` Hong In-su
2026-12-01 17:15     ` Eric Biggers [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261201171549.GA2023@sol \
    --to=ebiggers@kernel.org \
    --cc=andrew+netdev@lunn.ch \
    --cc=csh0052@gmail.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=herbert@gondor.apana.org.au \
    --cc=his1415@pribit.com \
    --cc=horms@kernel.org \
    --cc=ipsec@lists.linux.dev \
    --cc=kuba@kernel.org \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=oss-drivers@corigine.com \
    --cc=pabeni@redhat.com \
    --cc=sd@queasysnail.net \
    --cc=steffen.klassert@secunet.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox