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 42C8442538; Thu, 7 Sep 2023 18:13:35 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 17BF140648; Thu, 7 Sep 2023 18:13:27 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 1CC97402D6 for ; Thu, 7 Sep 2023 18:13:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1694103204; x=1725639204; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=jXZEm9rGLep1hUHLiE1ka12I3gtMxf9B+I9HO5rDFfs=; b=WfYv2Mdsunwq1q/W/m6NxWiHIozeMimcaYTudH40wUF2Yzw3GSK0MxkC lUucNabwESVnMwNaT9LI3zlgqaevRarwqQ7O1BXkK4FjY8uqZgo0drgc+ ZN/wH2rOJMQ7FAonjO6LXBVtqry2BnPs2SSACDRAQvm97j3p0rFuS6Mre HJVONG+o43HwHnQHgWOVGaQxI0oX52y8YlM2qI9VKJB77pVrNthM59buv +d9p/PgtZ81ZGFu4+EdpSvc9eSE8TRJRQuSfmXvuKeY9zPpMI6VOjWxyj vLEplz4WT2X50Yr+JQIX7+G+fS8NDr9SlGEooFMBg8XRFH0VxTqd8J/RJ w==; X-IronPort-AV: E=McAfee;i="6600,9927,10826"; a="408395806" X-IronPort-AV: E=Sophos;i="6.02,235,1688454000"; d="scan'208";a="408395806" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2023 09:13:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10826"; a="771337675" X-IronPort-AV: E=Sophos;i="6.02,235,1688454000"; d="scan'208";a="771337675" Received: from silpixa00400883.ir.intel.com ([10.243.22.155]) by orsmga008.jf.intel.com with ESMTP; 07 Sep 2023 09:13:05 -0700 From: Brian Dooley To: Akhil Goyal , Fan Zhang Cc: dev@dpdk.org, Brian Dooley , adamx.dybkowski@intel.com, Ciara Power Subject: [PATCH v7 2/3] test/crypto: fix IV in some vectors Date: Thu, 7 Sep 2023 16:12:57 +0000 Message-Id: <20230907161258.2288031-3-brian.dooley@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230907161258.2288031-1-brian.dooley@intel.com> References: <20230907102614.2269913-2-brian.dooley@intel.com> <20230907161258.2288031-1-brian.dooley@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org SNOW3G and ZUC algorithms require non-zero length IVs. Fixes: c6c267a00a92 ("test/crypto: add mixed encypted-digest") Cc: adamx.dybkowski@intel.com Acked-by: Ciara Power Signed-off-by: Brian Dooley --- app/test/test_cryptodev_mixed_test_vectors.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/test/test_cryptodev_mixed_test_vectors.h b/app/test/test_cryptodev_mixed_test_vectors.h index 161e2d905f..9c4313185e 100644 --- a/app/test/test_cryptodev_mixed_test_vectors.h +++ b/app/test/test_cryptodev_mixed_test_vectors.h @@ -478,8 +478,10 @@ struct mixed_cipher_auth_test_data auth_aes_cmac_cipher_snow_test_case_1 = { }, .cipher_iv = { .data = { + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, - .len = 0, + .len = 16, }, .cipher = { .len_bits = 516 << 3, @@ -917,8 +919,10 @@ struct mixed_cipher_auth_test_data auth_aes_cmac_cipher_zuc_test_case_1 = { }, .cipher_iv = { .data = { + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, - .len = 0, + .len = 16, }, .cipher = { .len_bits = 516 << 3, -- 2.25.1