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 0D43AA0540 for ; Thu, 7 Jul 2022 09:59:21 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EE4E940DDE; Thu, 7 Jul 2022 09:59:20 +0200 (CEST) Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by mails.dpdk.org (Postfix) with ESMTP id CBABB406B4 for ; Thu, 7 Jul 2022 09:59:19 +0200 (CEST) Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) (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 smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 522FD3F1F1 for ; Thu, 7 Jul 2022 07:59:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1657180759; bh=4l1GwnHBpzfjddlGCRuhmGTKE34T8oHv4kymcAw6ZHw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=RVQ2VgBhJtgUSebFj7NrQsONnXXkOw0LrhAwMOwUvRPnsuRT9i242Z0joNvyaqAW9 9oeh5h5L/zVJUy9r+BdV2sd8swNqeJRtilVDJ1uia4YRRkCUp74ni66gq0e0ZDq+kM 9lkq+Wxp5O7rIAE0IiJ+FOyFo6TfDD1JvSxvbingfPmy1KpkjPEUGDH18/iqS5DR12 rDHmHPfgWPjznjDqKfbfWZzlVULOTMXE97pFb2/wzMQk9OtuC/HVnjbS6lCBtYvpQr k9C0YV+92KSGT3nLDBLKDgN45URkHoW4SxJQhE+JTj6MH5/NJfBO6eLGEsBM28Lc3L 0RH8eK/3mwaVA== Received: by mail-ej1-f70.google.com with SMTP id hq41-20020a1709073f2900b00722e5ad076cso4519220ejc.20 for ; Thu, 07 Jul 2022 00:59:19 -0700 (PDT) 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=4l1GwnHBpzfjddlGCRuhmGTKE34T8oHv4kymcAw6ZHw=; b=ukylk8bQpD2EVamqwBI2LWI/XaBIynERi6pHqUBLr0ntn51Cv2nduyFm5TbrapSKfH w0ITVnsQYUlMstFliXQnglGCAm/mACJk6sRWWjxR51g/oMqk3l2k3+Ka/LzeCafcCDUi Ydcm9fuDwOEGrYuAF8C12Eh1QYhAgWIcucO3dN07jOGcG39onKwbybm2J26s0dOFSxq9 TpnWb4XnOCWUVNdEwB+QRzpRZhHVQpMo4itI7BI4IIbJfloYcVBdJadcKaEesy5mnUk9 ygI0aqcjT2ffdVcY1zgcJZ/hQ2SeuPXj4URYRxECSMxnXw8R5ouVF2zBVu6G3oYwU7aO bWFA== X-Gm-Message-State: AJIora/opsLR05diKpMd+JNLVJosCJoIWn5y4E0Fw5ipdfQF2XNEok37 +ohVBhaEBUg5if4zq4hiqtrEvKecrt0/W2/fX2eAQLdTISrQM7BCPdR5MtMIceP0LrO6II0x9Ku luMjWWt3+rvDoxCYB4IldtXTA X-Received: by 2002:a17:906:58c6:b0:72a:3df5:813d with SMTP id e6-20020a17090658c600b0072a3df5813dmr43384665ejs.153.1657180758885; Thu, 07 Jul 2022 00:59:18 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t1AnVFLT9AQBoG1pHDlj7/D01LTynhBA/wC4teA2AJF9a5DgwRnOo33K4yCO2eEFnNU6AX0g== X-Received: by 2002:a17:906:58c6:b0:72a:3df5:813d with SMTP id e6-20020a17090658c600b0072a3df5813dmr43384647ejs.153.1657180758662; Thu, 07 Jul 2022 00:59:18 -0700 (PDT) Received: from Keschdeichel.fritz.box ([2a02:6d40:3a4f:7b00:c19b:938e:7c97:afe2]) by smtp.gmail.com with ESMTPSA id p27-20020a1709060ddb00b00722e559ee66sm18232090eji.62.2022.07.07.00.59.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Jul 2022 00:59:18 -0700 (PDT) From: christian.ehrhardt@canonical.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 19.11.13 Date: Thu, 7 Jul 2022 09:55:12 +0200 Message-Id: <20220707075522.194223-77-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.37.0 In-Reply-To: <20220707075522.194223-1-christian.ehrhardt@canonical.com> References: <20220707075522.194223-1-christian.ehrhardt@canonical.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 19.11.13 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/09/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/cpaelzer/dpdk-stable-queue This queued commit can be viewed at: https://github.com/cpaelzer/dpdk-stable-queue/commit/614f12684ba96232d818315e46419b75631dabdf Thanks. Christian Ehrhardt --- >From 614f12684ba96232d818315e46419b75631dabdf 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 580702d6e3..8ad2f251e5 100644 --- a/app/test/test_cryptodev.c +++ b/app/test/test_cryptodev.c @@ -5918,7 +5918,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.37.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-07-07 09:54:14.341222421 +0200 +++ 0077-test-crypto-fix-authentication-IV-for-ZUC-SGL.patch 2022-07-07 09:54:11.017824938 +0200 @@ -1 +1 @@ -From 5d170ccea5edb84eabff2c0e9b4b1df822615009 Mon Sep 17 00:00:00 2001 +From 614f12684ba96232d818315e46419b75631dabdf 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 580702d6e3..8ad2f251e5 100644 @@ -23 +24 @@ -@@ -6562,7 +6562,7 @@ test_zuc_auth_cipher_sgl(const struct wireless_test_data *tdata, +@@ -5918,7 +5918,7 @@ test_zuc_auth_cipher_sgl(const struct wireless_test_data *tdata,