From: Hong In-su <his1415@pribit.com>
To: steffen.klassert@secunet.com, ebiggers@kernel.org
Cc: antony@phenome.org, 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, his1415@pribit.com
Subject: Re: [PATCH ipsec-next v4 0/4] xfrm: add ARIA CBC, CTR and GCM support
Date: Thu, 3 Dec 2026 02:34:48 +0000 [thread overview]
Message-ID: <20261203023448.64310-1-his1415@pribit.com> (raw)
In-Reply-To: <aw_YINcm2NPEPSl4@gauss4>
Hi Steffen, Eric,
Thank you for your feedback.
I understand the concerns about interoperability and the
maintenance cost of supporting additional algorithms.
However, I would like to clarify a few points.
WireGuard and IPsec have different design philosophies.
While WireGuard deliberately uses a fixed set of cryptographic
algorithms to reduce complexity, IPsec is designed to provide
cryptographic algorithm independence and flexibility.
RFC 4301, Section 2.1 explicitly describes cryptographic
algorithm independence as a design goal of IPsec, including
the ability for different user communities to select different
sets of cryptographic algorithms.
https://www.rfc-editor.org/rfc/rfc4301.html#section-2.1
While AES is currently well supported and considered secure,
no cryptographic algorithm can be assumed to remain secure
indefinitely.
DES, MD5 and SHA-1 were once widely accepted and standardized,
but advances in cryptanalysis and computing capabilities
eventually led to their deprecation in security-sensitive
applications.
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.
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").
The proposed XFRM changes reuse these existing implementations.
I acknowledge that extending their use to XFRM introduces
additional testing and maintenance requirements.
Regarding IKEv2 codepoints, I agree that standardized
assignments are important for interoperability between
independent IKEv2 implementations.
However, XFRM is independent of the key management protocol.
With these changes, users can configure ARIA-based IPsec SAs
and policies directly using "ip xfrm state" and "ip xfrm policy",
without involving an IKEv2 implementation.
To verify this, I tested ARIA-CBC ESP tunnel communication
with HMAC-SHA256 on Linux 6.8 with the corresponding XFRM
algorithm descriptor backported, using only iproute2 commands
without an IKE daemon.
All five ICMP echo requests and replies succeeded with no
packet loss. Both XFRM SA counters and packet captures
confirmed successful bidirectional ESP communication.
While manually configured SAs are not a substitute for
automated key management in production, the absence of
assigned IKEv2 codepoints does not make ARIA support in
XFRM technically useless.
Nevertheless, following your feedback, I have contacted IANA
to inquire about obtaining the necessary IKEv2 transform IDs
based on the existing ARIA IPsec Internet-Draft:
https://datatracker.ietf.org/doc/draft-nsri-ipsecme-aria-ipsec/
IANA has acknowledged receipt of my inquiry, and I will wait
for their response before proceeding with the next revision
of this series.
Thanks,
Hong In-su
next prev parent reply other threads:[~2026-12-03 2:36 UTC|newest]
Thread overview: 15+ 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
2026-12-02 8:34 ` Steffen Klassert
2026-12-03 2:34 ` Hong In-su [this message]
2026-12-03 3:01 ` Eric Biggers
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=20261203023448.64310-1-his1415@pribit.com \
--to=his1415@pribit.com \
--cc=andrew+netdev@lunn.ch \
--cc=antony@phenome.org \
--cc=csh0052@gmail.com \
--cc=davem@davemloft.net \
--cc=ebiggers@kernel.org \
--cc=edumazet@kernel.org \
--cc=herbert@gondor.apana.org.au \
--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