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 35E9346364 for ; Fri, 7 Mar 2025 13:49:25 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 292EC402C3; Fri, 7 Mar 2025 13:49:25 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 629B9402C3 for ; Fri, 7 Mar 2025 13:49:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1741351763; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=aj8URU5s4E2sVTkT07MjXQcfjm0t+ozRK2sboxBb0rg=; b=V20Zn8T+s+u+tPmdAkWdExrX3h+elgkXyFx+QGDOIaEctW5qvBnUVHQNmsRwZT67d3rPVP eo+2YJxz3ClO+3iRbSxHLecUopKAsiXmFNVMy9PQ82A/Oo0sfYKtR1+HCkbzBidq5BMqdK 6pOQlH0ytweYuNWRwk0vdsSoDBzQYSg= Received: from mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-279-fttZwFBDM3uxwGbQaNVoeA-1; Fri, 07 Mar 2025 07:48:49 -0500 X-MC-Unique: fttZwFBDM3uxwGbQaNVoeA-1 X-Mimecast-MFC-AGG-ID: fttZwFBDM3uxwGbQaNVoeA_1741351727 Received: from mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 480E11955D57; Fri, 7 Mar 2025 12:48:47 +0000 (UTC) Received: from rh.Home (unknown [10.45.226.25]) by mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 38B3D1956095; Fri, 7 Mar 2025 12:48:44 +0000 (UTC) From: Kevin Traynor To: Shaokai Zhang Cc: Joey Xing , Akhil Goyal , dpdk stable Subject: patch 'test/crypto: fix AES-ECB test lengths' has been queued to stable release 24.11.2 Date: Fri, 7 Mar 2025 12:47:06 +0000 Message-ID: <20250307124726.475001-33-ktraynor@redhat.com> In-Reply-To: <20250307124726.475001-1-ktraynor@redhat.com> References: <20250307124726.475001-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.15 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: mu1OejBbRGeOJkC1JDNo5rP0vBn1AiTVtyp4rTouAO0_1741351727 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit content-type: text/plain; charset="US-ASCII"; x-default=true 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 24.11.2 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/12/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/kevintraynor/dpdk-stable This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable/commit/171bc627e1dca1e5b9de3abaee4ca468e7912ef5 Thanks. Kevin --- >From 171bc627e1dca1e5b9de3abaee4ca468e7912ef5 Mon Sep 17 00:00:00 2001 From: Shaokai Zhang 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 Reviewed-by: Joey Xing Acked-by: Akhil Goyal --- .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 0ee46fdb0f..ab00a189cb 100644 --- a/.mailmap +++ b/.mailmap @@ -1389,4 +1389,5 @@ Shani Peretz Shannon Nelson Shannon Zhao +Shaokai Zhang Shaopeng He Shaowei Sun <1819846787@qq.com> diff --git a/app/test/test_cryptodev_aes_test_vectors.h b/app/test/test_cryptodev_aes_test_vectors.h index 7127156cc4..505e603b7e 100644 --- a/app/test/test_cryptodev_aes_test_vectors.h +++ b/app/test/test_cryptodev_aes_test_vectors.h @@ -834,9 +834,9 @@ 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 } }; @@ -5104,5 +5104,5 @@ static const struct blockcipher_test_case aes_cipheronly_test_cases[] = { }, { - .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.48.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2025-03-07 11:02:58.119535669 +0000 +++ 0033-test-crypto-fix-AES-ECB-test-lengths.patch 2025-03-07 11:02:56.902335837 +0000 @@ -1 +1 @@ -From 4d6b2633b030f6b469c78fd00f012c8192979332 Mon Sep 17 00:00:00 2001 +From 171bc627e1dca1e5b9de3abaee4ca468e7912ef5 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 0ee46fdb0f..ab00a189cb 100644 @@ -28 +29 @@ -@@ -1397,4 +1397,5 @@ Shani Peretz +@@ -1389,4 +1389,5 @@ Shani Peretz