🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #24312

Re: [PATCH ipsec-next v3 2/2] xfrm: add ARIA GCM support

#24312
From: Hong In-su
Date: Mon, 30 Nov 2026 02:10
21 lines
8468 bytes
Thanks for the review.

The NFP offload issue is valid. I have prepared a fix to reject
unrecognized encryption algorithms with SADB_EALG_NONE, while
preserving the existing handling of AH and ChaCha20-Poly1305.

The fix returns -EOPNOTSUPP instead of -EINVAL to allow fallback
to software crypto.

I have also added test vectors for rfc3686(ctr(aria)) and
rfc4106(gcm(aria)), covering all three ARIA key lengths and all
three supported ICV lengths for GCM.

The changes have been compile-tested. I plan to run the crypto
self-tests before submitting v4.

Thanks,
Hong In-su

pw-bot: cr
Technical Details
Message-ID: <20261130021059.73163-1-his1415@pribit.com>
Path: mbox-mo1.pugleaf.net!news-wdc.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-373773-linux-kernel-netdev=dewy.ru
References: <179583319029.3135.1719122173893517950@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-wdc.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-373773-linux-kernel-netdev=dewy.ru
From: his1415@pribit.com (Hong In-su)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH ipsec-next v3 2/2] xfrm: add ARIA GCM support
Date: Mon, 30 Nov 2026 02:10:59 +0000
Organization: Usenet Network
Message-ID: <20261130021059.73163-1-his1415@pribit.com>
References: <179583319029.3135.1719122173893517950@kernel.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1308801"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:dP8SuWkRRqtA3hs9v6IeONbl6h4= sha256:9RxY46RkGIpPuEjOSFW0kiCGJZr0Byb8WoB8vlf2MXI=
	sha1:7b8O2sIGfBAUppA3/bnONacJUOo= sha256:kqUE2hpPmF3tvE4l5J12gF2xQYoYfpDzaQWkcutlM6U=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 26A79125FB8; Mon, 30 Nov 2026 05:12:37 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.951
