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 E99A9A0548; Sun, 31 Oct 2021 23:04:27 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DB7ED4068E; Sun, 31 Oct 2021 23:04:26 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 7B14D40689 for ; Sun, 31 Oct 2021 23:04:25 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10154"; a="228371544" X-IronPort-AV: E=Sophos;i="5.87,198,1631602800"; d="scan'208";a="228371544" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Oct 2021 15:04:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,198,1631602800"; d="scan'208";a="448738393" Received: from silpixa00400493.ir.intel.com ([10.237.213.146]) by orsmga006.jf.intel.com with ESMTP; 31 Oct 2021 15:04:23 -0700 From: Pablo de Lara To: roy.fan.zhang@intel.com, vvelumuri@marvell.com Cc: dev@dpdk.org, Pablo de Lara Date: Sun, 31 Oct 2021 22:04:21 +0000 Message-Id: <20211031220421.52181-1-pablo.de.lara.guarch@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] test/crypto: fix test vectors for ZUC-256 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 Sender: "dev" Fix the IV for ZUC-256 test vectors Fixes: 216125c62d28 ("test/crypto: add ZUC-256 vectors") Signed-off-by: Pablo de Lara --- app/test/test_cryptodev_zuc_test_vectors.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/test/test_cryptodev_zuc_test_vectors.h b/app/test/test_cryptodev_zuc_test_vectors.h index ba5c68ca72..5c5bebebc3 100644 --- a/app/test/test_cryptodev_zuc_test_vectors.h +++ b/app/test/test_cryptodev_zuc_test_vectors.h @@ -1296,7 +1296,7 @@ static struct wireless_test_data zuc256_test_case_cipher_1 = { .data = { 0x8e, 0x5d, 0xbc, 0x3f, 0xb9, 0xae, 0x66, 0xa3, 0xb9, 0x5c, 0x12, 0x14, 0xdb, 0xc5, 0xbc, 0x18, - 0x48, 0x92, 0x09, 0x86, 0x65, 0xb3, 0x2e, 0x92, + 0x48, 0x12, 0x09, 0x06, 0x25, 0x33, 0x2e, 0x12, 0x12 }, .len = 25 @@ -1365,8 +1365,8 @@ static struct wireless_test_data zuc256_test_case_cipher_2 = { .data = { 0x98, 0xcc, 0x89, 0x9f, 0xaf, 0x6d, 0x64, 0xb6, 0xb1, 0xe8, 0x21, 0x72, 0xee, 0xb6, 0xcc, 0xe3, - 0xcf, 0xf2, 0x68, 0x61, 0xe1, 0x0d, 0x9e, 0xdc, - 0x74 + 0xcf, 0x32, 0x28, 0x21, 0x21, 0x0d, 0x1e, 0x1c, + 0x34 }, .len = 25 }, @@ -1464,8 +1464,8 @@ static struct wireless_test_data zuc256_test_case_auth_1 = { .data = { 0xf5, 0x8d, 0x08, 0x26, 0x94, 0x14, 0xc7, 0x4d, 0xf5, 0x7c, 0x9c, 0xaa, 0x45, 0x53, 0xfd, 0x85, - 0x23, 0x8b, 0xc0, 0x4e, 0xa6, 0x2b, 0xcf, 0x41, - 0xe6 + 0x23, 0x0b, 0x00, 0x0e, 0x26, 0x2b, 0x0f, 0x01, + 0x26 }, .len = 25 }, -- 2.25.1