Re: [PATCH ipsec-next v4 0/4] xfrm: add ARIA CBC, CTR and GCM support
From: Steffen Klassert
Date: Wed Dec 02 2026 - 03:35:07 EST
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.