X-Spam-Status: No, score=-2.951 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id xkcHDc9hhZb4;
	Mon, 30 Nov 2026 05:12:29 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-373773-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=pribit.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id D8CFE125FB2; Mon, 30 Nov 2026 05:12:23 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 9FAF927CC7; Mon, 30 Nov 2026 02:12:21 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1796004741;
	b=du/OYMpuXvf8iQvWsORhtSd+cuHkpXGxvee34OVWT9PZd5rrag76kjFmotZdc46UWJUC
	 3qnEYz90GaFU+hGggoxnQpw0278jCXnjSBrGQ1AZ4PJjZSGjChe6miu7QX1SEqwGRLdzw
	 WQVtlCJhXV0TYMATpFAL1iRlObu2P2KZhRKEkiAPnaOxA1Szc8BMTujQPnY2+SQAAGRNj
	 TDT8w8Ow7ZuT+0mxHGhwS04gNtW1aiY2p/PaFLtoFP9OgHa0zC3iPxcgYaczAHnLroroy
	 HrNv8vtJQ/HiUAFV5F7cX1+ACIDwSkOeSpve2p92OJjGppY0DKBDsKSB1T4ubHtrdGg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796004741;
	h=X-Original-To:Received:DMARC-Filter:Received-SPF:Received:From:To:Cc:
	 Subject:X-TERRACE-DUMMYSUBJECT:Date:Message-ID:X-Mailer:In-Reply-To:
	 References:X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:X-TERRACE-SPAMMARK:X-TERRACE-SUPERWHITEIP:
	 X-TERRACE-SID:X-TERRACE-CLASSID;
	bh=HB7F9Jb1Dfb7FPT29Rennts2GXh45gXWRkXd4Pn2TrY=;
	b=ysiu/ISxm0OczboRTy6No0L4xn1QgrimpEORZP29vQnNHHF+dlHPfH6T3kcfLZOQNNvr
	 U834tT7a5eu5SSR4Zb1lU9IT5b5N4JyB4OfjTBUeYFe4odikSD6ST7z0o+yl42CH0hPv7
	 xjS2kbpuq0vZueSbkbWrJb9Ku3eAOkIVprH5flAKZ17OUot8i2ZHc/ksfAImtns0vHv/7
	 YZVtpGrpodzA7GbZFdTy9Y+JLycDvl47igJRxTYwriUGkeoI3y1+YL1v9uj5fQykSl1cO
	 QPK4PA8PYf7SFwZ2TWa+m18xJhuPlFPKGQ3EDuRDnjPbtJ2eWrGBoM2zFpTPTMbbuUw==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dmarc=pass header.from=pribit.com;
	spf=pass smtp.mailfrom=pribit.com;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 442AD606A325;
	Mon, 30 Nov 2026 02:12:21 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=35.216.20.220
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1796004735;
	b=3J9OIcjmvkUWrugCJo6X4IvdHIZ4bQ/m4xus2Vyejg0ZbhAwUwMl/w02K+QW+azH05cP
	 m9coYabC+I10Pj0pldS9dW8xQfL/EMfAXF6c49K3ii4qBC4kii4AcUHGTDJ1+Zkvk6obw
	 +YSRthBF9sIv657jwo/MDK0TkJDxKrtq+JEDYPyZDVzA046JaARjvpL606JaIdC/+3WXH
	 GIM+zMiEqpNqRG4iKCfFpM8VXK+TNeChTB7afmjRhlQxAihw0NiDvwicGe0/m/cYMwHRV
	 db0Aub819m+skg19bcslU1598KHVS5gJkNT1KZoUk+nwQjsjoET1qT36vRbvE6dxkiA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796004735;
	h=DMARC-Filter:Received-SPF:Received:From:To:Cc:Subject:
	 X-TERRACE-DUMMYSUBJECT:Date:Message-ID:X-Mailer:In-Reply-To:
	 References:MIME-Version:Content-Transfer-Encoding:X-TERRACE-SPAMMARK:
	 X-TERRACE-SUPERWHITEIP:X-TERRACE-SID:X-TERRACE-CLASSID;
	bh=HB7F9Jb1Dfb7FPT29Rennts2GXh45gXWRkXd4Pn2TrY=;
	b=WBFCecgUCU/PoOpz69yCpflOvNSSI7e9JoFJEUD9/nne/+g0hoGB8jcjHrYUaMTG6Z9K
	 JWrdcDFauyFZJ30YQHUWEbCRdUVn8/UQhX1PCpOcd06bDHmX2skVYUWGmu+job33BrSlX
	 ESvB3pyNY8/AJsXQ9c+aoGAuR607ylAqjUBbrfpKZPKDwWv1+SHZCBuO4uCZQ3YwTtFMk
	 cUlxn/z5HT7RhEL7818GWHLnX2aZzC2b4AEJAL18mpTnws/Ch+wYy5n97p3RQz5EpIYal
	 DDckF6C9J3eYLbK1s+DMMqrwzwnZOhTieJTdPRWIVEMxAzZoaGKaUSs9rCLyptHiKlg==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=pribit.com;
	spf=pass smtp.mailfrom=pribit.com;
	arc=none smtp.remote-ip=35.216.20.220
X-Received: from prod-dose-smtp-3.daouoffice.com (prod-dose-smtp-3.daouoffice.com [35.216.20.220])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id EE633606A31D;
	Mon, 30 Nov 2026 02:12:14 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org EE633606A31D
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=pribit.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pribit.com
X-Received-SPF: SoftFail 
	client-ip="106.245.249.210" envelope-from="his1415@pribit.com" 
X-Received: from [106.245.249.210] ([106.245.249.210]) 
          by prod-dose-smtp-3.daouoffice.com ([10.37.10.10]) 
          with ESMTP id 1796004661.930717.140446839821888.prod-dose-smtp-3
          for <>; 
          Mon, 30 Nov 2026 11:11:01 +0900 (KST) 
X-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,
	netdev@vger.kernel.org,
	ipsec@lists.linux.dev,
	linux-kernel@vger.kernel.org,
	his1415@pribit.com
X-TERRACE-DUMMYSUBJECT: Terrace Spam system                                  *
X-Mailer: git-send-email 2.43.0
X-In-Reply-To: <179583319029.3135.1719122173893517950@kernel.org>
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-TERRACE-SPAMMARK: NO       (SR:11.72)                     
  (by Terrace)                                                  
X-TERRACE-SUPERWHITEIP: pribit_com_packetgoOS
X-TERRACE-SID: 1796004661.930717.140446839821888.prod-dose-smtp-3
X-TERRACE-CLASSID: Terrace Spam system