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 AD0A8A0540 for ; Wed, 6 Jul 2022 22:35:20 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A66F840691; Wed, 6 Jul 2022 22:35:20 +0200 (CEST) Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) by mails.dpdk.org (Postfix) with ESMTP id 5862440691 for ; Wed, 6 Jul 2022 22:35:19 +0200 (CEST) Received: by mail-wm1-f48.google.com with SMTP id h127-20020a1c2185000000b003a2cc290135so21509wmh.2 for ; Wed, 06 Jul 2022 13:35:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=tIqfS3WbxqUBB65Br3i2Y734Y1+5U7dMLtWWW5EOlMA=; b=p08Sp3UWB9Mo/bk5Rq49Dxp1tKRLLGGrLZ19+zQ35F3rWRUDVaOqpqDqrs2g41DRqr 4uznM7S4CDkgUYuEN3PkaVF+QuEnBEIl7S/0hEDwiCN5daRypu5IUuJNkxxLAp+S0hH2 bb3p/ImenNIuPl6q/qkNRWw5N+kZO6wLt3EDtOxnljumpJOetRcDJ1rS+1RK6ig6h19R XzDB6sv5bWPGyztFYXAsT4jg+OgdP7rD3hXvQJN8Uk+iUsSm5kuP45tkg8n/OQx37/xS ebF6dsK0Wixeu8WyHAUQoqiPXTnIaMnjGIpN2dGpHBlntbGFt9MRQFjwS82nQcVryFWK UGlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=tIqfS3WbxqUBB65Br3i2Y734Y1+5U7dMLtWWW5EOlMA=; b=ESI1GeDFOJk31uLe3kiBthts7q3L6V4RsS+CfGDjMRpqIDXBcKqFufo8AKFak5L/HV sHOUe6nXwiH9LZB+NsYwXFiaDu84rTg9EniqEg6GnQta9mPao6CillSGSVc0eWwZJU86 yQAQ4GZAIekw6XzAf+LwfKobBXEx47KsY3HIZaev83OIBhkiP5IMHOfQfgl5BDnrUz4e YCXaucVgbDHu5+USlTCHUoB48wT3tFz/O9NFrpzU4JLdvR1Ti8dxxzm+45+wmjvfXcEj v+S/5183Gwz+QsoH6/JvX6CopdTHUbTV7Gxhyl4da1bFRbvxeRXfbYN+U5yALUfN1a1n VtIg== X-Gm-Message-State: AJIora9Hsqfiw7LvMqtDv3ghI6uV1JzGHAHiIKqst2+LoDpZGuQMmd4N q8Qv41KFyp8CvzE36KOy1LHkOdTawaav7A== X-Google-Smtp-Source: AGRyM1trcirAYmbiZZ13EWpI5K7uIpyYdIXaNJojIYQo0rH4WNXoCkJQnBguyBhMQvW7dcn3ZbongQ== X-Received: by 2002:a05:600c:34d0:b0:3a1:a05c:b523 with SMTP id d16-20020a05600c34d000b003a1a05cb523mr445565wmq.94.1657139718961; Wed, 06 Jul 2022 13:35:18 -0700 (PDT) Received: from localhost ([2a01:4b00:f41a:3600:360b:9754:2e3a:c344]) by smtp.gmail.com with ESMTPSA id z6-20020a05600c0a0600b0039c747a1e8fsm24232102wmp.7.2022.07.06.13.35.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jul 2022 13:35:18 -0700 (PDT) From: luca.boccassi@gmail.com To: Ciara Power Cc: Pablo de Lara , dpdk stable Subject: patch 'test/crypto: fix authentication IV for ZUC SGL' has been queued to stable release 21.11.2 Date: Wed, 6 Jul 2022 21:34:36 +0100 Message-Id: <20220706203506.3422496-1-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220628151938.2278711-26-ktraynor@redhat.com> References: <20220628151938.2278711-26-ktraynor@redhat.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 21.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 07/08/22. 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/6706a66aaa2e11438507f23aa23d88923505ec6c Thanks. Luca Boccassi --- >From 6706a66aaa2e11438507f23aa23d88923505ec6c Mon Sep 17 00:00:00 2001 From: Ciara Power Date: Thu, 23 Jun 2022 14:31:42 +0000 Subject: [PATCH] test/crypto: fix authentication IV for ZUC SGL [ upstream commit 5d170ccea5edb84eabff2c0e9b4b1df822615009 ] The wireless operation for ZUC SGL tests was being passed NULL instead of a pointer to the test data authentication IV, and IV length 0. This is now corrected to use the IV from the test data. Fixes: 11c5485bb276 ("test/crypto: add scatter-gather tests for IP and OOP") Signed-off-by: Ciara Power Acked-by: Pablo de Lara --- app/test/test_cryptodev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index 0081578f04..41a8b10a90 100644 --- a/app/test/test_cryptodev.c +++ b/app/test/test_cryptodev.c @@ -6560,7 +6560,7 @@ test_zuc_auth_cipher_sgl(const struct wireless_test_data *tdata, retval = create_wireless_algo_auth_cipher_operation( tdata->digest.data, tdata->digest.len, tdata->cipher_iv.data, tdata->cipher_iv.len, - NULL, 0, + tdata->auth_iv.data, tdata->auth_iv.len, (tdata->digest.offset_bytes == 0 ? (verify ? ciphertext_pad_len : plaintext_pad_len) : tdata->digest.offset_bytes), -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-07-06 21:07:53.611166286 +0100 +++ 0001-test-crypto-fix-authentication-IV-for-ZUC-SGL.patch 2022-07-06 21:07:53.519518247 +0100 @@ -1 +1 @@ -From 5d170ccea5edb84eabff2c0e9b4b1df822615009 Mon Sep 17 00:00:00 2001 +From 6706a66aaa2e11438507f23aa23d88923505ec6c Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 5d170ccea5edb84eabff2c0e9b4b1df822615009 ] + @@ -11 +12,0 @@ -Cc: stable@dpdk.org @@ -20 +21 @@ -index e6d8bcfb02..bd7e232847 100644 +index 0081578f04..41a8b10a90 100644 @@ -23 +24 @@ -@@ -6562,7 +6562,7 @@ test_zuc_auth_cipher_sgl(const struct wireless_test_data *tdata, +@@ -6560,7 +6560,7 @@ test_zuc_auth_cipher_sgl(const struct wireless_test_data *tdata,