From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <stable-bounces@dpdk.org> Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C129646364 for <public@inbox.dpdk.org>; Fri, 7 Mar 2025 13:25:41 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BA47B4029E; Fri, 7 Mar 2025 13:25:41 +0100 (CET) Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) by mails.dpdk.org (Postfix) with ESMTP id 311DB4029E for <stable@dpdk.org>; Fri, 7 Mar 2025 13:25:40 +0100 (CET) Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-43bbc8b7c65so20125725e9.0 for <stable@dpdk.org>; Fri, 07 Mar 2025 04:25:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1741350340; x=1741955140; 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=SM3rr9e19tm2cR7rlufgk8vFy2vMV/roVQkJlpT5kgw=; b=M+O/TVde4RBYJplc5Rp2KVl/FOFtfhXSOy94piS0LsMQXJz+Qawf1y422XwmAFzpE9 oYZv7MaRJ0YCVU/8k4cw3Pf6M4UJRLfZ5lZcnrsBtmP14e7FOg9OmPRMu2H7iiozRt+K EiP5vPsCS45ZYjqSrOjFw5qsCO57SIKCfcWh16p3de8XX4lJ27NF/FVdIJAHwvInZfEe V9GxIhbQGKMhHhPRWecqelx1996M5fWs+2nC8sEdHZPXM85rOHzVVCiXTa96NL7xWs5g Q1mQ+5lh9k2i2fDdqu1K0DMJV4xMG83dpXnEK19MbJSlqLvcmld1c226h503J9P+gjQ+ ARGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741350340; x=1741955140; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SM3rr9e19tm2cR7rlufgk8vFy2vMV/roVQkJlpT5kgw=; b=UaPboHO9pZqg7XUPjYu5jvg7uci4P3QgEieXZ0t5+kqC3qstRYNkBK7gW2xUugTwwL C+1TSf5o82tOprCK9R6YuUZJMiqqk6/F6nEU117H+Bd5Z6acMkIVKYgtqKnKNaOnFlds scra2guNgYaHE0TQMtKGlongD8BQ4FuDZ/g8hqqKRFF7GZZywKBmXZRMOkp8oQR7fbrZ IaUl9YfQYC200yeIwy7Dz2ijdkQ3Q86SwqQLvKSpUVFMTXQHE2EEZVBh9RXGMwomEXqU w6yIIdRxi9mcK3lVyPaXfv0pbLmMIhePIWXuNpDRy3+lpmr14CPP2AA7dGLmArkKxu69 yRBA== X-Forwarded-Encrypted: i=1; AJvYcCV05BuBb0mF6mlDrDaQHowoYl01ADRNvSj6xjL5+1OFgjBOTCQt3AnkhX+xTLnr6oVQc472P7Q=@dpdk.org X-Gm-Message-State: AOJu0Yzqz9qMjr1PMHKRfVzjbCyecGIvSAxlETP4gepW1EQw7HikdMFp rICCvTMuam4DNK0NtlGseFbVwNzCM7oJxthjjcVoPMf/oRhiOYB0 X-Gm-Gg: ASbGnctNl7VrbhD4DCzfXxI920lXnZOxX6baf9XTJi5AdD2QFxA+dlWe9Z1f7zYT/Vj 2oJbRq2UY4hFzFp7/FTHmTtRFDsVn4OQl4gsxwiRqpEWtcfbjc5KNCpJ9D0gr5+ON64EzKVZX5T RRIe+hyC7qt+mVMYvtUo5npUQwioYIFqwz0fJu/ajwM+oxh17YseZyGH7UOhu0LPRZsAe8zYnKz ihdfcq86ZT/RR4v1C+1sotvSBk2hrKdajw7r4nNXLj0+ybS4itBUyw0ND5eRjxPe5CxRIfJFKk7 t0bCCchTD7BAbZ7ALqaBu7Zn9CkflbwbA7zTvc4TojGnv86ZQiY= X-Google-Smtp-Source: AGHT+IGKWDK0E3hAF1bA4dyJ5SbagdNtatBUhlCyHW1HaqMoBh1x56nqk3yYP7Upyj2w7bWj4yKiJw== X-Received: by 2002:a05:600c:314d:b0:43b:bfb7:e099 with SMTP id 5b1f17b1804b1-43c602222ecmr28447225e9.29.1741350339644; Fri, 07 Mar 2025 04:25:39 -0800 (PST) Received: from localhost ([2a01:4b00:d036:ae00:ff31:f049:bd38:f7cf]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-3912c0e2f39sm5128223f8f.80.2025.03.07.04.25.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Mar 2025 04:25:39 -0800 (PST) From: luca.boccassi@gmail.com To: Shaokai Zhang <felix.zhang@jaguarmicro.com> Cc: Joey Xing <joey.xing@jaguarmicro.com>, Akhil Goyal <gakhil@marvell.com>, dpdk stable <stable@dpdk.org> Subject: patch 'test/crypto: fix AES-ECB test lengths' has been queued to stable release 22.11.8 Date: Fri, 7 Mar 2025 12:24:20 +0000 Message-ID: <20250307122431.1415551-21-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250307122431.1415551-1-luca.boccassi@gmail.com> References: <20250217170456.1068278-79-luca.boccassi@gmail.com> <20250307122431.1415551-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 <stable.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/stable>, <mailto:stable-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/stable/> List-Post: <mailto:stable@dpdk.org> List-Help: <mailto:stable-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/stable>, <mailto:stable-request@dpdk.org?subject=subscribe> Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 22.11.8 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 03/09/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/81fb435967fa963aaf0eefe54f441ad7fd21a747 Thanks. Luca Boccassi --- >From 81fb435967fa963aaf0eefe54f441ad7fd21a747 Mon Sep 17 00:00:00 2001 From: Shaokai Zhang <felix.zhang@jaguarmicro.com> Date: Thu, 16 Jan 2025 16:35:48 +0800 Subject: [PATCH] test/crypto: fix AES-ECB test lengths [ upstream commit 4d6b2633b030f6b469c78fd00f012c8192979332 ] The test vector aes_test_data_19 plaintext is 192 bytes and this vector is used to test 192-byte plaintext, but test vector plaintext.len value is incorrectly assigned to 64. The test vector aes_test_data_20 plaintext length is 256 bytes, but testcase comment incorrectly describes it as "192-byte plaintext". Fixes: c94c520b4163 ("crypto/aesni_mb: support AES-ECB") Signed-off-by: Shaokai Zhang <felix.zhang@jaguarmicro.com> Reviewed-by: Joey Xing <joey.xing@jaguarmicro.com> Acked-by: Akhil Goyal <gakhil@marvell.com> --- .mailmap | 1 + app/test/test_cryptodev_aes_test_vectors.h | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.mailmap b/.mailmap index ee6eb01cf6..30b07d12a3 100644 --- a/.mailmap +++ b/.mailmap @@ -1260,6 +1260,7 @@ Shai Brandes <shaibran@amazon.com> Shally Verma <shallyv@marvell.com> <shally.verma@caviumnetworks.com> Shannon Nelson <snelson@pensando.io> Shannon Zhao <zhaoshenglong@huawei.com> +Shaokai Zhang <felix.zhang@jaguarmicro.com> Shaopeng He <shaopeng.he@intel.com> Shaowei Sun <1819846787@qq.com> Sharmila Podury <sharmila.podury@att.com> diff --git a/app/test/test_cryptodev_aes_test_vectors.h b/app/test/test_cryptodev_aes_test_vectors.h index f3686beeb5..d709803606 100644 --- a/app/test/test_cryptodev_aes_test_vectors.h +++ b/app/test/test_cryptodev_aes_test_vectors.h @@ -833,11 +833,11 @@ static const struct blockcipher_test_data aes_test_data_19 = { }, .plaintext = { .data = plaintext_aes192ecb_192bytes, - .len = 64 + .len = 192 }, .ciphertext = { .data = ciphertext_aes192ecb_192bytes, - .len = 64 + .len = 192 } }; @@ -5145,7 +5145,7 @@ static const struct blockcipher_test_case aes_cipheronly_test_cases[] = { .op_mask = BLOCKCIPHER_TEST_OP_ENCRYPT, }, { - .test_descr = "AES-256-ECB Decryption (192-byte plaintext)", + .test_descr = "AES-256-ECB Decryption (256-byte plaintext)", .test_data = &aes_test_data_20, .op_mask = BLOCKCIPHER_TEST_OP_DECRYPT, }, -- 2.47.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2025-03-07 12:23:38.789296983 +0000 +++ 0021-test-crypto-fix-AES-ECB-test-lengths.patch 2025-03-07 12:23:38.026838877 +0000 @@ -1 +1 @@ -From 4d6b2633b030f6b469c78fd00f012c8192979332 Mon Sep 17 00:00:00 2001 +From 81fb435967fa963aaf0eefe54f441ad7fd21a747 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 4d6b2633b030f6b469c78fd00f012c8192979332 ] + @@ -14 +15,0 @@ -Cc: stable@dpdk.org @@ -25 +26 @@ -index 3ea758ca12..b3ffe83f46 100644 +index ee6eb01cf6..30b07d12a3 100644 @@ -28,2 +29,2 @@ -@@ -1396,6 +1396,7 @@ Shally Verma <shallyv@marvell.com> <shally.verma@caviumnetworks.com> - Shani Peretz <shperetz@nvidia.com> +@@ -1260,6 +1260,7 @@ Shai Brandes <shaibran@amazon.com> + Shally Verma <shallyv@marvell.com> <shally.verma@caviumnetworks.com> @@ -37 +38 @@ -index 7127156cc4..505e603b7e 100644 +index f3686beeb5..d709803606 100644 @@ -54 +55 @@ -@@ -5103,7 +5103,7 @@ static const struct blockcipher_test_case aes_cipheronly_test_cases[] = { +@@ -5145,7 +5145,7 @@ static const struct blockcipher_test_case aes_cipheronly_test_cases[] = {