[PATCH ipsec-next v3 0/2] xfrm: add ARIA algorithm support
From: Hong In-su
Date: Thu Nov 26 2026 - 21:07:13 EST
The kernel crypto API already provides ARIA implementations, but XFRM
does not have the corresponding algorithm descriptors.
This series adds support for ARIA CBC, RFC3686 CTR and GCM modes in
XFRM, allowing them to be used for ESP.
Following the feedback on v2, the CBC compatibility alias has been
removed. ARIA GCM support has also been added as a separate patch
after completing testing with strongSwan.
CBC and CTR have been tested with strongSwan. GCM has been tested
with 256-bit ARIA keys and all three ICV lengths (64, 96 and 128 bits).
Both patches pass checkpatch with --strict, and xfrm_algo.o builds
successfully against ipsec-next.
Changes in v3:
- Rebase onto ipsec-next.
- Change the patch prefix from net-next to ipsec-next.
- Remove the CBC compatibility alias.
- Add ARIA GCM support as a separate patch.
Changes in v2:
- Remove the CTR compatibility alias.
- Change the CBC default key length to 128 bits.
- Add a comment explaining the 32-bit nonce in the CTR key length.
v2: https://lore.kernel.org/netdev/20260916023135.26043-1-his1415@xxxxxxxxxx/
v1: https://lore.kernel.org/netdev/20260909054530.7861-1-his1415@xxxxxxxxxx/
Hong In-su (2):
xfrm: add ARIA CBC and CTR support
xfrm: add ARIA GCM support
net/xfrm/xfrm_algo.c | 62 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 62 insertions(+)
base-commit: 4d12fa4df5c15cebc587644e84b8f972874e66f1
--
2.43.0