Re: [PATCH ipsec-next v4 0/4] xfrm: add ARIA CBC, CTR and GCM support

From: Eric Biggers

Date: Wed Dec 02 2026 - 22:01:29 EST


On Thu, Dec 03, 2026 at 02:34:48AM +0000, Hong In-su wrote:
> 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.

IPsec already supports ChaCha20Poly1305 too, and a lot of effort has
been put into optimizing that for the various Linux architectures
already. So it's already quite well covered on that front, and the
national pride ciphers don't really bring anything new to the table.

> 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").

Yes, that's legacy code that should not have been accepted.

- Eric