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 C44B842535; Thu, 7 Sep 2023 12:26:34 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B544A402EB; Thu, 7 Sep 2023 12:26:26 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 92100402DF for ; Thu, 7 Sep 2023 12:26: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=1694082383; x=1725618383; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=6CkeWLVz1WQ/1TwYe1pOYpnkUlHNcWNVHNWbKxCQF+Q=; b=bXGbqPCELPPx91zcc9ESjNVamlfv5KXuIsjyLtdTXcWYqafCHBb+uyAs LhBeS+rzObcn+gOScQt5FPaIXdXY9MuV0vfLjaVTd/hrAkNVAG/pYTD3I vuW86RN22M4MZAJUI4HSNklhxdkj606VVkET5DKTfMUecLkDDGSAc4nPM YL5Qn4vWN4AZ3it7ZfscOX+oBfuSZRpD8BUU00oDYk0MSBy+dmTD8sT2q b6eAA/tjaFLNx6vBsPe3jJ7y33Ab9+WrebqxMFVGN6mr794u5eD3Ojbue 1RkM2rJgJQuZdeattb96sKmyOETW3Rwj0orKWvi5TRxyp9eQ0my88+Wsn Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10825"; a="362343377" X-IronPort-AV: E=Sophos;i="6.02,234,1688454000"; d="scan'208";a="362343377" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2023 03:26:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10825"; a="988715259" X-IronPort-AV: E=Sophos;i="6.02,234,1688454000"; d="scan'208";a="988715259" Received: from silpixa00400883.ir.intel.com ([10.243.22.155]) by fmsmga006.fm.intel.com with ESMTP; 07 Sep 2023 03:26:21 -0700 From: Brian Dooley To: Akhil Goyal , Fan Zhang Cc: dev@dpdk.org, Brian Dooley , adamx.dybkowski@intel.com Subject: [PATCH v6 2/2] test/crypto: fix IV in some vectors Date: Thu, 7 Sep 2023 10:26:14 +0000 Message-Id: <20230907102614.2269913-3-brian.dooley@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230907102614.2269913-1-brian.dooley@intel.com> References: <20230905161507.1561889-1-brian.dooley@intel.com> <20230907102614.2269913-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 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