From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5571146A9C for ; Mon, 30 Jun 2025 14:26:39 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 48A4140664; Mon, 30 Jun 2025 14:26:39 +0200 (CEST) Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) by mails.dpdk.org (Postfix) with ESMTP id 1A36940664 for ; Mon, 30 Jun 2025 14:26:37 +0200 (CEST) Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-451ebd3d149so8835965e9.2 for ; Mon, 30 Jun 2025 05:26:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1751286397; x=1751891197; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=kwDqc+Ye5mEKFsWHrwPjtpjNKqK2KjZu+RRfCwiiLO4=; b=Wc2JeXDpy9vwa9yehL8nbWA5or/Zfa1KuchSxhu1QloYv29NmHpWUH8V4c+uic0CzW Ii3HeFZbIrNKquGwJ85h9Azkn41KpkqkdTFDiutXunWtINPjezHht6jgsinMXklmedWc AdIcaH5KQyYC2tG4eW/HkrQ+/ELYnCviTNWgEG/IXD9PETsPWiZjoG5EEyyes8b9O50F dPdq3Km9w72ucYucIaHgeQMEj2A6X/5RYnV+puqWI5IIH85GeEefvgbI2LtE/AY3/1mr D26siUGAAi/RmRlGFqSALaCoiuxhwsyB5ynr23VNZhYSQTAYL/XTSPTu22bSZZ4IB5F+ qtZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751286397; x=1751891197; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state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TP id ffacd0b85a97d-3a8fda35a01mr7080304f8f.13.1751286396546; Mon, 30 Jun 2025 05:26:36 -0700 (PDT) Received: from localhost ([2a01:4b00:d036:ae00:ded1:f637:68f:c2a6]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-453a1914d10sm24672145e9.4.2025.06.30.05.26.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Jun 2025 05:26:36 -0700 (PDT) From: luca.boccassi@gmail.com To: Nithinsen Kaithakadan Cc: dpdk stable Subject: patch 'test/crypto: fix auth and cipher case IV length' has been queued to stable release 22.11.9 Date: Mon, 30 Jun 2025 13:25:45 +0100 Message-ID: <20250630122556.1133654-15-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250630122556.1133654-1-luca.boccassi@gmail.com> References: <20250612210733.2506558-72-luca.boccassi@gmail.com> <20250630122556.1133654-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 22.11.9 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 07/02/25. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/58f3e0570da43fa3ea85852f476b149fce7c6a59 Thanks. Luca Boccassi --- >From 58f3e0570da43fa3ea85852f476b149fce7c6a59 Mon Sep 17 00:00:00 2001 From: Nithinsen Kaithakadan Date: Wed, 18 Jun 2025 12:54:08 +0000 Subject: [PATCH] test/crypto: fix auth and cipher case IV length [ upstream commit c479e33bcf0173f08fd48269fb223e605b6caa41 ] Set maximum IV length to 32 bytes to include both auth IV and cipher IV. Fixes: fd01a9be38d5 ("test/crypto: move IV to crypto op private data") Signed-off-by: Nithinsen Kaithakadan --- app/test/test_cryptodev.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/test/test_cryptodev.h b/app/test/test_cryptodev.h index dc654a4c66..c4b55e01aa 100644 --- a/app/test/test_cryptodev.h +++ b/app/test/test_cryptodev.h @@ -43,7 +43,11 @@ #define TRUNCATED_DIGEST_BYTE_LENGTH_SHA384 (24) #define TRUNCATED_DIGEST_BYTE_LENGTH_SHA512 (32) -#define MAXIMUM_IV_LENGTH (16) +/* + * maximum IV length need to include both the + * auth IV length (16 bytes) and the cipher IV length (16 bytes) + */ +#define MAXIMUM_IV_LENGTH (32) #define AES_GCM_J0_LENGTH (16) #define IV_OFFSET (sizeof(struct rte_crypto_op) + \ -- 2.47.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2025-06-30 13:21:22.322198019 +0100 +++ 0015-test-crypto-fix-auth-and-cipher-case-IV-length.patch 2025-06-30 13:21:21.751057449 +0100 @@ -1 +1 @@ -From c479e33bcf0173f08fd48269fb223e605b6caa41 Mon Sep 17 00:00:00 2001 +From 58f3e0570da43fa3ea85852f476b149fce7c6a59 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit c479e33bcf0173f08fd48269fb223e605b6caa41 ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -18 +19 @@ -index a80c11baf4..e243cf945a 100644 +index dc654a4c66..c4b55e01aa 100644 @@ -21 +22 @@ -@@ -40,7 +40,11 @@ +@@ -43,7 +43,11 @@