From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id B7CB3A053B; Thu, 6 Feb 2020 12:24:57 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EDA811C0B9; Thu, 6 Feb 2020 12:24:56 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 782CE1BEE5 for ; Thu, 6 Feb 2020 12:24:54 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Feb 2020 03:24:53 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,409,1574150400"; d="scan'208";a="344764979" Received: from adamdybx-mobl.ger.corp.intel.com (HELO localhost.localdomain) ([10.104.125.64]) by fmsmga001.fm.intel.com with ESMTP; 06 Feb 2020 03:24:48 -0800 From: Adam Dybkowski To: dev@dpdk.org, fiona.trahe@intel.com Cc: Adam Dybkowski Date: Thu, 6 Feb 2020 12:24:47 +0100 Message-Id: <20200206112447.31488-1-adamx.dybkowski@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH] test/crypto: replace wireless algos test vectors X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" This patch replaces all KASUMI, SNOW3G, ZUC and all mixed crypto unit test vectors with randomly generated input arrays. All outputs were calculated and verified on both QAT PMD and appropriate software-only PMDs wherever possible. Signed-off-by: Adam Dybkowski --- .../test_cryptodev_kasumi_hash_test_vectors.h | 158 +- app/test/test_cryptodev_kasumi_test_vectors.h | 292 ++-- app/test/test_cryptodev_mixed_test_vectors.h | 1324 ++++++++--------- .../test_cryptodev_snow3g_hash_test_vectors.h | 644 ++++---- app/test/test_cryptodev_snow3g_test_vectors.h | 497 +++---- app/test/test_cryptodev_zuc_test_vectors.h | 1245 ++++++++-------- 6 files changed, 2076 insertions(+), 2084 deletions(-) diff --git a/app/test/test_cryptodev_kasumi_hash_test_vectors.h b/app/test/test_cryptodev_kasumi_hash_test_vectors.h index 5033d1830..be2a63ea7 100644 --- a/app/test/test_cryptodev_kasumi_hash_test_vectors.h +++ b/app/test/test_cryptodev_kasumi_hash_test_vectors.h @@ -1,5 +1,5 @@ /* SPDX-License-Identifier: BSD-3-Clause - * Copyright(c) 2016-2017 Intel Corporation + * Copyright(c) 2016-2020 Intel Corporation */ #ifndef TEST_CRYPTODEV_KASUMI_HASH_TEST_VECTORS_H_ @@ -30,22 +30,22 @@ struct kasumi_hash_test_data { struct kasumi_hash_test_data kasumi_hash_test_case_1 = { .key = { .data = { - 0x2B, 0xD6, 0x45, 0x9F, 0x82, 0xC5, 0xB3, 0x00, - 0x95, 0x2C, 0x49, 0x10, 0x48, 0x81, 0xFF, 0x48 + 0xB5, 0x03, 0xF0, 0x93, 0x0C, 0x73, 0xD4, 0x70, + 0x4E, 0x1D, 0xCD, 0x1B, 0x3B, 0xCE, 0x70, 0xCF }, .len = 16 }, .plaintext = { .data = { - 0x38, 0xA6, 0xF0, 0x56, 0x05, 0xD2, 0xEC, 0x49, - 0x6B, 0x22, 0x77, 0x37, 0x29, 0x6F, 0x39, 0x3C, - 0x80, 0x79, 0x35, 0x3E, 0xDC, 0x87, 0xE2, 0xE8, - 0x05, 0xD2, 0xEC, 0x49, 0xA4, 0xF2, 0xD8, 0xE2 + 0x56, 0x1A, 0x0F, 0x7A, 0x14, 0x63, 0x13, 0xB7, + 0x0E, 0x6C, 0x3A, 0xE5, 0x4A, 0xA2, 0x10, 0xFE, + 0x88, 0xD1, 0xE6, 0x22, 0x6F, 0x99, 0xDC, 0xF3, + 0x79, 0x09, 0x9B, 0x56, 0x3E, 0x5A, 0xCB, 0x94 }, .len = 256 }, .digest = { - .data = {0xF6, 0x3B, 0xD7, 0x2C}, + .data = {0xE4, 0x1C, 0x36, 0x82}, .len = 4 } }; @@ -53,23 +53,23 @@ struct kasumi_hash_test_data kasumi_hash_test_case_1 = { struct kasumi_hash_test_data kasumi_hash_test_case_2 = { .key = { .data = { - 0xD4, 0x2F, 0x68, 0x24, 0x28, 0x20, 0x1C, 0xAF, - 0xCD, 0x9F, 0x97, 0x94, 0x5E, 0x6D, 0xE7, 0xB7 + 0xD7, 0x43, 0x53, 0x7E, 0xA3, 0x26, 0x57, 0x83, + 0xCC, 0x68, 0x1F, 0x16, 0xAB, 0x3E, 0x4F, 0xD4 }, .len = 16 }, .plaintext = { .data = { - 0x3E, 0xDC, 0x87, 0xE2, 0xA4, 0xF2, 0xD8, 0xE2, - 0xB5, 0x92, 0x43, 0x84, 0x32, 0x8A, 0x4A, 0xE0, - 0x0B, 0x73, 0x71, 0x09, 0xF8, 0xB6, 0xC8, 0xDD, - 0x2B, 0x4D, 0xB6, 0x3D, 0xD5, 0x33, 0x98, 0x1C, - 0xEB, 0x19, 0xAA, 0xD5, 0x2A, 0x5B, 0x2B, 0xC3 + 0xDD, 0x6F, 0xAD, 0xB6, 0xC0, 0x48, 0xEB, 0xB4, + 0x35, 0x2E, 0xD0, 0xFB, 0x16, 0xD3, 0x9F, 0xF9, + 0x23, 0x0B, 0xEE, 0x31, 0x18, 0x03, 0x1E, 0x18, + 0xE0, 0x10, 0xC0, 0x6E, 0x7D, 0x70, 0xB1, 0x5B, + 0xE0, 0x5F, 0x11, 0xA0, 0xA7, 0xFC, 0x55, 0xDD }, .len = 320 }, .digest = { - .data = {0xA9, 0xDA, 0xF1, 0xFF}, + .data = {0x85, 0xC2, 0x18, 0x91}, .len = 4 } }; @@ -77,25 +77,25 @@ struct kasumi_hash_test_data kasumi_hash_test_case_2 = { struct kasumi_hash_test_data kasumi_hash_test_case_3 = { .key = { .data = { - 0xFD, 0xB9, 0xCF, 0xDF, 0x28, 0x93, 0x6C, 0xC4, - 0x83, 0xA3, 0x18, 0x69, 0xD8, 0x1B, 0x8F, 0xAB + 0x2C, 0xE7, 0xD1, 0x10, 0xF8, 0x71, 0x43, 0x42, + 0xE3, 0x36, 0xF1, 0xF1, 0x6B, 0xF7, 0x8B, 0x82 }, .len = 16 }, .plaintext = { .data = { - 0x36, 0xAF, 0x61, 0x44, 0x98, 0x38, 0xF0, 0x3A, - 0x59, 0x32, 0xBC, 0x0A, 0xCE, 0x2B, 0x0A, 0xBA, - 0x33, 0xD8, 0xAC, 0x18, 0x8A, 0xC5, 0x4F, 0x34, - 0x6F, 0xAD, 0x10, 0xBF, 0x9D, 0xEE, 0x29, 0x20, - 0xB4, 0x3B, 0xD0, 0xC5, 0x3A, 0x91, 0x5C, 0xB7, - 0xDF, 0x6C, 0xAA, 0x72, 0x05, 0x3A, 0xBF, 0xF3, - 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + 0xD8, 0x0C, 0x7B, 0x32, 0xAD, 0xE5, 0x80, 0xB6, + 0x20, 0x7C, 0xAF, 0x4C, 0xBE, 0x58, 0x4D, 0xE7, + 0x39, 0xDB, 0x79, 0x82, 0xEC, 0xE3, 0x89, 0x93, + 0xD8, 0xC3, 0x70, 0x91, 0x9B, 0xB0, 0x3C, 0x73, + 0xBD, 0xB8, 0xA6, 0x6A, 0x9D, 0x26, 0x21, 0xBE, + 0xA3, 0xD1, 0x0B, 0x61, 0x2A, 0x58, 0x48, 0x63, + 0x33, 0xC2, 0xE5, 0x1F, 0xA6, 0x6F, 0xB2, 0x7E }, .len = 448 }, .digest = { - .data = {0x15, 0x37, 0xD3, 0x16}, + .data = {0xC7, 0xDB, 0xB4, 0xC8}, .len = 4 } }; @@ -103,26 +103,26 @@ struct kasumi_hash_test_data kasumi_hash_test_case_3 = { struct kasumi_hash_test_data kasumi_hash_test_case_4 = { .key = { .data = { - 0xC7, 0x36, 0xC6, 0xAA, 0xB2, 0x2B, 0xFF, 0xF9, - 0x1E, 0x26, 0x98, 0xD2, 0xE2, 0x2A, 0xD5, 0x7E + 0x01, 0xEB, 0x6B, 0x5C, 0xD2, 0x44, 0x32, 0x0D, + 0x99, 0x16, 0x4F, 0x67, 0x76, 0x86, 0xB1, 0xE1 }, .len = 16 }, .plaintext = { .data = { - 0x14, 0x79, 0x3E, 0x41, 0x03, 0x97, 0xE8, 0xFD, - 0xD0, 0xA7, 0xD4, 0x63, 0xDF, 0x9F, 0xB2, 0xB2, - 0x78, 0x83, 0x3F, 0xA0, 0x2E, 0x23, 0x5A, 0xA1, - 0x72, 0xBD, 0x97, 0x0C, 0x14, 0x73, 0xE1, 0x29, - 0x07, 0xFB, 0x64, 0x8B, 0x65, 0x99, 0xAA, 0xA0, - 0xB2, 0x4A, 0x03, 0x86, 0x65, 0x42, 0x2B, 0x20, - 0xA4, 0x99, 0x27, 0x6A, 0x50, 0x42, 0x70, 0x09, - 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + 0x74, 0x5B, 0xDE, 0x1F, 0xA2, 0x3F, 0x31, 0x5C, + 0x9A, 0x9D, 0xFB, 0x53, 0x30, 0x74, 0x8C, 0xA8, + 0x5C, 0x0E, 0x79, 0x88, 0xAD, 0x54, 0xD5, 0x97, + 0x79, 0x22, 0xF5, 0x25, 0xFC, 0x70, 0x5A, 0x71, + 0xCB, 0x39, 0x90, 0x6E, 0x78, 0xC2, 0xCB, 0x12, + 0x60, 0xC7, 0x66, 0x90, 0x3C, 0xF2, 0x38, 0x98, + 0x01, 0xB1, 0x20, 0xAF, 0x06, 0xF5, 0x47, 0x80, + 0x17, 0x3D, 0xA6, 0x14, 0xAD, 0x00, 0x86, 0x78 }, .len = 512 }, .digest = { - .data = {0xDD, 0x7D, 0xFA, 0xDD }, + .data = {0xF8, 0xAF, 0xF0, 0xC8}, .len = 4 } }; @@ -130,35 +130,35 @@ struct kasumi_hash_test_data kasumi_hash_test_case_4 = { struct kasumi_hash_test_data kasumi_hash_test_case_5 = { .key = { .data = { - 0xF4, 0xEB, 0xEC, 0x69, 0xE7, 0x3E, 0xAF, 0x2E, - 0xB2, 0xCF, 0x6A, 0xF4, 0xB3, 0x12, 0x0F, 0xFD + 0x1E, 0xBA, 0x4E, 0xC9, 0xC8, 0x9E, 0x64, 0x33, + 0x93, 0xB8, 0x9C, 0xEE, 0x69, 0x22, 0x71, 0x24 }, .len = 16 }, .plaintext = { .data = { - 0x29, 0x6F, 0x39, 0x3C, 0x6B, 0x22, 0x77, 0x37, - 0x10, 0xBF, 0xFF, 0x83, 0x9E, 0x0C, 0x71, 0x65, - 0x8D, 0xBB, 0x2D, 0x17, 0x07, 0xE1, 0x45, 0x72, - 0x4F, 0x41, 0xC1, 0x6F, 0x48, 0xBF, 0x40, 0x3C, - 0x3B, 0x18, 0xE3, 0x8F, 0xD5, 0xD1, 0x66, 0x3B, - 0x6F, 0x6D, 0x90, 0x01, 0x93, 0xE3, 0xCE, 0xA8, - 0xBB, 0x4F, 0x1B, 0x4F, 0x5B, 0xE8, 0x22, 0x03, - 0x22, 0x32, 0xA7, 0x8D, 0x7D, 0x75, 0x23, 0x8D, - 0x5E, 0x6D, 0xAE, 0xCD, 0x3B, 0x43, 0x22, 0xCF, - 0x59, 0xBC, 0x7E, 0xA8, 0x4A, 0xB1, 0x88, 0x11, - 0xB5, 0xBF, 0xB7, 0xBC, 0x55, 0x3F, 0x4F, 0xE4, - 0x44, 0x78, 0xCE, 0x28, 0x7A, 0x14, 0x87, 0x99, - 0x90, 0xD1, 0x8D, 0x12, 0xCA, 0x79, 0xD2, 0xC8, - 0x55, 0x14, 0x90, 0x21, 0xCD, 0x5C, 0xE8, 0xCA, - 0x03, 0x71, 0xCA, 0x04, 0xFC, 0xCE, 0x14, 0x3E, - 0x3D, 0x7C, 0xFE, 0xE9, 0x45, 0x85, 0xB5, 0x88, - 0x5C, 0xAC, 0x46, 0x06, 0x8B, 0xC0, 0x00, 0x00 + 0x6E, 0xF6, 0x2B, 0x9A, 0x8F, 0xDA, 0xC5, 0xDD, + 0x02, 0x69, 0xD9, 0xA2, 0x55, 0xF8, 0xB7, 0x13, + 0xF0, 0x5B, 0x00, 0x56, 0x7D, 0xB1, 0x3C, 0x0E, + 0xEC, 0x52, 0x20, 0xC3, 0x97, 0x29, 0xDE, 0x05, + 0x20, 0x09, 0xA0, 0xB0, 0xE4, 0x65, 0x8D, 0xE7, + 0xCF, 0x67, 0x89, 0x25, 0x60, 0x40, 0x38, 0x50, + 0x9B, 0x39, 0xA7, 0x19, 0xEA, 0xE4, 0x27, 0xD7, + 0x36, 0x48, 0x9A, 0xCD, 0x72, 0x79, 0xD3, 0x92, + 0x83, 0x73, 0x42, 0x67, 0xD9, 0xD0, 0x4E, 0xA9, + 0x37, 0xD8, 0xCE, 0x98, 0x18, 0x07, 0xE8, 0xB4, + 0x40, 0x8F, 0xCD, 0x2B, 0x73, 0xF4, 0x02, 0xAA, + 0x3D, 0x9C, 0x78, 0xAF, 0x16, 0x4B, 0x42, 0x99, + 0xBF, 0x84, 0x01, 0x99, 0x55, 0x50, 0x42, 0x8D, + 0x28, 0x11, 0x25, 0x40, 0x18, 0x0D, 0xF4, 0x58, + 0x9D, 0xC2, 0x83, 0x11, 0xB6, 0x86, 0xBB, 0xF3, + 0x23, 0x33, 0xA3, 0x39, 0x7F, 0xE5, 0xD2, 0x3F, + 0x6A, 0xD4, 0xD9, 0xBF, 0x24, 0x1C, 0x4D, 0x4C }, .len = 1088 }, .digest = { - .data = {0xC3, 0x83, 0x83, 0x9D}, + .data = {0x9F, 0x75, 0xB6, 0xA8}, .len = 4 } }; @@ -166,32 +166,32 @@ struct kasumi_hash_test_data kasumi_hash_test_case_5 = { struct kasumi_hash_test_data kasumi_hash_test_case_6 = { .key = { .data = { - 0x83, 0xFD, 0x23, 0xA2, 0x44, 0xA7, 0x4C, 0xF3, - 0x58, 0xDA, 0x30, 0x19, 0xF1, 0x72, 0x26, 0x35 + 0xBB, 0xEC, 0x4D, 0x72, 0xC5, 0x81, 0x9B, 0xE8, + 0x2E, 0x6E, 0x77, 0x14, 0x27, 0x19, 0x1E, 0x99 }, .len = 16 }, .plaintext = { .data = { - 0x36, 0xAF, 0x61, 0x44, 0x4F, 0x30, 0x2A, 0xD2, - 0x35, 0xC6, 0x87, 0x16, 0x63, 0x3C, 0x66, 0xFB, - 0x75, 0x0C, 0x26, 0x68, 0x65, 0xD5, 0x3C, 0x11, - 0xEA, 0x05, 0xB1, 0xE9, 0xFA, 0x49, 0xC8, 0x39, - 0x8D, 0x48, 0xE1, 0xEF, 0xA5, 0x90, 0x9D, 0x39, - 0x47, 0x90, 0x28, 0x37, 0xF5, 0xAE, 0x96, 0xD5, - 0xA0, 0x5B, 0xC8, 0xD6, 0x1C, 0xA8, 0xDB, 0xEF, - 0x1B, 0x13, 0xA4, 0xB4, 0xAB, 0xFE, 0x4F, 0xB1, - 0x00, 0x60, 0x45, 0xB6, 0x74, 0xBB, 0x54, 0x72, - 0x93, 0x04, 0xC3, 0x82, 0xBE, 0x53, 0xA5, 0xAF, - 0x05, 0x55, 0x61, 0x76, 0xF6, 0xEA, 0xA2, 0xEF, - 0x1D, 0x05, 0xE4, 0xB0, 0x83, 0x18, 0x1E, 0xE6, - 0x74, 0xCD, 0xA5, 0xA4, 0x85, 0xF7, 0x4D, 0x7A, - 0xC0 + 0x53, 0x71, 0xF2, 0xE3, 0xA6, 0xC3, 0xBE, 0xEC, + 0x5F, 0x5F, 0x20, 0xD5, 0x7A, 0xFA, 0xFA, 0xE9, + 0xB5, 0x06, 0x1D, 0x0A, 0x18, 0x06, 0xA0, 0x53, + 0x98, 0x3B, 0xB8, 0x73, 0x49, 0xC6, 0x41, 0x9D, + 0x38, 0x33, 0x80, 0xDF, 0xF6, 0x3F, 0xCB, 0x56, + 0x9E, 0xEC, 0x2B, 0x18, 0xE6, 0x25, 0x02, 0x9C, + 0x2C, 0x1F, 0xA6, 0x45, 0x26, 0x46, 0x99, 0xBF, + 0x82, 0x52, 0x32, 0xCC, 0x19, 0x74, 0x69, 0x51, + 0xA8, 0xE9, 0x31, 0x9F, 0x29, 0xFC, 0xF5, 0xC8, + 0xE8, 0x21, 0xE0, 0xCF, 0x47, 0xE3, 0x6B, 0x74, + 0x03, 0x11, 0xB9, 0x29, 0x58, 0x53, 0xE9, 0xDA, + 0xA5, 0x1C, 0xA6, 0xBF, 0x90, 0x0F, 0x11, 0x38, + 0xF9, 0x42, 0xD7, 0x23, 0x3E, 0xCD, 0xEB, 0x27, + 0xEE }, .len = 840 }, .digest = { - .data = {0x95, 0xAE, 0x41, 0xBA}, + .data = {0xDC, 0xC5, 0x4C, 0x3C}, .len = 4 } }; @@ -199,16 +199,16 @@ struct kasumi_hash_test_data kasumi_hash_test_case_6 = { struct kasumi_hash_test_data kasumi_hash_test_case_7 = { .key = { .data = { - 0x5A, 0xCB, 0x1D, 0x64, 0x4C, 0x0D, 0x51, 0x20, - 0x4E, 0xA5, 0xF1, 0x45, 0x10, 0x10, 0xD8, 0x52 + 0xD8, 0xBA, 0x2F, 0x5F, 0x3A, 0x5A, 0xCD, 0x0E, + 0xA6, 0x8F, 0xC2, 0x19, 0x19, 0x34, 0xDC, 0x5A }, .len = 16 }, .plaintext = { .data = { - 0x38, 0xA6, 0xF0, 0x56, 0x05, 0xD2, 0xEC, 0x49, - 0xAD, 0x9C, 0x44, 0x1F, 0x89, 0x0B, 0x38, 0xC4, - 0x57, 0xA4, 0x9D, 0x42, 0x14, 0x07, 0xE8, 0xC0 + 0x38, 0xED, 0x3A, 0xAD, 0xBD, 0x2B, 0x38, 0x7C, + 0x3C, 0xD5, 0x68, 0x08, 0x1F, 0xFC, 0xBD, 0x40, + 0x7C, 0x32, 0x3A, 0x3E, 0x34, 0xDC, 0x06, 0x1A }, .len = 192 }, diff --git a/app/test/test_cryptodev_kasumi_test_vectors.h b/app/test/test_cryptodev_kasumi_test_vectors.h index f0a6d553d..467412b80 100644 --- a/app/test/test_cryptodev_kasumi_test_vectors.h +++ b/app/test/test_cryptodev_kasumi_test_vectors.h @@ -1,5 +1,5 @@ /* SPDX-License-Identifier: BSD-3-Clause - * Copyright(c) 2016-2017 Intel Corporation + * Copyright(c) 2016-2020 Intel Corporation */ #ifndef TEST_CRYPTODEV_KASUMI_TEST_VECTORS_H_ @@ -59,50 +59,50 @@ struct kasumi_test_data { struct kasumi_test_data kasumi_test_case_1 = { .key = { .data = { - 0x2B, 0xD6, 0x45, 0x9F, 0x82, 0xC5, 0xB3, 0x00, - 0x95, 0x2C, 0x49, 0x10, 0x48, 0x81, 0xFF, 0x48 + 0xD6, 0xBA, 0x25, 0x45, 0x74, 0x6B, 0xA5, 0x9D, + 0x92, 0x6B, 0x1D, 0x81, 0x94, 0xB9, 0x94, 0xB3 }, .len = 16 }, .cipher_iv = { .data = { - 0x72, 0xA4, 0xF2, 0x0F, 0x64, 0x00, 0x00, 0x00 + 0x22, 0xAD, 0xC5, 0x1B, 0x28, 0x90, 0x79, 0xA5 }, .len = 8 }, .plaintext = { .data = { - 0x7E, 0xC6, 0x12, 0x72, 0x74, 0x3B, 0xF1, 0x61, - 0x47, 0x26, 0x44, 0x6A, 0x6C, 0x38, 0xCE, 0xD1, - 0x66, 0xF6, 0xCA, 0x76, 0xEB, 0x54, 0x30, 0x04, - 0x42, 0x86, 0x34, 0x6C, 0xEF, 0x13, 0x0F, 0x92, - 0x92, 0x2B, 0x03, 0x45, 0x0D, 0x3A, 0x99, 0x75, - 0xE5, 0xBD, 0x2E, 0xA0, 0xEB, 0x55, 0xAD, 0x8E, - 0x1B, 0x19, 0x9E, 0x3E, 0xC4, 0x31, 0x60, 0x20, - 0xE9, 0xA1, 0xB2, 0x85, 0xE7, 0x62, 0x79, 0x53, - 0x59, 0xB7, 0xBD, 0xFD, 0x39, 0xBE, 0xF4, 0xB2, - 0x48, 0x45, 0x83, 0xD5, 0xAF, 0xE0, 0x82, 0xAE, - 0xE6, 0x38, 0xBF, 0x5F, 0xD5, 0xA6, 0x06, 0x19, - 0x39, 0x01, 0xA0, 0x8F, 0x4A, 0xB4, 0x1A, 0xAB, - 0x9B, 0x13, 0x48, 0x80 + 0x01, 0x5F, 0x4E, 0xE8, 0x29, 0xDF, 0xE2, 0x11, + 0xCE, 0xB1, 0x5B, 0x5C, 0xE6, 0x1A, 0x56, 0x97, + 0x24, 0x2B, 0x7E, 0x0C, 0x1E, 0xD1, 0x4F, 0x10, + 0x22, 0xD3, 0x3B, 0x27, 0x81, 0xD6, 0x05, 0x83, + 0x35, 0x53, 0x6B, 0x5E, 0x33, 0x4D, 0x70, 0x02, + 0xFE, 0xCB, 0x5E, 0xE5, 0xE6, 0xB4, 0x7D, 0x0A, + 0xE0, 0xFB, 0x16, 0xFE, 0xCC, 0x66, 0x0F, 0xEF, + 0x39, 0x4A, 0x16, 0xBA, 0x20, 0x1B, 0x3E, 0x55, + 0x6F, 0xA9, 0xB4, 0xA3, 0xF6, 0x24, 0xA5, 0xF5, + 0xF0, 0x04, 0xDB, 0xD6, 0xB8, 0x58, 0xE0, 0x98, + 0x53, 0xF7, 0x97, 0x1F, 0x5D, 0xA6, 0x0E, 0x97, + 0xF1, 0x25, 0x52, 0x11, 0x41, 0x90, 0x67, 0xB1, + 0x39, 0x1C, 0x54, 0x30 }, .len = 800 }, .ciphertext = { .data = { - 0xD1, 0xE2, 0xDE, 0x70, 0xEE, 0xF8, 0x6C, 0x69, - 0x64, 0xFB, 0x54, 0x2B, 0xC2, 0xD4, 0x60, 0xAA, - 0xBF, 0xAA, 0x10, 0xA4, 0xA0, 0x93, 0x26, 0x2B, - 0x7D, 0x19, 0x9E, 0x70, 0x6F, 0xC2, 0xD4, 0x89, - 0x15, 0x53, 0x29, 0x69, 0x10, 0xF3, 0xA9, 0x73, - 0x01, 0x26, 0x82, 0xE4, 0x1C, 0x4E, 0x2B, 0x02, - 0xBE, 0x20, 0x17, 0xB7, 0x25, 0x3B, 0xBF, 0x93, - 0x09, 0xDE, 0x58, 0x19, 0xCB, 0x42, 0xE8, 0x19, - 0x56, 0xF4, 0xC9, 0x9B, 0xC9, 0x76, 0x5C, 0xAF, - 0x53, 0xB1, 0xD0, 0xBB, 0x82, 0x79, 0x82, 0x6A, - 0xDB, 0xBC, 0x55, 0x22, 0xE9, 0x15, 0xC1, 0x20, - 0xA6, 0x18, 0xA5, 0xA7, 0xF5, 0xE8, 0x97, 0x08, - 0x93, 0x39, 0x65, 0x0F + 0xEE, 0x76, 0xA0, 0xC7, 0x4E, 0xAA, 0x0C, 0x0F, + 0x77, 0x8E, 0xAA, 0xB7, 0x9A, 0x12, 0x63, 0xF8, + 0x7B, 0x08, 0x07, 0xD6, 0xE0, 0x81, 0x90, 0x0E, + 0xC4, 0x51, 0x4B, 0x8A, 0xA8, 0x62, 0xD5, 0x40, + 0x28, 0x43, 0x3C, 0x83, 0x8C, 0xEF, 0x31, 0xE4, + 0x99, 0x34, 0x47, 0xCB, 0xCF, 0xC4, 0xFD, 0xD3, + 0xB1, 0x09, 0xAE, 0x8C, 0x42, 0x6F, 0xA7, 0x32, + 0x4A, 0x9F, 0x92, 0xDD, 0x32, 0xAF, 0xC8, 0x12, + 0x4A, 0x8B, 0xC0, 0x30, 0x50, 0x76, 0x27, 0xCF, + 0x84, 0x8C, 0xB2, 0x3F, 0x84, 0x7D, 0xA3, 0x3E, + 0xA4, 0xA5, 0xFA, 0xEC, 0xD7, 0xF2, 0x29, 0x17, + 0xD3, 0xBC, 0x5E, 0xAD, 0x72, 0x40, 0xB6, 0x57, + 0xA8, 0xA2, 0xF6, 0x80 }, .len = 800 }, @@ -117,40 +117,40 @@ struct kasumi_test_data kasumi_test_case_1 = { struct kasumi_test_data kasumi_test_case_2 = { .key = { .data = { - 0xEF, 0xA8, 0xB2, 0x22, 0x9E, 0x72, 0x0C, 0x2A, - 0x7C, 0x36, 0xEA, 0x55, 0xE9, 0x60, 0x56, 0x95 + 0x8B, 0x71, 0xC9, 0xDF, 0x52, 0x90, 0xFF, 0x56, + 0xDE, 0x91, 0x22, 0xE7, 0xA4, 0x91, 0x1D, 0xF8 }, .len = 16 }, .cipher_iv = { .data = { - 0xE2, 0x8B, 0xCF, 0x7B, 0xC0, 0x00, 0x00, 0x00 + 0x45, 0xA8, 0x02, 0xC1, 0xB9, 0x0C, 0x3F, 0xFC }, .len = 8 }, .plaintext = { .data = { - 0x10, 0x11, 0x12, 0x31, 0xE0, 0x60, 0x25, 0x3A, - 0x43, 0xFD, 0x3F, 0x57, 0xE3, 0x76, 0x07, 0xAB, - 0x28, 0x27, 0xB5, 0x99, 0xB6, 0xB1, 0xBB, 0xDA, - 0x37, 0xA8, 0xAB, 0xCC, 0x5A, 0x8C, 0x55, 0x0D, - 0x1B, 0xFB, 0x2F, 0x49, 0x46, 0x24, 0xFB, 0x50, - 0x36, 0x7F, 0xA3, 0x6C, 0xE3, 0xBC, 0x68, 0xF1, - 0x1C, 0xF9, 0x3B, 0x15, 0x10, 0x37, 0x6B, 0x02, - 0x13, 0x0F, 0x81, 0x2A, 0x9F, 0xA1, 0x69, 0xD8 + 0xEF, 0xEB, 0x0F, 0x27, 0xE7, 0x76, 0x76, 0x62, + 0xB9, 0x05, 0xE6, 0x97, 0xC6, 0x8F, 0xDC, 0x4B, + 0x7F, 0x3D, 0x83, 0xC8, 0x40, 0x2A, 0xE0, 0x3A, + 0xBC, 0x28, 0x32, 0x50, 0xCB, 0xBD, 0x26, 0xBA, + 0xA8, 0x36, 0xE1, 0x90, 0xAC, 0x58, 0xF2, 0x66, + 0x5E, 0xD9, 0xFD, 0x24, 0x68, 0xDA, 0x70, 0xE8, + 0x18, 0xF3, 0xB0, 0x58, 0x1E, 0x91, 0x92, 0xDB, + 0xB9, 0xC5, 0x2B, 0x84, 0x83, 0x52, 0x3F, 0x2B }, .len = 512 }, .ciphertext = { .data = { - 0x3D, 0xEA, 0xCC, 0x7C, 0x15, 0x82, 0x1C, 0xAA, - 0x89, 0xEE, 0xCA, 0xDE, 0x9B, 0x5B, 0xD3, 0x61, - 0x4B, 0xD0, 0xC8, 0x41, 0x9D, 0x71, 0x03, 0x85, - 0xDD, 0xBE, 0x58, 0x49, 0xEF, 0x1B, 0xAC, 0x5A, - 0xE8, 0xB1, 0x4A, 0x5B, 0x0A, 0x67, 0x41, 0x52, - 0x1E, 0xB4, 0xE0, 0x0B, 0xB9, 0xEC, 0xF3, 0xE9, - 0xF7, 0xCC, 0xB9, 0xCA, 0xE7, 0x41, 0x52, 0xD7, - 0xF4, 0xE2, 0xA0, 0x34, 0xB6, 0xEA, 0x00, 0xEC + 0xB6, 0xA0, 0x66, 0x57, 0xFD, 0xE1, 0x56, 0xB7, + 0xA2, 0xB9, 0x3F, 0xC4, 0x72, 0xE6, 0x99, 0x72, + 0x81, 0xAA, 0xE3, 0xCC, 0x74, 0xD2, 0x87, 0x9C, + 0xD1, 0x8F, 0x42, 0xCF, 0xAC, 0xEE, 0x7E, 0xBB, + 0x6C, 0x13, 0x8B, 0xEA, 0x63, 0x5F, 0xC3, 0x39, + 0x4B, 0x0E, 0x98, 0x84, 0x9F, 0xA4, 0x03, 0x02, + 0x6A, 0x06, 0x47, 0x31, 0x4B, 0x88, 0x9F, 0xBB, + 0x16, 0xB5, 0x6F, 0xFC, 0x4B, 0xD7, 0x97, 0x5C }, .len = 512 }, @@ -165,30 +165,30 @@ struct kasumi_test_data kasumi_test_case_2 = { struct kasumi_test_data kasumi_test_case_3 = { .key = { .data = { - 0x5A, 0xCB, 0x1D, 0x64, 0x4C, 0x0D, 0x51, 0x20, - 0x4E, 0xA5, 0xF1, 0x45, 0x10, 0x10, 0xD8, 0x52 + 0x78, 0x7C, 0x09, 0x9E, 0x8F, 0xA5, 0x13, 0x26, + 0x47, 0xE4, 0x2A, 0xA1, 0x04, 0x03, 0xA1, 0x2B }, .len = 16 }, .cipher_iv = { .data = { - 0xFA, 0x55, 0x6B, 0x26, 0x1C, 0x00, 0x00, 0x00 + 0xB2, 0x34, 0xC3, 0x80, 0x77, 0xA3, 0x53, 0xCE }, .len = 8 }, .plaintext = { .data = { - 0x38, 0xA6, 0xF0, 0x56, 0x05, 0xD2, 0xEC, 0x49, - 0xAD, 0x9C, 0x44, 0x1F, 0x89, 0x0B, 0x38, 0xC4, - 0x57, 0xA4, 0x9D, 0x42, 0x14, 0x07, 0xE8, 0xC0 + 0xA3, 0xBE, 0x96, 0x84, 0x3C, 0x0F, 0xCA, 0x8B, + 0x62, 0x15, 0x5A, 0x5C, 0x89, 0x8B, 0xF5, 0x5B, + 0xB7, 0x6C, 0xC9, 0x0C, 0x39, 0x46, 0x1D, 0x8A }, .len = 192 }, .ciphertext = { .data = { - 0x38, 0xA6, 0xF0, 0x56, 0x05, 0xD2, 0xEC, 0x49, - 0x9B, 0xC9, 0x2C, 0xA8, 0x03, 0xC6, 0x7B, 0x28, - 0xA1, 0x1A, 0x4B, 0xEE, 0x5A, 0x0C, 0x25, 0xC0 + 0xA3, 0xBE, 0x96, 0x84, 0x3C, 0x0F, 0xCA, 0x8B, + 0x95, 0x53, 0xE3, 0x9D, 0x8E, 0xEB, 0x94, 0x3E, + 0x27, 0x7A, 0xA0, 0x79, 0x62, 0x32, 0x8B, 0x8A }, .len = 192 }, @@ -205,7 +205,7 @@ struct kasumi_test_data kasumi_test_case_3 = { .len = 64 }, .digest = { - .data = {0x87, 0x5F, 0xE4, 0x89}, + .data = {0x55, 0x43, 0x22, 0x96}, .len = 4, .offset_bytes = 0 } @@ -214,32 +214,32 @@ struct kasumi_test_data kasumi_test_case_3 = { struct kasumi_test_data kasumi_test_case_4 = { .key = { .data = { - 0xD3, 0xC5, 0xD5, 0x92, 0x32, 0x7F, 0xB1, 0x1C, - 0x40, 0x35, 0xC6, 0x68, 0x0A, 0xF8, 0xC6, 0xD1 + 0xE0, 0xDC, 0x6E, 0xA5, 0xB0, 0x19, 0x93, 0x46, + 0x47, 0x71, 0x03, 0x75, 0xF7, 0xE2, 0x55, 0xB8 }, .len = 16 }, .cipher_iv = { .data = { - 0x39, 0x8A, 0x59, 0xB4, 0x2C, 0x00, 0x00, 0x00, + 0x18, 0x13, 0x27, 0x05, 0x97, 0x95, 0xD1, 0xEC }, .len = 8 }, .plaintext = { .data = { - 0x98, 0x1B, 0xA6, 0x82, 0x4C, 0x1B, 0xFB, 0x1A, - 0xB4, 0x85, 0x47, 0x20, 0x29, 0xB7, 0x1D, 0x80, - 0x8C, 0xE3, 0x3E, 0x2C, 0xC3, 0xC0, 0xB5, 0xFC, - 0x1F, 0x3D, 0xE8, 0xA6, 0xDC, 0x66, 0xB1, 0xF0 + 0x42, 0x72, 0x17, 0xAF, 0xBC, 0x74, 0x04, 0x43, + 0x80, 0x4E, 0x38, 0x05, 0x4B, 0x85, 0x26, 0x54, + 0x21, 0x7A, 0x24, 0xB7, 0x7C, 0x59, 0xD7, 0xA9, + 0x01, 0x67, 0xC2, 0x27, 0x47, 0xC0, 0xA9, 0x8A }, .len = 256 }, .ciphertext = { .data = { - 0x5B, 0xB9, 0x43, 0x1B, 0xB1, 0xE9, 0x8B, 0xD1, - 0x1B, 0x93, 0xDB, 0x7C, 0x3D, 0x45, 0x13, 0x65, - 0x59, 0xBB, 0x86, 0xA2, 0x95, 0xAA, 0x20, 0x4E, - 0xCB, 0xEB, 0xF6, 0xF7, 0xA5, 0x10, 0x15, 0x10 + 0xCB, 0x46, 0x1C, 0x8B, 0x3F, 0x12, 0xFB, 0xCE, + 0x4C, 0xE3, 0x90, 0x51, 0x24, 0x0E, 0xA0, 0xCD, + 0xF7, 0xB5, 0x57, 0x6D, 0xED, 0x30, 0x8E, 0xB3, + 0xB0, 0xFF, 0x46, 0x27, 0xDF, 0x5D, 0x81, 0xE9 }, .len = 256 }, @@ -254,52 +254,52 @@ struct kasumi_test_data kasumi_test_case_4 = { struct kasumi_test_data kasumi_test_case_5 = { .key = { .data = { - 0x60, 0x90, 0xEA, 0xE0, 0x4C, 0x83, 0x70, 0x6E, - 0xEC, 0xBF, 0x65, 0x2B, 0xE8, 0xE3, 0x65, 0x66 + 0xC8, 0x9E, 0xF1, 0xE7, 0x58, 0x97, 0x18, 0xF4, + 0xE9, 0x14, 0xE9, 0xEB, 0x37, 0x99, 0x77, 0xFA }, .len = 16 }, .cipher_iv = { .data = { - 0x72, 0xA4, 0xF2, 0x0F, 0x48, 0x00, 0x00, 0x00 + 0x04, 0x58, 0x2D, 0x4C, 0x43, 0x96, 0xDA, 0x9F }, .len = 8 }, .plaintext = { .data = { - 0x40, 0x98, 0x1B, 0xA6, 0x82, 0x4C, 0x1B, 0xFB, - 0x42, 0x86, 0xB2, 0x99, 0x78, 0x3D, 0xAF, 0x44, - 0x2C, 0x09, 0x9F, 0x7A, 0xB0, 0xF5, 0x8D, 0x5C, - 0x8E, 0x46, 0xB1, 0x04, 0xF0, 0x8F, 0x01, 0xB4, - 0x1A, 0xB4, 0x85, 0x47, 0x20, 0x29, 0xB7, 0x1D, - 0x36, 0xBD, 0x1A, 0x3D, 0x90, 0xDC, 0x3A, 0x41, - 0xB4, 0x6D, 0x51, 0x67, 0x2A, 0xC4, 0xC9, 0x66, - 0x3A, 0x2B, 0xE0, 0x63, 0xDA, 0x4B, 0xC8, 0xD2, - 0x80, 0x8C, 0xE3, 0x3E, 0x2C, 0xCC, 0xBF, 0xC6, - 0x34, 0xE1, 0xB2, 0x59, 0x06, 0x08, 0x76, 0xA0, - 0xFB, 0xB5, 0xA4, 0x37, 0xEB, 0xCC, 0x8D, 0x31, - 0xC1, 0x9E, 0x44, 0x54, 0x31, 0x87, 0x45, 0xE3, - 0x98, 0x76, 0x45, 0x98, 0x7A, 0x98, 0x6F, 0x2C, - 0xB0 + 0x64, 0xED, 0x54, 0x54, 0xCE, 0x70, 0x49, 0x1B, + 0x63, 0x35, 0xB6, 0x71, 0x29, 0xB6, 0x36, 0xBB, + 0x12, 0x38, 0xB1, 0x22, 0xC1, 0x2C, 0x63, 0x76, + 0xF3, 0x54, 0xAB, 0xD4, 0x18, 0x14, 0xB5, 0x7D, + 0x01, 0x09, 0xD2, 0xD0, 0x7A, 0x1C, 0xEB, 0xDD, + 0x52, 0xA2, 0x4E, 0x7B, 0x59, 0x85, 0x37, 0x6B, + 0xBE, 0xE8, 0x8E, 0x7F, 0x15, 0xF1, 0xF6, 0x09, + 0x46, 0xA2, 0xDD, 0x5F, 0xB6, 0x93, 0xDD, 0xB8, + 0x9C, 0xB0, 0x88, 0x17, 0xCC, 0x74, 0xF4, 0x1E, + 0x16, 0x43, 0x9A, 0x6F, 0xC8, 0xD2, 0xDB, 0x87, + 0xBB, 0x69, 0x07, 0xD0, 0x5B, 0xFD, 0xD9, 0xA2, + 0xA0, 0xB7, 0x02, 0x57, 0x4A, 0xDF, 0x0F, 0xE7, + 0x8F, 0x98, 0xFE, 0x5C, 0x0C, 0xF2, 0x7A, 0x22, + 0x35 }, .len = 840 }, .ciphertext = { .data = { - 0xDD, 0xB3, 0x64, 0xDD, 0x2A, 0xAE, 0xC2, 0x4D, - 0xFF, 0x29, 0x19, 0x57, 0xB7, 0x8B, 0xAD, 0x06, - 0x3A, 0xC5, 0x79, 0xCD, 0x90, 0x41, 0xBA, 0xBE, - 0x89, 0xFD, 0x19, 0x5C, 0x05, 0x78, 0xCB, 0x9F, - 0xDE, 0x42, 0x17, 0x56, 0x61, 0x78, 0xD2, 0x02, - 0x40, 0x20, 0x6D, 0x07, 0xCF, 0xA6, 0x19, 0xEC, - 0x05, 0x9F, 0x63, 0x51, 0x44, 0x59, 0xFC, 0x10, - 0xD4, 0x2D, 0xC9, 0x93, 0x4E, 0x56, 0xEB, 0xC0, - 0xCB, 0xC6, 0x0D, 0x4D, 0x2D, 0xF1, 0x74, 0x77, - 0x4C, 0xBD, 0xCD, 0x5D, 0xA4, 0xA3, 0x50, 0x31, - 0x7A, 0x7F, 0x12, 0xE1, 0x94, 0x94, 0x71, 0xF8, - 0xA2, 0x95, 0xF2, 0x72, 0xE6, 0x8F, 0xC0, 0x71, - 0x59, 0xB0, 0x7D, 0x8E, 0x2D, 0x26, 0xE4, 0x59, - 0x9E + 0x46, 0xBC, 0x17, 0xC1, 0xA0, 0x3C, 0xEA, 0x37, + 0x6A, 0x81, 0x6F, 0x9F, 0x56, 0x92, 0xDB, 0xA2, + 0x8C, 0x49, 0x0B, 0x09, 0x77, 0xB5, 0xB8, 0x42, + 0x5E, 0x2F, 0xF6, 0x55, 0x96, 0x97, 0x50, 0xB5, + 0xDE, 0x11, 0xE9, 0x74, 0xDA, 0x63, 0x6F, 0xFD, + 0x66, 0x4F, 0x43, 0x4D, 0x29, 0xAB, 0x86, 0x7D, + 0x73, 0x7D, 0x05, 0xE9, 0x6D, 0x70, 0x29, 0xED, + 0x9A, 0x4D, 0xCF, 0xF8, 0xE5, 0x5A, 0xE2, 0xA0, + 0xAD, 0x52, 0x19, 0xB0, 0x89, 0x4B, 0xEF, 0xFB, + 0xD7, 0x64, 0x3B, 0xB9, 0x44, 0x75, 0x67, 0xCA, + 0xD1, 0x9C, 0xD7, 0x7F, 0x48, 0x20, 0x8C, 0xB8, + 0x11, 0x06, 0x91, 0x42, 0x00, 0x6A, 0x0F, 0x98, + 0x2F, 0x51, 0xE3, 0xF9, 0x4D, 0xB5, 0x5B, 0x81, + 0x3A }, .len = 840 }, @@ -314,30 +314,30 @@ struct kasumi_test_data kasumi_test_case_5 = { struct kasumi_test_data kasumi_test_case_6 = { .key = { .data = { - 0x5A, 0xCB, 0x1D, 0x64, 0x4C, 0x0D, 0x51, 0x20, - 0x4E, 0xA5, 0xF1, 0x45, 0x10, 0x10, 0xD8, 0x52 + 0x0D, 0x4C, 0xC3, 0xFE, 0xF2, 0x4F, 0x7B, 0xF0, + 0xDB, 0xCF, 0xD6, 0x0C, 0xE1, 0xE2, 0x1B, 0x35 }, .len = 16 }, .cipher_iv = { .data = { - 0xFA, 0x55, 0x6B, 0x26, 0x1C, 0x00, 0x00, 0x00 + 0x47, 0x03, 0x7C, 0xDF, 0xDA, 0x4B, 0x3A, 0x18 }, .len = 8 }, .plaintext = { .data = { - 0x38, 0xA6, 0xF0, 0x56, 0x05, 0xD2, 0xEC, 0x49, - 0xAD, 0x9C, 0x44, 0x1F, 0x89, 0x0B, 0x38, 0xC4, - 0x57, 0xA4, 0x9D, 0x42, 0x14, 0x07, 0xE8, 0xC0 + 0xB8, 0x8E, 0xD0, 0xE4, 0x20, 0x39, 0x33, 0x56, + 0x76, 0x00, 0x85, 0x47, 0xE7, 0x6A, 0xEE, 0x65, + 0x8F, 0xEF, 0x10, 0x77, 0xA2, 0x36, 0x13, 0x33 }, .len = 192 }, .ciphertext = { .data = { 0x38, 0xA6, 0xF0, 0x56, 0x05, 0xD2, 0xEC, 0x49, - 0x9B, 0xC9, 0x2C, 0xA8, 0x03, 0xC6, 0x7B, 0x28, - 0xA1, 0x1A, 0x4B, 0xEE, 0x5A, 0x0C, 0x25, 0xC0 + 0xB1, 0x6C, 0xD6, 0x69, 0xA1, 0xF7, 0x15, 0x80, + 0x0D, 0x3E, 0x9B, 0x2D, 0xBF, 0x81, 0x27, 0x33 }, .len = 192 }, @@ -354,7 +354,7 @@ struct kasumi_test_data kasumi_test_case_6 = { .len = 192 }, .digest = { - .data = {0x0F, 0xD2, 0xAA, 0xB5}, + .data = {0x70, 0x0D, 0x1D, 0x4A}, .len = 4, .offset_bytes = 0 } @@ -363,56 +363,56 @@ struct kasumi_test_data kasumi_test_case_6 = { struct kasumi_test_data kasumi_auth_cipher_test_case_2 = { .key = { .data = { - 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, - 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 + 0x04, 0x02, 0xF1, 0xBB, 0xD4, 0xDE, 0x87, 0xDF, + 0xA0, 0x03, 0x21, 0x37, 0x36, 0x88, 0x53, 0xE7 }, .len = 16 }, .cipher_iv = { .data = { - 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 + 0xE3, 0xD1, 0x5E, 0x4B, 0x4E, 0x24, 0x6B, 0x3D }, .len = 8 }, .plaintext = { .data = { - 0x5A, 0x5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0x80, 0x4D, 0x91, 0x99, + 0xC1, 0x98, 0xE5, 0x7E, 0xC3, 0x47, 0x0D, 0x90, + 0xAE, 0x30, 0xE4, 0xA9, 0xE8, 0x9C, 0x44, 0x0D, + 0x8A, 0x49, 0x73, 0x25, 0x82, 0xCE, 0xB5, 0xC7, + 0x06, 0x62, 0x66, 0x86, 0xB0, 0xF8, 0x20, 0x71, + 0x90, 0x06, 0xEF, 0x54, 0x4D, 0xFD, 0xE5, 0xFC, + 0x2D, 0xC9, 0xA6, 0x15, 0x66, 0xEA, 0x23, 0xF1, + 0x34, 0x97, 0x16, 0xB6, 0x65, 0xCC, 0x7D, 0x6C, + 0x2E, 0xE4, 0xF2, 0xDE, 0xDC, 0x13, 0x4F, 0x6D, + 0x19, 0x3F, 0xC2, 0x67, 0x3C, 0xA7, 0x64, 0x69, + 0x71, 0x0A, 0x7F, 0xD8, 0xF5, 0xA3, 0xCA, 0x29 }, .len = 128 << 3 }, .ciphertext = { .data = { - 0x5A, 0x5A, 0xFA, 0xC6, 0xA9, 0x09, 0x91, 0x74, - 0x35, 0xAA, 0x85, 0xB0, 0xE0, 0x07, 0x78, 0xDA, - 0x05, 0x88, 0x4E, 0x8D, 0xEC, 0x41, 0xF3, 0xBC, - 0x0D, 0x9F, 0xE3, 0xEF, 0x8E, 0x33, 0x22, 0xF3, - 0x15, 0x4B, 0x12, 0xC2, 0x22, 0x12, 0xD6, 0x46, - 0xD7, 0x27, 0x20, 0x1D, 0x50, 0x60, 0x9D, 0x42, - 0xF6, 0x73, 0xF5, 0x28, 0x88, 0xBE, 0x60, 0xEC, - 0x9C, 0x18, 0x81, 0xC4, 0x0A, 0xF4, 0xD5, 0x7A, - 0xB5, 0x3F, 0x1A, 0x79, 0xAB, 0x79, 0xDB, 0x24, - 0xF9, 0x6E, 0x86, 0x78, 0x10, 0x19, 0xAE, 0xD8, - 0xB2, 0xCA, 0x32, 0x8D, 0xD8, 0x28, 0x8B, 0x2F, - 0x5B, 0x3C, 0xE3, 0x7D, 0xD3, 0x70, 0x11, 0xDE, - 0x2C, 0xDC, 0xC1, 0xC6, 0xB6, 0xFD, 0xF3, 0x7D, - 0x38, 0x97, 0x8B, 0x81, 0x02, 0x88, 0x62, 0x3C, - 0x1E, 0x1A, 0x93, 0x21, 0xE3, 0x6D, 0xD7, 0x20, - 0x80, 0xA8, 0xDA, 0x18, 0x8F, 0x58, 0x0F, 0x4E + 0x9F, 0x6D, 0x10, 0x22, 0x14, 0xFB, 0x29, 0x9D, + 0x9E, 0x5F, 0xAB, 0x73, 0x0E, 0xFF, 0x3F, 0x40, + 0x9F, 0x95, 0x93, 0x82, 0xB5, 0x5D, 0xF6, 0x1B, + 0x37, 0x6E, 0x50, 0x1E, 0xE0, 0x01, 0x41, 0x28, + 0x07, 0x71, 0xED, 0x59, 0xB6, 0x05, 0x72, 0x7F, + 0x9B, 0x20, 0x4E, 0x16, 0xC8, 0x1B, 0x1D, 0x73, + 0x2F, 0xCF, 0xF9, 0x78, 0x03, 0xFB, 0xD8, 0xAA, + 0xDD, 0xD0, 0x47, 0x00, 0x69, 0xE8, 0x76, 0x90, + 0x7F, 0xC9, 0x62, 0x50, 0x4D, 0x75, 0x23, 0xD9, + 0xCB, 0x56, 0x2E, 0x0A, 0x55, 0xB7, 0xE5, 0x5C, + 0xDB, 0x0A, 0x23, 0x06, 0xCF, 0xBF, 0xFF, 0x98, + 0xBD, 0x40, 0x27, 0x25, 0x1C, 0x70, 0x33, 0xAC, + 0x6F, 0x59, 0xDA, 0xCE, 0xA0, 0xBF, 0x38, 0x60, + 0x3C, 0xF9, 0x79, 0xD8, 0x92, 0x17, 0x89, 0x6A, + 0xC7, 0xBD, 0xF5, 0x80, 0x1A, 0x20, 0x1F, 0x4B, + 0xD9, 0x34, 0x2C, 0xD9, 0x06, 0xFC, 0xA9, 0x9F }, .len = 128 << 3 }, @@ -429,7 +429,7 @@ struct kasumi_test_data kasumi_auth_cipher_test_case_2 = { .len = 2 << 3 }, .digest = { - .data = {0x8F, 0x58, 0x0F, 0x4E}, + .data = {0x06, 0xFC, 0xA9, 0x9F}, .len = 4, .offset_bytes = 124 } diff --git a/app/test/test_cryptodev_mixed_test_vectors.h b/app/test/test_cryptodev_mixed_test_vectors.h index f50dcb045..dda82d24c 100644 --- a/app/test/test_cryptodev_mixed_test_vectors.h +++ b/app/test/test_cryptodev_mixed_test_vectors.h @@ -1,5 +1,5 @@ /* SPDX-License-Identifier: BSD-3-Clause - * Copyright(c) 2019 Intel Corporation + * Copyright(c) 2019-2020 Intel Corporation */ #ifndef TEST_CRYPTODEV_MIXED_TEST_VECTORS_H_ @@ -74,15 +74,15 @@ struct mixed_cipher_auth_test_data auth_aes_cmac_cipher_aes_ctr_test_case_1 = { .auth_algo = RTE_CRYPTO_AUTH_AES_CMAC, .auth_key = { .data = { - 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, - 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10, + 0x6E, 0x87, 0xED, 0xC5, 0xEC, 0x71, 0xB3, 0xFF, + 0xC6, 0xB6, 0xCD, 0xC6, 0xD0, 0x6F, 0x0E, 0xD3 }, .len = 16, }, .auth_iv = { .data = { - 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x1D, 0x92, 0xB8, 0x28, 0xAE, 0xF3, 0x79, 0x06, + 0xA9, 0x18, 0xA0, 0x47, 0xF5, 0x32, 0xC4, 0xF4 }, .len = 16, }, @@ -93,15 +93,15 @@ struct mixed_cipher_auth_test_data auth_aes_cmac_cipher_aes_ctr_test_case_1 = { .cipher_algo = RTE_CRYPTO_CIPHER_AES_CTR, .cipher_key = { .data = { - 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, - 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10, + 0x7C, 0xE1, 0x24, 0x38, 0x27, 0xB8, 0x5E, 0xE4, + 0x9C, 0x46, 0xB4, 0x14, 0xAD, 0x9D, 0xB5, 0x23 }, .len = 16, }, .cipher_iv = { .data = { - 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x7E, 0xC5, 0x42, 0x76, 0x31, 0xC4, 0xE5, 0xF4, + 0xBF, 0xDE, 0xC5, 0x36, 0xFC, 0x7A, 0xA6, 0x5B }, .len = 16, }, @@ -111,49 +111,49 @@ struct mixed_cipher_auth_test_data auth_aes_cmac_cipher_aes_ctr_test_case_1 = { }, .plaintext = { .data = { - 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, - 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, - 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, - 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, - 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, - 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, - 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, - 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, - 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, - 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, - 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, - 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, - 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, - 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, - 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, - 0x5A, 0x5A, 0x5A, 0x5A + 0xAA, 0x09, 0xD1, 0xDE, 0xE0, 0x30, 0x1E, 0xDC, + 0xDD, 0x91, 0x77, 0xF5, 0x04, 0x05, 0xFD, 0x0E, + 0xC1, 0x5F, 0x8C, 0x7A, 0x88, 0x71, 0xE4, 0x70, + 0x31, 0x73, 0xAE, 0x6F, 0x5D, 0x12, 0xE9, 0x08, + 0x1B, 0xBB, 0xE6, 0xFB, 0xEB, 0x04, 0xD8, 0xC8, + 0x96, 0x4F, 0xBE, 0x9B, 0x54, 0xBC, 0xA9, 0x15, + 0x1B, 0x36, 0x90, 0xA4, 0xA7, 0x74, 0x14, 0xD9, + 0xE8, 0xC3, 0x49, 0x46, 0xD5, 0x32, 0x4E, 0xF0, + 0xED, 0x34, 0xEC, 0xD9, 0x39, 0xC4, 0xA2, 0xCF, + 0x14, 0x61, 0x6A, 0x68, 0x1D, 0x14, 0x7D, 0x39, + 0x4A, 0x0E, 0xDD, 0xF2, 0x82, 0xF2, 0xCB, 0x6B, + 0xB6, 0x14, 0xB1, 0x8C, 0x47, 0xFF, 0x7D, 0x35, + 0x34, 0x69, 0x0F, 0x6E, 0x2E, 0xB1, 0x3E, 0x42, + 0x12, 0xA9, 0xAB, 0x2F, 0xBD, 0x28, 0x68, 0x08, + 0x36, 0x46, 0xFA, 0xB9, 0x38, 0xC6, 0x24, 0xEF, + 0xDB, 0xD6, 0x7B, 0x23 }, .len_bits = 124 << 3, }, .ciphertext = { .data = { - 0x5A, 0x5A, 0xC9, 0x79, 0xCA, 0xCB, 0xDF, 0x96, - 0x97, 0xA5, 0xB0, 0xFC, 0x56, 0xE9, 0xC4, 0xB4, - 0x32, 0x5F, 0x55, 0x59, 0xCF, 0x1A, 0xA5, 0xB5, - 0x63, 0xAC, 0x94, 0x87, 0x6F, 0xFB, 0x5A, 0x54, - 0x4E, 0xE2, 0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 0xC5, 0x34, 0x8D, + 0x2B, 0xB5, 0x1F, 0x05, 0x58, 0x6E, 0xBC, 0xD7, + 0xA2, 0x43, 0x01, 0x9A, 0xB7, 0x94, 0xF4, 0xC5, + 0x7B, 0x1B, 0x9B, 0x48, 0xF9, 0xCD, 0x35, 0x88, + 0x97, 0x7F, 0x94, 0x80, 0x7D, 0xA3, 0xEC, 0x8C, + 0xD5, 0xF2, 0xAA, 0x9C, 0x67, 0x2F, 0x60, 0x95 }, .len_bits = 128 << 3, }, .digest_enc = { .data = { - 0x5D, 0x41, 0xB4, 0xDF, + 0x67, 0x2F, 0x60, 0x95 }, .len = 4, .offset = 124, @@ -173,15 +173,15 @@ struct mixed_cipher_auth_test_data auth_zuc_cipher_snow_test_case_1 = { .auth_algo = RTE_CRYPTO_AUTH_ZUC_EIA3, .auth_key = { .data = { - 0xc9, 0xe6, 0xce, 0xc4, 0x60, 0x7c, 0x72, 0xdb, - 0x00, 0x0a, 0xef, 0xa8, 0x83, 0x85, 0xab, 0x0a + 0x7F, 0x6F, 0x06, 0xF9, 0xC0, 0x06, 0xA8, 0x41, + 0x7D, 0x59, 0xAA, 0x68, 0x5B, 0x16, 0x64, 0x2F }, .len = 16, }, .auth_iv = { .data = { - 0xa9, 0x40, 0x59, 0xda, 0x50, 0x00, 0x00, 0x00, - 0x29, 0x40, 0x59, 0xda, 0x50, 0x00, 0x80, 0x00 + 0x02, 0xD3, 0x25, 0xB6, 0xCA, 0x12, 0x2F, 0xD2, + 0xA1, 0xF1, 0xBB, 0x8A, 0xAA, 0xF3, 0xD5, 0x67 }, .len = 16, }, @@ -192,15 +192,15 @@ struct mixed_cipher_auth_test_data auth_zuc_cipher_snow_test_case_1 = { .cipher_algo = RTE_CRYPTO_CIPHER_SNOW3G_UEA2, .cipher_key = { .data = { - 0xc9, 0xe6, 0xce, 0xc4, 0x60, 0x7c, 0x72, 0xdb, - 0x00, 0x0a, 0xef, 0xa8, 0x83, 0x85, 0xab, 0x0a + 0x3B, 0x0B, 0x5F, 0x98, 0xB2, 0x0F, 0x6F, 0xFA, + 0xE1, 0xB4, 0xD1, 0x80, 0x47, 0xEA, 0x43, 0x0A }, .len = 16, }, .cipher_iv = { .data = { - 0xa9, 0x40, 0x59, 0xda, 0x50, 0x00, 0x00, 0x00, - 0x29, 0x40, 0x59, 0xda, 0x50, 0x00, 0x80, 0x00 + 0x1A, 0xDA, 0x4B, 0x29, 0xAC, 0xD5, 0xD4, 0x57, + 0xD4, 0xE4, 0x66, 0xCC, 0x7F, 0xD6, 0x33, 0xBA }, .len = 16, }, @@ -210,37 +210,37 @@ struct mixed_cipher_auth_test_data auth_zuc_cipher_snow_test_case_1 = { }, .plaintext = { .data = { - 0x98, 0x3b, 0x41, 0xd4, 0x7d, 0x78, 0x0c, 0x9e, - 0x1a, 0xd1, 0x1d, 0x7e, 0xb7, 0x03, 0x91, 0xb1, - 0xde, 0x0b, 0x35, 0xda, 0x2d, 0xc6, 0x2f, 0x83, - 0xe7, 0xb7, 0x8d, 0x63, 0x06, 0xca, 0x0e, 0xa0, - 0x7e, 0x94, 0x1b, 0x7b, 0xe9, 0x13, 0x48, 0xf9, - 0xfc, 0xb1, 0x70, 0xe2, 0x21, 0x7f, 0xec, 0xd9, - 0x7f, 0x9f, 0x68, 0xad, 0xb1, 0x6e, 0x5d, 0x7d, - 0x21, 0xe5, 0x69, 0xd2, 0x80, 0xed, 0x77, 0x5c, - 0xeb, 0xde, 0x3f, 0x40, 0x93, 0xc5, 0x38, 0x81, - 0x00 + 0x66, 0x4D, 0x6C, 0x7F, 0x60, 0x79, 0x28, 0xE0, + 0xFC, 0xE6, 0x81, 0xBC, 0x4E, 0xF3, 0x97, 0x3C, + 0x73, 0xC6, 0x1B, 0x39, 0x54, 0x55, 0x22, 0xB8, + 0x70, 0x14, 0x45, 0x8A, 0x25, 0x95, 0xB7, 0x8C, + 0xE3, 0x23, 0x0B, 0x43, 0x9D, 0x33, 0x23, 0x9A, + 0x1A, 0xA5, 0x56, 0x68, 0x98, 0xED, 0xA4, 0x0C, + 0xB3, 0xC0, 0x46, 0x08, 0x15, 0x69, 0xC0, 0x86, + 0x7D, 0x06, 0x10, 0xA2, 0x9C, 0xC7, 0x2F, 0x7F, + 0xEB, 0x3A, 0xC2, 0x88, 0x6E, 0xE6, 0x23, 0x88, + 0x8C }, .len_bits = 73 << 3, }, .ciphertext = { .data = { - 0x18, 0x46, 0xE1, 0xC5, 0x2C, 0x85, 0x93, 0x22, - 0x84, 0x80, 0xD6, 0x84, 0x5C, 0x99, 0x55, 0xE0, - 0xD5, 0x02, 0x41, 0x74, 0x4A, 0xD2, 0x8E, 0x7E, - 0xB9, 0x79, 0xD3, 0xE5, 0x76, 0x75, 0xD5, 0x59, - 0x26, 0xD7, 0x06, 0x2D, 0xF4, 0x71, 0x26, 0x40, - 0xAC, 0x77, 0x62, 0xAC, 0x35, 0x0D, 0xC5, 0x35, - 0xF8, 0x03, 0x54, 0x52, 0x2E, 0xCA, 0x14, 0xD8, - 0x2E, 0x6C, 0x0E, 0x7A, 0x09, 0xE7, 0x20, 0xDD, - 0x7C, 0xE3, 0x28, 0x77, 0x53, 0x65, 0xBA, 0x54, - 0xE8, 0x25, 0x04, 0x52, 0xFD + 0x3F, 0x6B, 0xB9, 0x44, 0x9F, 0xEB, 0x8B, 0x2F, + 0xC6, 0x75, 0xF2, 0x41, 0x79, 0x43, 0x7D, 0x9C, + 0xE8, 0xBC, 0x5B, 0x12, 0xDE, 0x25, 0x53, 0x04, + 0xB5, 0xE1, 0xB9, 0x8B, 0x7C, 0x47, 0x46, 0x8C, + 0x05, 0x0C, 0x40, 0xDC, 0x63, 0x78, 0x61, 0xE1, + 0x7F, 0x11, 0x34, 0xB0, 0x6B, 0x31, 0x63, 0x7D, + 0x21, 0xE9, 0xF4, 0x2E, 0xB0, 0x9B, 0xDC, 0x39, + 0x39, 0x5C, 0x35, 0x9D, 0x06, 0x17, 0x74, 0xFB, + 0x7D, 0xB2, 0x14, 0x08, 0x42, 0x5B, 0xCB, 0x5E, + 0x7D, 0xD9, 0xDD, 0x71, 0xF8 }, .len_bits = 77 << 3, }, .digest_enc = { .data = { - 0x25, 0x04, 0x52, 0xFD + 0xD9, 0xDD, 0x71, 0xF8 }, .len = 4, .offset = 73, @@ -260,8 +260,8 @@ struct mixed_cipher_auth_test_data auth_aes_cmac_cipher_snow_test_case_1 = { .auth_algo = RTE_CRYPTO_AUTH_AES_CMAC, .auth_key = { .data = { - 0x2B, 0x7E, 0x15, 0x16, 0x28, 0xAE, 0xD2, 0xA6, - 0xAB, 0xF7, 0x15, 0x88, 0x09, 0xCF, 0x4F, 0x3C + 0x33, 0xC3, 0x0D, 0x56, 0x96, 0x20, 0xFC, 0x6A, + 0xA7, 0x69, 0x1E, 0xAD, 0x1E, 0x92, 0x7D, 0x3F }, .len = 16, }, @@ -277,8 +277,8 @@ struct mixed_cipher_auth_test_data auth_aes_cmac_cipher_snow_test_case_1 = { .cipher_algo = RTE_CRYPTO_CIPHER_SNOW3G_UEA2, .cipher_key = { .data = { - 0x2B, 0x7E, 0x15, 0x16, 0x28, 0xAE, 0xD2, 0xA6, - 0xAB, 0xF7, 0x15, 0x88, 0x09, 0xCF, 0x4F, 0x3C + 0x5D, 0x22, 0x7E, 0x01, 0xBB, 0x00, 0x2F, 0xC1, + 0xA1, 0x05, 0xC0, 0x4A, 0x58, 0x41, 0xE4, 0xBC }, .len = 16, }, @@ -293,146 +293,146 @@ struct mixed_cipher_auth_test_data auth_aes_cmac_cipher_snow_test_case_1 = { }, .plaintext = { .data = { - 0x57, 0x68, 0x61, 0x74, 0x20, 0x61, 0x20, 0x6C, - 0x6F, 0x75, 0x73, 0x79, 0x20, 0x65, 0x61, 0x72, - 0x74, 0x68, 0x21, 0x20, 0x48, 0x65, 0x20, 0x77, - 0x6F, 0x6E, 0x64, 0x65, 0x72, 0x65, 0x64, 0x20, - 0x68, 0x6F, 0x77, 0x20, 0x6D, 0x61, 0x6E, 0x79, - 0x20, 0x70, 0x65, 0x6F, 0x70, 0x6C, 0x65, 0x20, - 0x77, 0x65, 0x72, 0x65, 0x20, 0x64, 0x65, 0x73, - 0x74, 0x69, 0x74, 0x75, 0x74, 0x65, 0x20, 0x74, - 0x68, 0x61, 0x74, 0x20, 0x73, 0x61, 0x6D, 0x65, - 0x20, 0x6E, 0x69, 0x67, 0x68, 0x74, 0x20, 0x65, - 0x76, 0x65, 0x6E, 0x20, 0x69, 0x6E, 0x20, 0x68, - 0x69, 0x73, 0x20, 0x6F, 0x77, 0x6E, 0x20, 0x70, - 0x72, 0x6F, 0x73, 0x70, 0x65, 0x72, 0x6F, 0x75, - 0x73, 0x20, 0x63, 0x6F, 0x75, 0x6E, 0x74, 0x72, - 0x79, 0x2C, 0x20, 0x68, 0x6F, 0x77, 0x20, 0x6D, - 0x61, 0x6E, 0x79, 0x20, 0x68, 0x6F, 0x6D, 0x65, - 0x73, 0x20, 0x77, 0x65, 0x72, 0x65, 0x20, 0x73, - 0x68, 0x61, 0x6E, 0x74, 0x69, 0x65, 0x73, 0x2C, - 0x20, 0x68, 0x6F, 0x77, 0x20, 0x6D, 0x61, 0x6E, - 0x79, 0x20, 0x68, 0x75, 0x73, 0x62, 0x61, 0x6E, - 0x64, 0x73, 0x20, 0x77, 0x65, 0x72, 0x65, 0x20, - 0x64, 0x72, 0x75, 0x6E, 0x6B, 0x20, 0x61, 0x6E, - 0x64, 0x20, 0x77, 0x69, 0x76, 0x65, 0x73, 0x20, - 0x73, 0x6F, 0x63, 0x6B, 0x65, 0x64, 0x2C, 0x20, - 0x61, 0x6E, 0x64, 0x20, 0x68, 0x6F, 0x77, 0x20, - 0x6D, 0x61, 0x6E, 0x79, 0x20, 0x63, 0x68, 0x69, - 0x6C, 0x64, 0x72, 0x65, 0x6E, 0x20, 0x77, 0x65, - 0x72, 0x65, 0x20, 0x62, 0x75, 0x6C, 0x6C, 0x69, - 0x65, 0x64, 0x2C, 0x20, 0x61, 0x62, 0x75, 0x73, - 0x65, 0x64, 0x2C, 0x20, 0x6F, 0x72, 0x20, 0x61, - 0x62, 0x61, 0x6E, 0x64, 0x6F, 0x6E, 0x65, 0x64, - 0x2E, 0x20, 0x48, 0x6F, 0x77, 0x20, 0x6D, 0x61, - 0x6E, 0x79, 0x20, 0x66, 0x61, 0x6D, 0x69, 0x6C, - 0x69, 0x65, 0x73, 0x20, 0x68, 0x75, 0x6E, 0x67, - 0x65, 0x72, 0x65, 0x64, 0x20, 0x66, 0x6F, 0x72, - 0x20, 0x66, 0x6F, 0x6F, 0x64, 0x20, 0x74, 0x68, - 0x65, 0x79, 0x20, 0x63, 0x6F, 0x75, 0x6C, 0x64, - 0x20, 0x6E, 0x6F, 0x74, 0x20, 0x61, 0x66, 0x66, - 0x6F, 0x72, 0x64, 0x20, 0x74, 0x6F, 0x20, 0x62, - 0x75, 0x79, 0x3F, 0x20, 0x48, 0x6F, 0x77, 0x20, - 0x6D, 0x61, 0x6E, 0x79, 0x20, 0x68, 0x65, 0x61, - 0x72, 0x74, 0x73, 0x20, 0x77, 0x65, 0x72, 0x65, - 0x20, 0x62, 0x72, 0x6F, 0x6B, 0x65, 0x6E, 0x3F, - 0x20, 0x48, 0x6F, 0x77, 0x20, 0x6D, 0x61, 0x6E, - 0x79, 0x20, 0x73, 0x75, 0x69, 0x63, 0x69, 0x64, - 0x65, 0x73, 0x20, 0x77, 0x6F, 0x75, 0x6C, 0x64, - 0x20, 0x74, 0x61, 0x6B, 0x65, 0x20, 0x70, 0x6C, - 0x61, 0x63, 0x65, 0x20, 0x74, 0x68, 0x61, 0x74, - 0x20, 0x73, 0x61, 0x6D, 0x65, 0x20, 0x6E, 0x69, - 0x67, 0x68, 0x74, 0x2C, 0x20, 0x68, 0x6F, 0x77, - 0x20, 0x6D, 0x61, 0x6E, 0x79, 0x20, 0x70, 0x65, - 0x6F, 0x70, 0x6C, 0x65, 0x20, 0x77, 0x6F, 0x75, - 0x6C, 0x64, 0x20, 0x67, 0x6F, 0x20, 0x69, 0x6E, - 0x73, 0x61, 0x6E, 0x65, 0x3F, 0x20, 0x48, 0x6F, - 0x77, 0x20, 0x6D, 0x61, 0x6E, 0x79, 0x20, 0x63, - 0x6F, 0x63, 0x6B, 0x72, 0x6F, 0x61, 0x63, 0x68, - 0x65, 0x73, 0x20, 0x61, 0x6E, 0x64, 0x20, 0x6C, - 0x61, 0x6E, 0x64, 0x6C, 0x6F, 0x72, 0x64, 0x73, - 0x20, 0x77, 0x6F, 0x75, 0x6C, 0x64, 0x20, 0x74, - 0x72, 0x69, 0x75, 0x6D, 0x70, 0x68, 0x3F, 0x20, - 0x48, 0x6F, 0x77, 0x20, 0x6D, 0x61, 0x6E, 0x79, - 0x20, 0x77, 0x69, 0x6E, 0x6E, 0x65, 0x72, 0x73, - 0x20, 0x77, 0x65, 0x72, 0x65, 0x20, 0x6C, 0x6F, - 0x73, 0x65, 0x72, 0x73, 0x2C, 0x20, 0x73, 0x75 + 0x4D, 0x2C, 0x50, 0x85, 0x00, 0xEC, 0x27, 0x7F, + 0xFB, 0xF2, 0xD8, 0x8F, 0xC0, 0x51, 0xC9, 0x47, + 0xFD, 0xC9, 0x10, 0x8D, 0xEE, 0xC9, 0xF1, 0x94, + 0x34, 0xD6, 0xD2, 0x14, 0xFB, 0x61, 0xE4, 0x49, + 0x8D, 0x35, 0xCE, 0x8E, 0x21, 0xF5, 0x0D, 0x1D, + 0xE8, 0xE6, 0xAC, 0xA8, 0x37, 0x76, 0xF0, 0x35, + 0x3F, 0x00, 0xC3, 0x2D, 0xC9, 0xB4, 0xC2, 0xFE, + 0x8B, 0x94, 0x12, 0x86, 0xF5, 0xF6, 0xCF, 0x83, + 0x2C, 0x9E, 0x12, 0x4E, 0x94, 0x20, 0x6B, 0x7C, + 0x06, 0x18, 0x24, 0x3E, 0x8E, 0x15, 0x73, 0xCE, + 0x16, 0x37, 0xFC, 0xDF, 0xEB, 0xBE, 0xDE, 0x76, + 0x53, 0xF0, 0xFD, 0x49, 0xE6, 0xCD, 0xCD, 0x13, + 0x6B, 0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, 0x0D, 0x09, 0x89, + 0x15, 0x8B, 0xBC, 0x2B, 0x0C, 0x31, 0x41, 0xC9, + 0x2E, 0x71, 0x68, 0x0B, 0x1E, 0x55, 0xE1, 0x19, + 0x6D, 0x74, 0xC3, 0xD6 }, .len_bits = 516 << 3, }, .digest_enc = { .data = { - 0x78, 0x81, 0x47, 0x38 + 0x6D, 0x74, 0xC3, 0xD6 }, .len = 4, .offset = 512, @@ -452,15 +452,15 @@ struct mixed_cipher_auth_test_data auth_zuc_cipher_aes_ctr_test_case_1 = { .auth_algo = RTE_CRYPTO_AUTH_ZUC_EIA3, .auth_key = { .data = { - 0xc9, 0xe6, 0xce, 0xc4, 0x60, 0x7c, 0x72, 0xdb, - 0x00, 0x0a, 0xef, 0xa8, 0x83, 0x85, 0xab, 0x0a + 0x64, 0xB2, 0xF5, 0xF5, 0xE0, 0x2D, 0x49, 0x82, + 0x2C, 0xE2, 0x80, 0xCF, 0x91, 0xB0, 0x24, 0x96 }, .len = 16, }, .auth_iv = { .data = { - 0xa9, 0x40, 0x59, 0xda, 0x50, 0x00, 0x00, 0x00, - 0x29, 0x40, 0x59, 0xda, 0x50, 0x00, 0x80, 0x00 + 0xE8, 0x97, 0x95, 0xB5, 0x6C, 0x3A, 0xD2, 0x14, + 0xD2, 0xFC, 0x14, 0x74, 0x64, 0x90, 0x18, 0x52 }, .len = 16, }, @@ -471,15 +471,15 @@ struct mixed_cipher_auth_test_data auth_zuc_cipher_aes_ctr_test_case_1 = { .cipher_algo = RTE_CRYPTO_CIPHER_AES_CTR, .cipher_key = { .data = { - 0xc9, 0xe6, 0xce, 0xc4, 0x60, 0x7c, 0x72, 0xdb, - 0x00, 0x0a, 0xef, 0xa8, 0x83, 0x85, 0xab, 0x0a + 0x6A, 0x7B, 0xB3, 0xF2, 0x75, 0x45, 0xD8, 0x24, + 0x75, 0x93, 0xA4, 0x95, 0x32, 0xEC, 0x88, 0x88 }, .len = 16, }, .cipher_iv = { .data = { - 0xa9, 0x40, 0x59, 0xda, 0x50, 0x00, 0x00, 0x00, - 0x29, 0x40, 0x59, 0xda, 0x50, 0x00, 0x80, 0x00 + 0x6B, 0xDF, 0xD1, 0xAF, 0xFE, 0xD1, 0xDE, 0xB4, + 0x98, 0x2A, 0x34, 0xB7, 0x80, 0xC8, 0xF8, 0xBF }, .len = 16, }, @@ -489,37 +489,37 @@ struct mixed_cipher_auth_test_data auth_zuc_cipher_aes_ctr_test_case_1 = { }, .plaintext = { .data = { - 0x98, 0x3b, 0x41, 0xd4, 0x7d, 0x78, 0x0c, 0x9e, - 0x1a, 0xd1, 0x1d, 0x7e, 0xb7, 0x03, 0x91, 0xb1, - 0xde, 0x0b, 0x35, 0xda, 0x2d, 0xc6, 0x2f, 0x83, - 0xe7, 0xb7, 0x8d, 0x63, 0x06, 0xca, 0x0e, 0xa0, - 0x7e, 0x94, 0x1b, 0x7b, 0xe9, 0x13, 0x48, 0xf9, - 0xfc, 0xb1, 0x70, 0xe2, 0x21, 0x7f, 0xec, 0xd9, - 0x7f, 0x9f, 0x68, 0xad, 0xb1, 0x6e, 0x5d, 0x7d, - 0x21, 0xe5, 0x69, 0xd2, 0x80, 0xed, 0x77, 0x5c, - 0xeb, 0xde, 0x3f, 0x40, 0x93, 0xc5, 0x38, 0x81, - 0x00 + 0x25, 0x96, 0x0A, 0x10, 0xE6, 0xCD, 0x9E, 0x5C, + 0x57, 0xED, 0x4A, 0xAB, 0x1C, 0x3F, 0xE3, 0x62, + 0x86, 0xB4, 0x25, 0x28, 0xD4, 0x16, 0x78, 0x05, + 0x80, 0x5D, 0xAD, 0xC6, 0x54, 0x1F, 0xDA, 0x79, + 0xB6, 0xE4, 0x8A, 0x9C, 0xB2, 0x29, 0xF8, 0x09, + 0x16, 0x42, 0xB4, 0x33, 0x81, 0x98, 0x95, 0x07, + 0x4C, 0xBB, 0x30, 0x21, 0xD1, 0xA9, 0x26, 0x52, + 0x06, 0xD3, 0x18, 0x5A, 0xF3, 0xF3, 0xD4, 0xA9, + 0xD8, 0x5F, 0x46, 0x8A, 0x88, 0x3F, 0x93, 0x9F, + 0x81 }, .len_bits = 73 << 3, }, .ciphertext = { .data = { - 0x53, 0x92, 0x9F, 0x88, 0x32, 0xA1, 0x6D, 0x66, - 0x00, 0x32, 0x29, 0xF9, 0x14, 0x75, 0x6D, 0xB3, - 0xEB, 0x64, 0x25, 0x09, 0xE1, 0x80, 0x31, 0x8C, - 0xF8, 0x47, 0x64, 0xAA, 0x07, 0x8E, 0x06, 0xBF, - 0x05, 0xD7, 0x43, 0xEE, 0xFF, 0x11, 0x33, 0x4A, - 0x82, 0xCF, 0x88, 0x6F, 0x33, 0xB2, 0xB5, 0x67, - 0x50, 0x0A, 0x74, 0x2D, 0xE4, 0x56, 0x40, 0x31, - 0xEE, 0xB3, 0x6C, 0x6E, 0x6A, 0x7B, 0x20, 0xBA, - 0x4E, 0x44, 0x34, 0xC8, 0x62, 0x21, 0x8C, 0x45, - 0xD7, 0x85, 0x44, 0xF4, 0x7E + 0xC0, 0x00, 0x83, 0x34, 0x0B, 0x6B, 0x7E, 0x90, + 0x14, 0xE1, 0x1C, 0x93, 0xAC, 0xD5, 0xDD, 0xCF, + 0x75, 0xE0, 0xDA, 0x42, 0xC5, 0xB8, 0xFA, 0x43, + 0x1A, 0x92, 0x1C, 0x6B, 0x01, 0xEC, 0x6E, 0x46, + 0x9B, 0x8C, 0x9A, 0xA2, 0xBB, 0x47, 0x15, 0x70, + 0x02, 0xEB, 0xEB, 0x67, 0x9E, 0x5D, 0x1A, 0x91, + 0x5C, 0xF7, 0x4E, 0x17, 0x15, 0x88, 0x73, 0x34, + 0x8F, 0x22, 0x97, 0xE5, 0xFE, 0x05, 0x09, 0xD9, + 0x5E, 0xC2, 0x98, 0xDD, 0xD5, 0xC4, 0xF9, 0x8A, + 0xC9, 0xB4, 0xD2, 0xBF, 0x95 }, .len_bits = 77 << 3, }, .digest_enc = { .data = { - 0x85, 0x44, 0xF4, 0x7E + 0xB4, 0xD2, 0xBF, 0x95 }, .len = 4, .offset = 73, @@ -539,15 +539,15 @@ struct mixed_cipher_auth_test_data auth_snow_cipher_aes_ctr_test_case_1 = { .auth_algo = RTE_CRYPTO_AUTH_SNOW3G_UIA2, .auth_key = { .data = { - 0xC7, 0x36, 0xC6, 0xAA, 0xB2, 0x2B, 0xFF, 0xF9, - 0x1E, 0x26, 0x98, 0xD2, 0xE2, 0x2A, 0xD5, 0x7E + 0xAB, 0xE0, 0xC8, 0x0D, 0x7B, 0x67, 0x2E, 0x7F, + 0x21, 0x9F, 0x6E, 0x73, 0x3E, 0x7B, 0x4A, 0x55 }, .len = 16, }, .auth_iv = { .data = { - 0x14, 0x79, 0x3E, 0x41, 0x03, 0x97, 0xE8, 0xFD, - 0x94, 0x79, 0x3E, 0x41, 0x03, 0x97, 0x68, 0xFD + 0x2C, 0x43, 0x66, 0x4A, 0x84, 0xF1, 0x34, 0x8F, + 0x43, 0xB5, 0xFD, 0x13, 0x8C, 0x56, 0xB9, 0x8B }, .len = 16, }, @@ -558,15 +558,15 @@ struct mixed_cipher_auth_test_data auth_snow_cipher_aes_ctr_test_case_1 = { .cipher_algo = RTE_CRYPTO_CIPHER_AES_CTR, .cipher_key = { .data = { - 0xC7, 0x36, 0xC6, 0xAA, 0xB2, 0x2B, 0xFF, 0xF9, - 0x1E, 0x26, 0x98, 0xD2, 0xE2, 0x2A, 0xD5, 0x7E + 0xD3, 0x3F, 0xB7, 0xB6, 0xA0, 0xC5, 0xDF, 0x55, + 0x19, 0x38, 0x8E, 0x0D, 0xF4, 0x27, 0xAE, 0x4D }, .len = 16, }, .cipher_iv = { .data = { - 0x14, 0x79, 0x3E, 0x41, 0x03, 0x97, 0xE8, 0xFD, - 0x94, 0x79, 0x3E, 0x41, 0x03, 0x97, 0x68, 0xFD + 0xD5, 0x22, 0x55, 0xF3, 0xA8, 0xD0, 0x65, 0xE5, + 0x3B, 0xCF, 0x1D, 0x2E, 0xC3, 0x03, 0x1D, 0x04 }, .len = 16, }, @@ -576,30 +576,30 @@ struct mixed_cipher_auth_test_data auth_snow_cipher_aes_ctr_test_case_1 = { }, .plaintext = { .data = { - 0xD0, 0xA7, 0xD4, 0x63, 0xDF, 0x9F, 0xB2, 0xB2, - 0x78, 0x83, 0x3F, 0xA0, 0x2E, 0x23, 0x5A, 0xA1, - 0x72, 0xBD, 0x97, 0x0C, 0x14, 0x73, 0xE1, 0x29, - 0x07, 0xFB, 0x64, 0x8B, 0x65, 0x99, 0xAA, 0xA0, - 0xB2, 0x4A, 0x03, 0x86, 0x65, 0x42, 0x2B, 0x20, - 0xA4, 0x99, 0x27, 0x6A, 0x50, 0x42, 0x70, 0x09 + 0xC7, 0xAF, 0x2A, 0x7A, 0xF0, 0xBF, 0xDF, 0x25, + 0x99, 0x3F, 0xBA, 0xF7, 0xAF, 0x17, 0x07, 0x15, + 0xB6, 0x9E, 0xDC, 0xF6, 0x1C, 0x4E, 0x9F, 0x3F, + 0xDD, 0x77, 0x26, 0x1C, 0x88, 0x49, 0x9F, 0x4F, + 0xF8, 0xCA, 0xCA, 0xE9, 0x89, 0xA9, 0x0E, 0x23, + 0xE9, 0xC8, 0x1A, 0x98, 0xE0, 0x22, 0xAD, 0x96 }, .len_bits = 48 << 3, }, .ciphertext = { .data = { - 0x91, 0x96, 0x28, 0xB4, 0x89, 0x74, 0xF6, 0x5E, - 0x98, 0x58, 0xA1, 0xD3, 0x0E, 0xE3, 0xFC, 0x39, - 0xDB, 0x36, 0xE4, 0x97, 0x74, 0x5B, 0x5E, 0xD4, - 0x1B, 0x8A, 0xC5, 0x9D, 0xDF, 0x96, 0x97, 0x5F, - 0x58, 0x4A, 0x75, 0x74, 0x27, 0x07, 0xF3, 0x7F, - 0xCE, 0x2C, 0x4A, 0x6C, 0xE5, 0x19, 0xE7, 0x8B, - 0xF3, 0x21, 0x84, 0x6C + 0xAE, 0x37, 0x3B, 0x27, 0xC9, 0xBD, 0x88, 0x8C, + 0x52, 0xA1, 0xBD, 0xE8, 0x63, 0x62, 0x83, 0xBD, + 0x94, 0x51, 0xC0, 0xAA, 0x51, 0xCA, 0xFD, 0x7F, + 0xF4, 0x8A, 0x55, 0xF9, 0x9B, 0xEF, 0x3F, 0x38, + 0x14, 0xE6, 0x49, 0x61, 0x69, 0x09, 0xAF, 0x1D, + 0x44, 0xC2, 0x00, 0xA6, 0x48, 0xDB, 0x22, 0xAD, + 0x9A, 0x6E, 0x9C, 0x42 }, .len_bits = 52 << 3, }, .digest_enc = { .data = { - 0xF3, 0x21, 0x84, 0x6C + 0x9A, 0x6E, 0x9C, 0x42 }, .len = 4, .offset = 48, @@ -619,15 +619,15 @@ struct mixed_cipher_auth_test_data auth_snow_cipher_zuc_test_case_1 = { .auth_algo = RTE_CRYPTO_AUTH_SNOW3G_UIA2, .auth_key = { .data = { - 0xC7, 0x36, 0xC6, 0xAA, 0xB2, 0x2B, 0xFF, 0xF9, - 0x1E, 0x26, 0x98, 0xD2, 0xE2, 0x2A, 0xD5, 0x7E + 0x36, 0xB8, 0xFD, 0x7D, 0xB4, 0x2B, 0xD5, 0xE1, + 0x73, 0xAA, 0x51, 0x3C, 0x95, 0x25, 0x6C, 0x1F }, .len = 16, }, .auth_iv = { .data = { - 0x14, 0x79, 0x3E, 0x41, 0x03, 0x97, 0xE8, 0xFD, - 0x94, 0x79, 0x3E, 0x41, 0x03, 0x97, 0x68, 0xFD + 0x94, 0x86, 0xE9, 0x0D, 0xAD, 0x70, 0x39, 0xBE, + 0x65, 0x58, 0xE5, 0x89, 0x4C, 0x0F, 0x5C, 0x4D }, .len = 16, }, @@ -638,15 +638,15 @@ struct mixed_cipher_auth_test_data auth_snow_cipher_zuc_test_case_1 = { .cipher_algo = RTE_CRYPTO_CIPHER_ZUC_EEA3, .cipher_key = { .data = { - 0xC7, 0x36, 0xC6, 0xAA, 0xB2, 0x2B, 0xFF, 0xF9, - 0x1E, 0x26, 0x98, 0xD2, 0xE2, 0x2A, 0xD5, 0x7E + 0x99, 0xEC, 0x89, 0xCD, 0x39, 0xFD, 0x43, 0xD1, + 0x8B, 0xF3, 0xF9, 0x2E, 0x9F, 0xF0, 0x50, 0x09 }, .len = 16, }, .cipher_iv = { .data = { - 0x14, 0x79, 0x3E, 0x41, 0x03, 0x97, 0xE8, 0xFD, - 0x94, 0x79, 0x3E, 0x41, 0x03, 0x97, 0x68, 0xFD + 0xBF, 0x49, 0xF5, 0x73, 0xDB, 0x59, 0xF1, 0x24, + 0x00, 0x09, 0x15, 0x44, 0x51, 0x98, 0xAF, 0xFD }, .len = 16, }, @@ -656,30 +656,30 @@ struct mixed_cipher_auth_test_data auth_snow_cipher_zuc_test_case_1 = { }, .plaintext = { .data = { - 0xD0, 0xA7, 0xD4, 0x63, 0xDF, 0x9F, 0xB2, 0xB2, - 0x78, 0x83, 0x3F, 0xA0, 0x2E, 0x23, 0x5A, 0xA1, - 0x72, 0xBD, 0x97, 0x0C, 0x14, 0x73, 0xE1, 0x29, - 0x07, 0xFB, 0x64, 0x8B, 0x65, 0x99, 0xAA, 0xA0, - 0xB2, 0x4A, 0x03, 0x86, 0x65, 0x42, 0x2B, 0x20, - 0xA4, 0x99, 0x27, 0x6A, 0x50, 0x42, 0x70, 0x09 + 0xF9, 0x01, 0x2F, 0x55, 0x44, 0xD7, 0xB1, 0x4C, + 0x40, 0xCC, 0x2C, 0xBA, 0x6E, 0x90, 0x1D, 0xA1, + 0x6A, 0xCA, 0x1E, 0x37, 0x91, 0xE4, 0x57, 0x0B, + 0xDD, 0xF3, 0xB3, 0xF9, 0xF2, 0x53, 0xAA, 0xEB, + 0x55, 0xDA, 0x41, 0x99, 0xB1, 0xF2, 0xE6, 0xF2, + 0xBF, 0x12, 0xAD, 0x2E, 0xA2, 0xCA, 0xCF, 0x0D }, .len_bits = 48 << 3, }, .ciphertext = { .data = { - 0x52, 0x11, 0xCD, 0xFF, 0xF8, 0x88, 0x61, 0x1E, - 0xF5, 0xD2, 0x8E, 0xEB, 0x2A, 0x49, 0x18, 0x1F, - 0xF4, 0xDA, 0x8B, 0x19, 0x60, 0x0B, 0x92, 0x9E, - 0x79, 0x2A, 0x5B, 0x0B, 0x7E, 0xC6, 0x22, 0x36, - 0x74, 0xA4, 0x6C, 0xBC, 0xF5, 0x25, 0x69, 0xAE, - 0xDA, 0x04, 0xB9, 0xAF, 0x16, 0x42, 0x0F, 0xCB, - 0x3E, 0xC9, 0x49, 0xE9 + 0xF6, 0xA2, 0x16, 0xFB, 0xE4, 0xA8, 0xED, 0x96, + 0x42, 0x35, 0x2C, 0xBC, 0x22, 0x8F, 0x7C, 0x15, + 0x97, 0xB6, 0xAE, 0x21, 0xE8, 0x2D, 0x11, 0x7B, + 0x00, 0xC1, 0x20, 0x57, 0xC7, 0xB8, 0x17, 0xBB, + 0x21, 0x0B, 0x6E, 0x89, 0x33, 0xAF, 0xDA, 0xD4, + 0xC5, 0xFD, 0xC4, 0xD6, 0x37, 0x18, 0xB9, 0xF4, + 0xAB, 0xBD, 0x62, 0xD0 }, .len_bits = 52 << 3, }, .digest_enc = { .data = { - 0x3E, 0xC9, 0x49, 0xE9 + 0xAB, 0xBD, 0x62, 0xD0 }, .len = 4, .offset = 48, @@ -699,8 +699,8 @@ struct mixed_cipher_auth_test_data auth_aes_cmac_cipher_zuc_test_case_1 = { .auth_algo = RTE_CRYPTO_AUTH_AES_CMAC, .auth_key = { .data = { - 0x2B, 0x7E, 0x15, 0x16, 0x28, 0xAE, 0xD2, 0xA6, - 0xAB, 0xF7, 0x15, 0x88, 0x09, 0xCF, 0x4F, 0x3C + 0x2F, 0xEA, 0x31, 0x8A, 0x51, 0x14, 0xCA, 0xE1, + 0x25, 0x77, 0x11, 0x12, 0xEE, 0xBA, 0xE1, 0x1F }, .len = 16, }, @@ -716,8 +716,8 @@ struct mixed_cipher_auth_test_data auth_aes_cmac_cipher_zuc_test_case_1 = { .cipher_algo = RTE_CRYPTO_CIPHER_ZUC_EEA3, .cipher_key = { .data = { - 0x2B, 0x7E, 0x15, 0x16, 0x28, 0xAE, 0xD2, 0xA6, - 0xAB, 0xF7, 0x15, 0x88, 0x09, 0xCF, 0x4F, 0x3C + 0x67, 0x20, 0xEA, 0xEB, 0x38, 0x10, 0x88, 0x07, + 0x64, 0xB9, 0xA5, 0x05, 0x88, 0x2F, 0x4C, 0xBF }, .len = 16, }, @@ -732,146 +732,146 @@ struct mixed_cipher_auth_test_data auth_aes_cmac_cipher_zuc_test_case_1 = { }, .plaintext = { .data = { - 0x57, 0x68, 0x61, 0x74, 0x20, 0x61, 0x20, 0x6C, - 0x6F, 0x75, 0x73, 0x79, 0x20, 0x65, 0x61, 0x72, - 0x74, 0x68, 0x21, 0x20, 0x48, 0x65, 0x20, 0x77, - 0x6F, 0x6E, 0x64, 0x65, 0x72, 0x65, 0x64, 0x20, - 0x68, 0x6F, 0x77, 0x20, 0x6D, 0x61, 0x6E, 0x79, - 0x20, 0x70, 0x65, 0x6F, 0x70, 0x6C, 0x65, 0x20, - 0x77, 0x65, 0x72, 0x65, 0x20, 0x64, 0x65, 0x73, - 0x74, 0x69, 0x74, 0x75, 0x74, 0x65, 0x20, 0x74, - 0x68, 0x61, 0x74, 0x20, 0x73, 0x61, 0x6D, 0x65, - 0x20, 0x6E, 0x69, 0x67, 0x68, 0x74, 0x20, 0x65, - 0x76, 0x65, 0x6E, 0x20, 0x69, 0x6E, 0x20, 0x68, - 0x69, 0x73, 0x20, 0x6F, 0x77, 0x6E, 0x20, 0x70, - 0x72, 0x6F, 0x73, 0x70, 0x65, 0x72, 0x6F, 0x75, - 0x73, 0x20, 0x63, 0x6F, 0x75, 0x6E, 0x74, 0x72, - 0x79, 0x2C, 0x20, 0x68, 0x6F, 0x77, 0x20, 0x6D, - 0x61, 0x6E, 0x79, 0x20, 0x68, 0x6F, 0x6D, 0x65, - 0x73, 0x20, 0x77, 0x65, 0x72, 0x65, 0x20, 0x73, - 0x68, 0x61, 0x6E, 0x74, 0x69, 0x65, 0x73, 0x2C, - 0x20, 0x68, 0x6F, 0x77, 0x20, 0x6D, 0x61, 0x6E, - 0x79, 0x20, 0x68, 0x75, 0x73, 0x62, 0x61, 0x6E, - 0x64, 0x73, 0x20, 0x77, 0x65, 0x72, 0x65, 0x20, - 0x64, 0x72, 0x75, 0x6E, 0x6B, 0x20, 0x61, 0x6E, - 0x64, 0x20, 0x77, 0x69, 0x76, 0x65, 0x73, 0x20, - 0x73, 0x6F, 0x63, 0x6B, 0x65, 0x64, 0x2C, 0x20, - 0x61, 0x6E, 0x64, 0x20, 0x68, 0x6F, 0x77, 0x20, - 0x6D, 0x61, 0x6E, 0x79, 0x20, 0x63, 0x68, 0x69, - 0x6C, 0x64, 0x72, 0x65, 0x6E, 0x20, 0x77, 0x65, - 0x72, 0x65, 0x20, 0x62, 0x75, 0x6C, 0x6C, 0x69, - 0x65, 0x64, 0x2C, 0x20, 0x61, 0x62, 0x75, 0x73, - 0x65, 0x64, 0x2C, 0x20, 0x6F, 0x72, 0x20, 0x61, - 0x62, 0x61, 0x6E, 0x64, 0x6F, 0x6E, 0x65, 0x64, - 0x2E, 0x20, 0x48, 0x6F, 0x77, 0x20, 0x6D, 0x61, - 0x6E, 0x79, 0x20, 0x66, 0x61, 0x6D, 0x69, 0x6C, - 0x69, 0x65, 0x73, 0x20, 0x68, 0x75, 0x6E, 0x67, - 0x65, 0x72, 0x65, 0x64, 0x20, 0x66, 0x6F, 0x72, - 0x20, 0x66, 0x6F, 0x6F, 0x64, 0x20, 0x74, 0x68, - 0x65, 0x79, 0x20, 0x63, 0x6F, 0x75, 0x6C, 0x64, - 0x20, 0x6E, 0x6F, 0x74, 0x20, 0x61, 0x66, 0x66, - 0x6F, 0x72, 0x64, 0x20, 0x74, 0x6F, 0x20, 0x62, - 0x75, 0x79, 0x3F, 0x20, 0x48, 0x6F, 0x77, 0x20, - 0x6D, 0x61, 0x6E, 0x79, 0x20, 0x68, 0x65, 0x61, - 0x72, 0x74, 0x73, 0x20, 0x77, 0x65, 0x72, 0x65, - 0x20, 0x62, 0x72, 0x6F, 0x6B, 0x65, 0x6E, 0x3F, - 0x20, 0x48, 0x6F, 0x77, 0x20, 0x6D, 0x61, 0x6E, - 0x79, 0x20, 0x73, 0x75, 0x69, 0x63, 0x69, 0x64, - 0x65, 0x73, 0x20, 0x77, 0x6F, 0x75, 0x6C, 0x64, - 0x20, 0x74, 0x61, 0x6B, 0x65, 0x20, 0x70, 0x6C, - 0x61, 0x63, 0x65, 0x20, 0x74, 0x68, 0x61, 0x74, - 0x20, 0x73, 0x61, 0x6D, 0x65, 0x20, 0x6E, 0x69, - 0x67, 0x68, 0x74, 0x2C, 0x20, 0x68, 0x6F, 0x77, - 0x20, 0x6D, 0x61, 0x6E, 0x79, 0x20, 0x70, 0x65, - 0x6F, 0x70, 0x6C, 0x65, 0x20, 0x77, 0x6F, 0x75, - 0x6C, 0x64, 0x20, 0x67, 0x6F, 0x20, 0x69, 0x6E, - 0x73, 0x61, 0x6E, 0x65, 0x3F, 0x20, 0x48, 0x6F, - 0x77, 0x20, 0x6D, 0x61, 0x6E, 0x79, 0x20, 0x63, - 0x6F, 0x63, 0x6B, 0x72, 0x6F, 0x61, 0x63, 0x68, - 0x65, 0x73, 0x20, 0x61, 0x6E, 0x64, 0x20, 0x6C, - 0x61, 0x6E, 0x64, 0x6C, 0x6F, 0x72, 0x64, 0x73, - 0x20, 0x77, 0x6F, 0x75, 0x6C, 0x64, 0x20, 0x74, - 0x72, 0x69, 0x75, 0x6D, 0x70, 0x68, 0x3F, 0x20, - 0x48, 0x6F, 0x77, 0x20, 0x6D, 0x61, 0x6E, 0x79, - 0x20, 0x77, 0x69, 0x6E, 0x6E, 0x65, 0x72, 0x73, - 0x20, 0x77, 0x65, 0x72, 0x65, 0x20, 0x6C, 0x6F, - 0x73, 0x65, 0x72, 0x73, 0x2C, 0x20, 0x73, 0x75 + 0x8F, 0x7E, 0xD7, 0x93, 0xDB, 0x6D, 0xB8, 0x5B, + 0x5A, 0x50, 0xC3, 0x9D, 0xBD, 0x5A, 0x2C, 0xB6, + 0xE6, 0xE3, 0x08, 0x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2, 0x27, 0x89, 0x58, 0x00, 0xC2, + 0x06, 0x57, 0xEB, 0xE6, 0xFF, 0x2F, 0x4B, 0xD4, + 0xB0, 0x68, 0xBF, 0x72, 0xFC, 0x02, 0x78, 0x36, + 0x7E, 0xED, 0xC0, 0xEE, 0xA1, 0x4E, 0xC6, 0x2E, + 0x41, 0x78, 0x56, 0xCA, 0xD1, 0x56, 0x8D, 0xD8, + 0xAD, 0x78, 0xBE, 0xAD, 0xA7, 0x0A, 0x82, 0x58, + 0x73, 0x42, 0xCB, 0x70, 0x44, 0x44, 0xA6, 0xC3, + 0x32, 0x66, 0xB1, 0xD4, 0xB5, 0x77, 0x02, 0xF6, + 0xF0, 0x58, 0xC1, 0xC2, 0xAF, 0x4E, 0x9A, 0x5C, + 0xC7, 0x59, 0x0A, 0x6F, 0x63, 0x8C, 0xC8, 0xD7, + 0xCE, 0x93, 0x47, 0x12, 0xD8, 0xED, 0xD6, 0x0A, + 0x54, 0x87, 0xDE, 0x09, 0xFF, 0xE1, 0x00, 0xF0, + 0x3A, 0xC2, 0xB3, 0xE9, 0x11, 0x4D, 0x46, 0xD8, + 0xA7, 0x50, 0x47, 0x0A, 0xDC, 0x0F, 0xE1, 0xAA, + 0xA3, 0x29, 0xBD, 0x7B, 0x16, 0x93, 0x86, 0x6B, + 0x1B, 0x65, 0x74, 0x1B, 0x46, 0x75, 0x0B, 0x80, + 0x37, 0xBE, 0x6A, 0x48, 0x0C, 0xB0, 0x20, 0xB3 }, .len_bits = 512 << 3, }, .ciphertext = { .data = { - 0x3C, 0x89, 0x1C, 0xE5, 0xB7, 0xDE, 0x61, 0x4D, - 0x05, 0x37, 0x3F, 0x40, 0xC9, 0xCF, 0x10, 0x07, - 0x7F, 0x18, 0xC5, 0x96, 0x21, 0xA9, 0xCF, 0xF5, - 0xBB, 0x9C, 0x22, 0x72, 0x00, 0xBE, 0xAC, 0x4B, - 0x55, 0x02, 0x19, 0x2B, 0x37, 0x64, 0x15, 0x6B, - 0x54, 0x74, 0xAE, 0x0F, 0xE7, 0x68, 0xB3, 0x92, - 0x17, 0x26, 0x75, 0xEE, 0x0B, 0xE9, 0x46, 0x3C, - 0x6E, 0x76, 0x52, 0x14, 0x2B, 0xD0, 0xB6, 0xD0, - 0x09, 0x07, 0x17, 0x12, 0x58, 0x61, 0xE8, 0x2A, - 0x7C, 0x55, 0x67, 0x66, 0x49, 0xD1, 0x4E, 0x2F, - 0x06, 0x96, 0x3A, 0xF7, 0x05, 0xE3, 0x65, 0x47, - 0x7C, 0xBB, 0x66, 0x25, 0xC4, 0x73, 0xB3, 0x7B, - 0x3D, 0x1D, 0x59, 0x54, 0x4E, 0x38, 0x9C, 0x4D, - 0x10, 0x4B, 0x49, 0xA4, 0x92, 0xC7, 0xD7, 0x17, - 0x6F, 0xC0, 0xEE, 0x8D, 0xBE, 0xA5, 0xE3, 0xB9, - 0xBA, 0x5E, 0x88, 0x36, 0x06, 0x19, 0xB7, 0x86, - 0x66, 0x19, 0x90, 0xC4, 0xAE, 0xB3, 0xFE, 0xA7, - 0xCF, 0x2A, 0xD8, 0x6C, 0x0E, 0xD5, 0x24, 0x2A, - 0x92, 0x93, 0xB9, 0x12, 0xCB, 0x50, 0x0A, 0x22, - 0xB0, 0x09, 0x06, 0x17, 0x85, 0xC9, 0x03, 0x70, - 0x18, 0xF2, 0xD5, 0x6A, 0x66, 0xC2, 0xB6, 0xC6, - 0xA5, 0xA3, 0x24, 0xEC, 0xB9, 0x07, 0xD5, 0x8A, - 0xA0, 0x44, 0x54, 0xD7, 0x21, 0x9F, 0x02, 0x83, - 0x78, 0x7B, 0x78, 0x9C, 0x97, 0x2A, 0x36, 0x51, - 0xAF, 0xE1, 0x79, 0x81, 0x07, 0x53, 0xE4, 0xA0, - 0xC7, 0xCF, 0x10, 0x7C, 0xB2, 0xE6, 0xA1, 0xFD, - 0x81, 0x0B, 0x96, 0x50, 0x5D, 0xFE, 0xB3, 0xC6, - 0x75, 0x00, 0x0C, 0x56, 0x83, 0x9B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0x74, 0x36, 0x98, + 0xB5, 0x3F, 0x88, 0x74, 0xA8, 0x6C, 0xB8, 0x03, + 0x16, 0x43, 0x47, 0xF8, 0xEA, 0x26, 0x91, 0x07, + 0x85, 0xB2, 0x59, 0xE1, 0x45, 0x22, 0x09, 0x21, + 0x1B, 0x11, 0x14, 0xAA, 0xC9, 0xD6, 0xF7, 0x6E, + 0xF3, 0xC3, 0x1F, 0x00, 0xA0, 0x8B, 0xC3, 0x0E, + 0x47, 0x24, 0x7D, 0x0F, 0x51, 0x2F, 0x13, 0xE2, + 0x80, 0xEA, 0x4F, 0x2C, 0x74, 0x10, 0x8C, 0x60, + 0xF3, 0x5C, 0xC3, 0x09, 0xB8, 0x4E, 0xBC, 0x7C, + 0x92, 0x24, 0x58, 0x35, 0xCA, 0xA0, 0x33, 0xB4, + 0x85, 0x9D, 0x76, 0x56, 0x24, 0x5B, 0x61, 0x8E, + 0xE8, 0x6A, 0x74, 0x01, 0xD1, 0xA7, 0xFD, 0xCB, + 0x2A, 0xB9, 0xE1, 0x12 }, .len_bits = 516 << 3, }, .digest_enc = { .data = { - 0x82, 0x8F, 0xCF, 0x7E + 0x2A, 0xB9, 0xE1, 0x12 }, .len = 4, .offset = 512, @@ -891,15 +891,15 @@ struct mixed_cipher_auth_test_data auth_null_cipher_snow_test_case_1 = { .auth_algo = RTE_CRYPTO_AUTH_NULL, .auth_key = { .data = { - 0xC7, 0x36, 0xC6, 0xAA, 0xB2, 0x2B, 0xFF, 0xF9, - 0x1E, 0x26, 0x98, 0xD2, 0xE2, 0x2A, 0xD5, 0x7E + 0x84, 0x6F, 0x4C, 0x58, 0x2D, 0x69, 0x3A, 0x2D, + 0x5C, 0x59, 0xF0, 0x0B, 0x7A, 0x4B, 0x0A, 0x80 }, .len = 16, }, .auth_iv = { .data = { - 0x14, 0x79, 0x3E, 0x41, 0x03, 0x97, 0xE8, 0xFD, - 0x94, 0x79, 0x3E, 0x41, 0x03, 0x97, 0x68, 0xFD + 0x0B, 0x1C, 0x27, 0x11, 0x4B, 0x0C, 0x4F, 0xDF, + 0xC7, 0x21, 0x24, 0x72, 0x68, 0x62, 0x5E, 0xA7 }, .len = 16, }, @@ -910,15 +910,15 @@ struct mixed_cipher_auth_test_data auth_null_cipher_snow_test_case_1 = { .cipher_algo = RTE_CRYPTO_CIPHER_SNOW3G_UEA2, .cipher_key = { .data = { - 0xC7, 0x36, 0xC6, 0xAA, 0xB2, 0x2B, 0xFF, 0xF9, - 0x1E, 0x26, 0x98, 0xD2, 0xE2, 0x2A, 0xD5, 0x7E + 0x69, 0xEA, 0x12, 0xA0, 0x43, 0xD0, 0x32, 0xBB, + 0xB8, 0x4F, 0x37, 0x3D, 0x1E, 0xCC, 0x4B, 0xD5 }, .len = 16, }, .cipher_iv = { .data = { - 0x14, 0x79, 0x3E, 0x41, 0x03, 0x97, 0xE8, 0xFD, - 0x94, 0x79, 0x3E, 0x41, 0x03, 0x97, 0x68, 0xFD + 0x0E, 0xE3, 0xE2, 0x8B, 0xDD, 0xA2, 0xDB, 0xFF, + 0x8C, 0x4F, 0x45, 0x34, 0x84, 0x1A, 0x3D, 0x14 }, .len = 16, }, @@ -928,29 +928,29 @@ struct mixed_cipher_auth_test_data auth_null_cipher_snow_test_case_1 = { }, .plaintext = { .data = { - 0xD0, 0xA7, 0xD4, 0x63, 0xDF, 0x9F, 0xB2, 0xB2, - 0x78, 0x83, 0x3F, 0xA0, 0x2E, 0x23, 0x5A, 0xA1, - 0x72, 0xBD, 0x97, 0x0C, 0x14, 0x73, 0xE1, 0x29, - 0x07, 0xFB, 0x64, 0x8B, 0x65, 0x99, 0xAA, 0xA0, - 0xB2, 0x4A, 0x03, 0x86, 0x65, 0x42, 0x2B, 0x20, - 0xA4, 0x99, 0x27, 0x6A, + 0xA4, 0x85, 0xEA, 0x3E, 0x34, 0x58, 0xF8, 0xF3, + 0x9B, 0xA8, 0xDD, 0xD3, 0x07, 0x1E, 0xA8, 0x2D, + 0xD9, 0x0E, 0xB8, 0x3E, 0xB4, 0x5B, 0x72, 0x32, + 0x35, 0x68, 0x27, 0x9A, 0xBF, 0xAF, 0x84, 0x63, + 0x34, 0x6E, 0xA2, 0x69, 0xC7, 0x9A, 0x5C, 0x62, + 0x42, 0x39, 0x36, 0x4A }, .len_bits = 44 << 3, }, .ciphertext = { .data = { - 0x95, 0x2E, 0x5A, 0xE1, 0x50, 0xB8, 0x59, 0x2A, - 0x9B, 0xA0, 0x38, 0xA9, 0x8E, 0x2F, 0xED, 0xAB, - 0xFD, 0xC8, 0x3B, 0x47, 0x46, 0x0B, 0x50, 0x16, - 0xEC, 0x88, 0x45, 0xB6, 0x05, 0xC7, 0x54, 0xF8, - 0xBD, 0x91, 0xAA, 0xB6, 0xA4, 0xDC, 0x64, 0xB4, - 0xCB, 0xEB, 0x97, 0x06, 0x1C, 0xB5, 0x72, 0x34 + 0x05, 0xFE, 0xB7, 0x63, 0x69, 0x67, 0x4E, 0xEB, + 0xB4, 0x93, 0xAE, 0x11, 0x07, 0x4A, 0x91, 0x0F, + 0x63, 0x54, 0x83, 0x5D, 0x89, 0x15, 0xB1, 0x0E, + 0x8A, 0x7F, 0xA1, 0xD2, 0xFB, 0xAB, 0xB0, 0x52, + 0xF2, 0xFF, 0x9C, 0x8D, 0xEE, 0xB4, 0x06, 0xEF, + 0xA0, 0x7D, 0x9A, 0x18, 0xF2, 0x81, 0xA9, 0x67 }, .len_bits = 48 << 3, }, .digest_enc = { .data = { - 0x1C, 0xB5, 0x72, 0x34 + 0xF2, 0x81, 0xA9, 0x67 }, .len = 4, .offset = 44, @@ -970,15 +970,15 @@ struct mixed_cipher_auth_test_data auth_null_cipher_zuc_test_case_1 = { .auth_algo = RTE_CRYPTO_AUTH_NULL, .auth_key = { .data = { - 0xC7, 0x36, 0xC6, 0xAA, 0xB2, 0x2B, 0xFF, 0xF9, - 0x1E, 0x26, 0x98, 0xD2, 0xE2, 0x2A, 0xD5, 0x7E + 0xAC, 0x33, 0x46, 0x79, 0xD4, 0xFD, 0x0F, 0xA7, + 0x08, 0x72, 0x93, 0x3D, 0xF9, 0xB9, 0x7F, 0x59 }, .len = 16, }, .auth_iv = { .data = { - 0x14, 0x79, 0x3E, 0x41, 0x03, 0x97, 0xE8, 0xFD, - 0x94, 0x79, 0x3E, 0x41, 0x03, 0x97, 0x68, 0xFD + 0xD1, 0x2D, 0x96, 0xE4, 0xED, 0x4E, 0x38, 0x6B, + 0x5B, 0xF2, 0x1F, 0xB2, 0xDE, 0x86, 0x6F, 0x17 }, .len = 16, }, @@ -989,15 +989,15 @@ struct mixed_cipher_auth_test_data auth_null_cipher_zuc_test_case_1 = { .cipher_algo = RTE_CRYPTO_CIPHER_ZUC_EEA3, .cipher_key = { .data = { - 0xC7, 0x36, 0xC6, 0xAA, 0xB2, 0x2B, 0xFF, 0xF9, - 0x1E, 0x26, 0x98, 0xD2, 0xE2, 0x2A, 0xD5, 0x7E + 0x2F, 0x7A, 0x01, 0xF2, 0x65, 0x12, 0x1A, 0xC6, + 0xCC, 0x9E, 0xB1, 0xFD, 0x93, 0xEE, 0xDC, 0xC3 }, .len = 16, }, .cipher_iv = { .data = { - 0x14, 0x79, 0x3E, 0x41, 0x03, 0x97, 0xE8, 0xFD, - 0x94, 0x79, 0x3E, 0x41, 0x03, 0x97, 0x68, 0xFD + 0xD5, 0xF4, 0xD2, 0xDE, 0x7F, 0x65, 0xC4, 0x8A, + 0x21, 0x20, 0xBF, 0x76, 0x7B, 0xBC, 0xCF, 0x05 }, .len = 16, }, @@ -1007,30 +1007,30 @@ struct mixed_cipher_auth_test_data auth_null_cipher_zuc_test_case_1 = { }, .plaintext = { .data = { - 0xD0, 0xA7, 0xD4, 0x63, 0xDF, 0x9F, 0xB2, 0xB2, - 0x78, 0x83, 0x3F, 0xA0, 0x2E, 0x23, 0x5A, 0xA1, - 0x72, 0xBD, 0x97, 0x0C, 0x14, 0x73, 0xE1, 0x29, - 0x07, 0xFB, 0x64, 0x8B, 0x65, 0x99, 0xAA, 0xA0, - 0xB2, 0x4A, 0x03, 0x86, 0x65, 0x42, 0x2B, 0x20, - 0xA4, 0x99, 0x27, 0x6A, 0x50, 0x42, 0x70, 0x09 + 0xEB, 0x16, 0xD9, 0x12, 0xD7, 0x9B, 0xE2, 0x7F, + 0xB0, 0xFA, 0xD9, 0x95, 0x80, 0x43, 0xBB, 0x9F, + 0x9D, 0x08, 0x94, 0x01, 0x65, 0x61, 0xCD, 0x1F, + 0xED, 0xDD, 0xDB, 0x95, 0x7C, 0xB1, 0x72, 0x67, + 0xC8, 0x4B, 0x7A, 0xA0, 0xE7, 0x5C, 0x1F, 0x97, + 0x57, 0xF9, 0x2C, 0xD7, 0x3D, 0xE7, 0x77, 0xDB }, .len_bits = 48 << 3, }, .ciphertext = { .data = { - 0x52, 0x11, 0xCD, 0xFF, 0xF8, 0x88, 0x61, 0x1E, - 0xF5, 0xD2, 0x8E, 0xEB, 0x2A, 0x49, 0x18, 0x1F, - 0xF4, 0xDA, 0x8B, 0x19, 0x60, 0x0B, 0x92, 0x9E, - 0x79, 0x2A, 0x5B, 0x0B, 0x7E, 0xC6, 0x22, 0x36, - 0x74, 0xA4, 0x6C, 0xBC, 0xF5, 0x25, 0x69, 0xAE, - 0xDA, 0x04, 0xB9, 0xAF, 0x16, 0x42, 0x0F, 0xCB, - 0x06, 0x7C, 0x1D, 0x29 + 0xCD, 0xB1, 0xA8, 0x28, 0x24, 0x03, 0x89, 0x4E, + 0x81, 0xF9, 0x12, 0x3A, 0x8C, 0x11, 0x75, 0x14, + 0xED, 0xC3, 0xB0, 0xED, 0x3F, 0xFE, 0x54, 0x66, + 0x16, 0x4D, 0x57, 0x2F, 0xA0, 0xA3, 0x6A, 0x41, + 0x47, 0xDB, 0xE4, 0x1E, 0x8E, 0x3E, 0xA9, 0xFD, + 0x9A, 0x9D, 0xBF, 0xD1, 0x6F, 0x1E, 0x8F, 0xF8, + 0x54, 0xB0, 0xA6, 0x25 }, .len_bits = 52 << 3, }, .digest_enc = { .data = { - 0x06, 0x7C, 0x1D, 0x29 + 0x54, 0xB0, 0xA6, 0x25 }, .len = 4, .offset = 48, @@ -1050,15 +1050,15 @@ struct mixed_cipher_auth_test_data auth_snow_cipher_null_test_case_1 = { .auth_algo = RTE_CRYPTO_AUTH_SNOW3G_UIA2, .auth_key = { .data = { - 0xC7, 0x36, 0xC6, 0xAA, 0xB2, 0x2B, 0xFF, 0xF9, - 0x1E, 0x26, 0x98, 0xD2, 0xE2, 0x2A, 0xD5, 0x7E + 0xDC, 0x21, 0xAD, 0x18, 0x1D, 0x89, 0xDA, 0x3D, + 0x8C, 0x68, 0x73, 0xDD, 0x6A, 0x55, 0xA3, 0x2E }, .len = 16, }, .auth_iv = { .data = { - 0x14, 0x79, 0x3E, 0x41, 0x03, 0x97, 0xE8, 0xFD, - 0x94, 0x79, 0x3E, 0x41, 0x03, 0x97, 0x68, 0xFD + 0xBA, 0x6F, 0x99, 0x27, 0x96, 0xCD, 0xBE, 0x19, + 0x7D, 0x96, 0x06, 0x28, 0xA0, 0xBE, 0x12, 0xDB }, .len = 16, }, @@ -1069,15 +1069,15 @@ struct mixed_cipher_auth_test_data auth_snow_cipher_null_test_case_1 = { .cipher_algo = RTE_CRYPTO_CIPHER_NULL, .cipher_key = { .data = { - 0xC7, 0x36, 0xC6, 0xAA, 0xB2, 0x2B, 0xFF, 0xF9, - 0x1E, 0x26, 0x98, 0xD2, 0xE2, 0x2A, 0xD5, 0x7E + 0xE1, 0xEA, 0x6A, 0x93, 0xB1, 0x21, 0x69, 0x5F, + 0x53, 0x98, 0x16, 0xA2, 0x09, 0x0F, 0x06, 0x1E }, .len = 16, }, .cipher_iv = { .data = { - 0x14, 0x79, 0x3E, 0x41, 0x03, 0x97, 0xE8, 0xFD, - 0x94, 0x79, 0x3E, 0x41, 0x03, 0x97, 0x68, 0xFD + 0x61, 0x4D, 0x07, 0x4F, 0x39, 0x2B, 0x6D, 0x6E, + 0x75, 0xAD, 0x24, 0x42, 0xD5, 0xE9, 0x74, 0x51 }, .len = 16, }, @@ -1087,30 +1087,30 @@ struct mixed_cipher_auth_test_data auth_snow_cipher_null_test_case_1 = { }, .plaintext = { .data = { - 0xD0, 0xA7, 0xD4, 0x63, 0xDF, 0x9F, 0xB2, 0xB2, - 0x78, 0x83, 0x3F, 0xA0, 0x2E, 0x23, 0x5A, 0xA1, - 0x72, 0xBD, 0x97, 0x0C, 0x14, 0x73, 0xE1, 0x29, - 0x07, 0xFB, 0x64, 0x8B, 0x65, 0x99, 0xAA, 0xA0, - 0xB2, 0x4A, 0x03, 0x86, 0x65, 0x42, 0x2B, 0x20, - 0xA4, 0x99, 0x27, 0x6A, 0x50, 0x42, 0x70, 0x09 + 0xC0, 0x9C, 0xF3, 0xDF, 0x33, 0xF0, 0xD2, 0xCC, + 0x67, 0xDC, 0xB9, 0x0E, 0x0C, 0x55, 0x64, 0x01, + 0x60, 0x99, 0x4E, 0x79, 0xC9, 0x8C, 0xE9, 0x77, + 0x1C, 0x08, 0x3E, 0x66, 0xAE, 0x3E, 0x95, 0x6F, + 0xDA, 0x89, 0x4F, 0x0E, 0x79, 0x21, 0xDA, 0xE1, + 0xFE, 0x94, 0xEF, 0x0A, 0xE9, 0x54, 0x0B, 0x4A }, .len_bits = 48 << 3, }, .ciphertext = { .data = { - 0xD0, 0xA7, 0xD4, 0x63, 0xDF, 0x9F, 0xB2, 0xB2, - 0x78, 0x83, 0x3F, 0xA0, 0x2E, 0x23, 0x5A, 0xA1, - 0x72, 0xBD, 0x97, 0x0C, 0x14, 0x73, 0xE1, 0x29, - 0x07, 0xFB, 0x64, 0x8B, 0x65, 0x99, 0xAA, 0xA0, - 0xB2, 0x4A, 0x03, 0x86, 0x65, 0x42, 0x2B, 0x20, - 0xA4, 0x99, 0x27, 0x6A, 0x50, 0x42, 0x70, 0x09, - 0x38, 0xB5, 0x54, 0xC0 + 0xC0, 0x9C, 0xF3, 0xDF, 0x33, 0xF0, 0xD2, 0xCC, + 0x67, 0xDC, 0xB9, 0x0E, 0x0C, 0x55, 0x64, 0x01, + 0x60, 0x99, 0x4E, 0x79, 0xC9, 0x8C, 0xE9, 0x77, + 0x1C, 0x08, 0x3E, 0x66, 0xAE, 0x3E, 0x95, 0x6F, + 0xDA, 0x89, 0x4F, 0x0E, 0x79, 0x21, 0xDA, 0xE1, + 0xFE, 0x94, 0xEF, 0x0A, 0xE9, 0x54, 0x0B, 0x4A, + 0x8E, 0xAF, 0x5B, 0x5B }, .len_bits = 52 << 3, }, .digest_enc = { .data = { - 0x38, 0xB5, 0x54, 0xC0 + 0x8E, 0xAF, 0x5B, 0x5B }, .len = 4, .offset = 48, @@ -1130,15 +1130,15 @@ struct mixed_cipher_auth_test_data auth_zuc_cipher_null_test_case_1 = { .auth_algo = RTE_CRYPTO_AUTH_ZUC_EIA3, .auth_key = { .data = { - 0xc9, 0xe6, 0xce, 0xc4, 0x60, 0x7c, 0x72, 0xdb, - 0x00, 0x0a, 0xef, 0xa8, 0x83, 0x85, 0xab, 0x0a + 0x57, 0x3E, 0x7B, 0x14, 0x8B, 0x26, 0x70, 0x40, + 0xF7, 0xB7, 0xD3, 0xAE, 0x12, 0xDB, 0x51, 0x1C }, .len = 16, }, .auth_iv = { .data = { - 0xa9, 0x40, 0x59, 0xda, 0x50, 0x00, 0x00, 0x00, - 0x29, 0x40, 0x59, 0xda, 0x50, 0x00, 0x80, 0x00 + 0x58, 0x22, 0x99, 0xD1, 0x95, 0xB1, 0xF5, 0x50, + 0x99, 0xCD, 0x63, 0x4F, 0x5F, 0x37, 0x41, 0xD2 }, .len = 16, }, @@ -1149,15 +1149,15 @@ struct mixed_cipher_auth_test_data auth_zuc_cipher_null_test_case_1 = { .cipher_algo = RTE_CRYPTO_CIPHER_NULL, .cipher_key = { .data = { - 0xc9, 0xe6, 0xce, 0xc4, 0x60, 0x7c, 0x72, 0xdb, - 0x00, 0x0a, 0xef, 0xa8, 0x83, 0x85, 0xab, 0x0a + 0xDB, 0x87, 0x38, 0x0F, 0x9F, 0xBE, 0x7D, 0xE1, + 0x3E, 0xE6, 0xF5, 0xF3, 0xB0, 0x15, 0xB3, 0x8B }, .len = 16, }, .cipher_iv = { .data = { - 0xa9, 0x40, 0x59, 0xda, 0x50, 0x00, 0x00, 0x00, - 0x29, 0x40, 0x59, 0xda, 0x50, 0x00, 0x80, 0x00 + 0x01, 0x00, 0x88, 0x7A, 0x39, 0x90, 0xA7, 0x25, + 0x12, 0xE7, 0x02, 0x6A, 0x97, 0xE3, 0x25, 0xCC }, .len = 16, }, @@ -1167,37 +1167,37 @@ struct mixed_cipher_auth_test_data auth_zuc_cipher_null_test_case_1 = { }, .plaintext = { .data = { - 0x98, 0x3b, 0x41, 0xd4, 0x7d, 0x78, 0x0c, 0x9e, - 0x1a, 0xd1, 0x1d, 0x7e, 0xb7, 0x03, 0x91, 0xb1, - 0xde, 0x0b, 0x35, 0xda, 0x2d, 0xc6, 0x2f, 0x83, - 0xe7, 0xb7, 0x8d, 0x63, 0x06, 0xca, 0x0e, 0xa0, - 0x7e, 0x94, 0x1b, 0x7b, 0xe9, 0x13, 0x48, 0xf9, - 0xfc, 0xb1, 0x70, 0xe2, 0x21, 0x7f, 0xec, 0xd9, - 0x7f, 0x9f, 0x68, 0xad, 0xb1, 0x6e, 0x5d, 0x7d, - 0x21, 0xe5, 0x69, 0xd2, 0x80, 0xed, 0x77, 0x5c, - 0xeb, 0xde, 0x3f, 0x40, 0x93, 0xc5, 0x38, 0x81, - 0x00 + 0x72, 0x0B, 0x5C, 0x00, 0x7F, 0x7D, 0x1F, 0xE4, + 0xED, 0x55, 0x1D, 0xB1, 0x01, 0xF4, 0x0C, 0x59, + 0x53, 0xEF, 0xBB, 0x9C, 0x40, 0x07, 0x3B, 0x2E, + 0x07, 0xB1, 0x57, 0xED, 0x7B, 0x9C, 0xD9, 0xEE, + 0xA7, 0x36, 0xEE, 0x27, 0xB3, 0x0E, 0x0B, 0xA1, + 0x63, 0x28, 0x53, 0x64, 0x1D, 0x5F, 0xBE, 0x70, + 0x4F, 0x79, 0x0D, 0x8F, 0x80, 0x49, 0xBE, 0x88, + 0xFA, 0x15, 0x75, 0x75, 0xB1, 0x4F, 0x64, 0x59, + 0x85, 0x52, 0x80, 0x39, 0x60, 0x8C, 0xDB, 0xC3, + 0xB5 }, .len_bits = 73 << 3, }, .ciphertext = { .data = { - 0x98, 0x3b, 0x41, 0xd4, 0x7d, 0x78, 0x0c, 0x9e, - 0x1a, 0xd1, 0x1d, 0x7e, 0xb7, 0x03, 0x91, 0xb1, - 0xde, 0x0b, 0x35, 0xda, 0x2d, 0xc6, 0x2f, 0x83, - 0xe7, 0xb7, 0x8d, 0x63, 0x06, 0xca, 0x0e, 0xa0, - 0x7e, 0x94, 0x1b, 0x7b, 0xe9, 0x13, 0x48, 0xf9, - 0xfc, 0xb1, 0x70, 0xe2, 0x21, 0x7f, 0xec, 0xd9, - 0x7f, 0x9f, 0x68, 0xad, 0xb1, 0x6e, 0x5d, 0x7d, - 0x21, 0xe5, 0x69, 0xd2, 0x80, 0xed, 0x77, 0x5c, - 0xeb, 0xde, 0x3f, 0x40, 0x93, 0xc5, 0x38, 0x81, - 0x00, 0x24, 0xa8, 0x42, 0xb3 + 0x72, 0x0B, 0x5C, 0x00, 0x7F, 0x7D, 0x1F, 0xE4, + 0xED, 0x55, 0x1D, 0xB1, 0x01, 0xF4, 0x0C, 0x59, + 0x53, 0xEF, 0xBB, 0x9C, 0x40, 0x07, 0x3B, 0x2E, + 0x07, 0xB1, 0x57, 0xED, 0x7B, 0x9C, 0xD9, 0xEE, + 0xA7, 0x36, 0xEE, 0x27, 0xB3, 0x0E, 0x0B, 0xA1, + 0x63, 0x28, 0x53, 0x64, 0x1D, 0x5F, 0xBE, 0x70, + 0x4F, 0x79, 0x0D, 0x8F, 0x80, 0x49, 0xBE, 0x88, + 0xFA, 0x15, 0x75, 0x75, 0xB1, 0x4F, 0x64, 0x59, + 0x85, 0x52, 0x80, 0x39, 0x60, 0x8C, 0xDB, 0xC3, + 0xB5, 0x8E, 0x30, 0xD8, 0xF7 }, .len_bits = 77 << 3, }, .digest_enc = { .data = { - 0x24, 0xa8, 0x42, 0xb3 + 0x8E, 0x30, 0xD8, 0xF7 }, .len = 4, .offset = 73, @@ -1217,15 +1217,15 @@ struct mixed_cipher_auth_test_data auth_null_cipher_aes_ctr_test_case_1 = { .auth_algo = RTE_CRYPTO_AUTH_NULL, .auth_key = { .data = { - 0xC7, 0x36, 0xC6, 0xAA, 0xB2, 0x2B, 0xFF, 0xF9, - 0x1E, 0x26, 0x98, 0xD2, 0xE2, 0x2A, 0xD5, 0x7E + 0x1B, 0xEB, 0x4C, 0x29, 0xA4, 0x5D, 0x51, 0xBB, + 0x67, 0x6F, 0xBD, 0xCD, 0xB9, 0xA1, 0xF2, 0xD4 }, .len = 16, }, .auth_iv = { .data = { - 0x14, 0x79, 0x3E, 0x41, 0x03, 0x97, 0xE8, 0xFD, - 0x94, 0x79, 0x3E, 0x41, 0x03, 0x97, 0x68, 0xFD + 0x55, 0x22, 0x06, 0x8B, 0x8C, 0x5A, 0x12, 0x62, + 0x28, 0x33, 0xD3, 0xC3, 0xD7, 0x99, 0x5F, 0x78 }, .len = 16, }, @@ -1236,15 +1236,15 @@ struct mixed_cipher_auth_test_data auth_null_cipher_aes_ctr_test_case_1 = { .cipher_algo = RTE_CRYPTO_CIPHER_AES_CTR, .cipher_key = { .data = { - 0xC7, 0x36, 0xC6, 0xAA, 0xB2, 0x2B, 0xFF, 0xF9, - 0x1E, 0x26, 0x98, 0xD2, 0xE2, 0x2A, 0xD5, 0x7E + 0x34, 0xF1, 0xF1, 0x9B, 0x05, 0x1F, 0x75, 0x3F, + 0x99, 0x61, 0xE7, 0x0F, 0x8D, 0x84, 0x4E, 0x26 }, .len = 16, }, .cipher_iv = { .data = { - 0x14, 0x79, 0x3E, 0x41, 0x03, 0x97, 0xE8, 0xFD, - 0x94, 0x79, 0x3E, 0x41, 0x03, 0x97, 0x68, 0xFD + 0x35, 0x54, 0x90, 0x58, 0x8E, 0xAA, 0xFB, 0x4F, + 0xBD, 0x78, 0xF7, 0xB1, 0x5B, 0xDF, 0xBF, 0xDC }, .len = 16, }, @@ -1254,30 +1254,30 @@ struct mixed_cipher_auth_test_data auth_null_cipher_aes_ctr_test_case_1 = { }, .plaintext = { .data = { - 0xD0, 0xA7, 0xD4, 0x63, 0xDF, 0x9F, 0xB2, 0xB2, - 0x78, 0x83, 0x3F, 0xA0, 0x2E, 0x23, 0x5A, 0xA1, - 0x72, 0xBD, 0x97, 0x0C, 0x14, 0x73, 0xE1, 0x29, - 0x07, 0xFB, 0x64, 0x8B, 0x65, 0x99, 0xAA, 0xA0, - 0xB2, 0x4A, 0x03, 0x86, 0x65, 0x42, 0x2B, 0x20, - 0xA4, 0x99, 0x27, 0x6A, 0x50, 0x42, 0x70, 0x09 + 0x70, 0x8D, 0xCA, 0x3B, 0xF8, 0xA8, 0x3C, 0xF8, + 0x7D, 0xBC, 0x0E, 0xA7, 0xF9, 0xD9, 0xAD, 0x81, + 0x31, 0x1B, 0xA3, 0x92, 0x9A, 0x0B, 0x14, 0xC6, + 0x9F, 0x43, 0x05, 0xF4, 0x44, 0x94, 0xBB, 0xB4, + 0x22, 0x85, 0xEF, 0x1A, 0x2D, 0x2C, 0x13, 0xAB, + 0xE9, 0x22, 0x52, 0xE3, 0xFB, 0x00, 0x65, 0x2C }, .len_bits = 48 << 3, }, .ciphertext = { .data = { - 0x91, 0x96, 0x28, 0xB4, 0x89, 0x74, 0xF6, 0x5E, - 0x98, 0x58, 0xA1, 0xD3, 0x0E, 0xE3, 0xFC, 0x39, - 0xDB, 0x36, 0xE4, 0x97, 0x74, 0x5B, 0x5E, 0xD4, - 0x1B, 0x8A, 0xC5, 0x9D, 0xDF, 0x96, 0x97, 0x5F, - 0x58, 0x4A, 0x75, 0x74, 0x27, 0x07, 0xF3, 0x7F, - 0xCE, 0x2C, 0x4A, 0x6C, 0xE5, 0x19, 0xE7, 0x8B, - 0xCB, 0x94, 0xD0, 0xAC + 0x08, 0x87, 0xB1, 0x72, 0xFE, 0x87, 0xD3, 0x96, + 0xC1, 0x98, 0xA4, 0xDE, 0x1F, 0x68, 0x05, 0xF6, + 0xBA, 0xF2, 0x5B, 0xF1, 0xE4, 0xA2, 0xA3, 0x15, + 0x62, 0x8F, 0xC5, 0xCF, 0x0C, 0xA1, 0x2D, 0xFB, + 0x09, 0xDE, 0x34, 0x96, 0x29, 0x25, 0x9C, 0x1F, + 0xBF, 0x70, 0x45, 0xD2, 0x9C, 0xD4, 0x33, 0xCA, + 0xD8, 0xCF, 0x6A, 0x8A }, .len_bits = 52 << 3, }, .digest_enc = { .data = { - 0xCB, 0x94, 0xD0, 0xAC + 0xD8, 0xCF, 0x6A, 0x8A }, .len = 4, .offset = 48, @@ -1297,8 +1297,8 @@ struct mixed_cipher_auth_test_data auth_aes_cmac_cipher_null_test_case_1 = { .auth_algo = RTE_CRYPTO_AUTH_AES_CMAC, .auth_key = { .data = { - 0x2B, 0x7E, 0x15, 0x16, 0x28, 0xAE, 0xD2, 0xA6, - 0xAB, 0xF7, 0x15, 0x88, 0x09, 0xCF, 0x4F, 0x3C + 0x9A, 0x4F, 0x56, 0x21, 0xA5, 0x11, 0xF4, 0xDD, + 0x98, 0xEC, 0x3D, 0xE2, 0x7E, 0x60, 0x00, 0x31 }, .len = 16, }, @@ -1314,8 +1314,8 @@ struct mixed_cipher_auth_test_data auth_aes_cmac_cipher_null_test_case_1 = { .cipher_algo = RTE_CRYPTO_CIPHER_NULL, .cipher_key = { .data = { - 0x2B, 0x7E, 0x15, 0x16, 0x28, 0xAE, 0xD2, 0xA6, - 0xAB, 0xF7, 0x15, 0x88, 0x09, 0xCF, 0x4F, 0x3C + 0x9C, 0xB3, 0x75, 0x5E, 0xAE, 0x1D, 0xFA, 0x6E, + 0x3C, 0x04, 0xCE, 0x84, 0xCD, 0xBC, 0x71, 0x68 }, .len = 16, }, @@ -1330,146 +1330,146 @@ struct mixed_cipher_auth_test_data auth_aes_cmac_cipher_null_test_case_1 = { }, .plaintext = { .data = { - 0x57, 0x68, 0x61, 0x74, 0x20, 0x61, 0x20, 0x6C, - 0x6F, 0x75, 0x73, 0x79, 0x20, 0x65, 0x61, 0x72, - 0x74, 0x68, 0x21, 0x20, 0x48, 0x65, 0x20, 0x77, - 0x6F, 0x6E, 0x64, 0x65, 0x72, 0x65, 0x64, 0x20, - 0x68, 0x6F, 0x77, 0x20, 0x6D, 0x61, 0x6E, 0x79, - 0x20, 0x70, 0x65, 0x6F, 0x70, 0x6C, 0x65, 0x20, - 0x77, 0x65, 0x72, 0x65, 0x20, 0x64, 0x65, 0x73, - 0x74, 0x69, 0x74, 0x75, 0x74, 0x65, 0x20, 0x74, - 0x68, 0x61, 0x74, 0x20, 0x73, 0x61, 0x6D, 0x65, - 0x20, 0x6E, 0x69, 0x67, 0x68, 0x74, 0x20, 0x65, - 0x76, 0x65, 0x6E, 0x20, 0x69, 0x6E, 0x20, 0x68, - 0x69, 0x73, 0x20, 0x6F, 0x77, 0x6E, 0x20, 0x70, - 0x72, 0x6F, 0x73, 0x70, 0x65, 0x72, 0x6F, 0x75, - 0x73, 0x20, 0x63, 0x6F, 0x75, 0x6E, 0x74, 0x72, - 0x79, 0x2C, 0x20, 0x68, 0x6F, 0x77, 0x20, 0x6D, - 0x61, 0x6E, 0x79, 0x20, 0x68, 0x6F, 0x6D, 0x65, - 0x73, 0x20, 0x77, 0x65, 0x72, 0x65, 0x20, 0x73, - 0x68, 0x61, 0x6E, 0x74, 0x69, 0x65, 0x73, 0x2C, - 0x20, 0x68, 0x6F, 0x77, 0x20, 0x6D, 0x61, 0x6E, - 0x79, 0x20, 0x68, 0x75, 0x73, 0x62, 0x61, 0x6E, - 0x64, 0x73, 0x20, 0x77, 0x65, 0x72, 0x65, 0x20, - 0x64, 0x72, 0x75, 0x6E, 0x6B, 0x20, 0x61, 0x6E, - 0x64, 0x20, 0x77, 0x69, 0x76, 0x65, 0x73, 0x20, - 0x73, 0x6F, 0x63, 0x6B, 0x65, 0x64, 0x2C, 0x20, - 0x61, 0x6E, 0x64, 0x20, 0x68, 0x6F, 0x77, 0x20, - 0x6D, 0x61, 0x6E, 0x79, 0x20, 0x63, 0x68, 0x69, - 0x6C, 0x64, 0x72, 0x65, 0x6E, 0x20, 0x77, 0x65, - 0x72, 0x65, 0x20, 0x62, 0x75, 0x6C, 0x6C, 0x69, - 0x65, 0x64, 0x2C, 0x20, 0x61, 0x62, 0x75, 0x73, - 0x65, 0x64, 0x2C, 0x20, 0x6F, 0x72, 0x20, 0x61, - 0x62, 0x61, 0x6E, 0x64, 0x6F, 0x6E, 0x65, 0x64, - 0x2E, 0x20, 0x48, 0x6F, 0x77, 0x20, 0x6D, 0x61, - 0x6E, 0x79, 0x20, 0x66, 0x61, 0x6D, 0x69, 0x6C, - 0x69, 0x65, 0x73, 0x20, 0x68, 0x75, 0x6E, 0x67, - 0x65, 0x72, 0x65, 0x64, 0x20, 0x66, 0x6F, 0x72, - 0x20, 0x66, 0x6F, 0x6F, 0x64, 0x20, 0x74, 0x68, - 0x65, 0x79, 0x20, 0x63, 0x6F, 0x75, 0x6C, 0x64, - 0x20, 0x6E, 0x6F, 0x74, 0x20, 0x61, 0x66, 0x66, - 0x6F, 0x72, 0x64, 0x20, 0x74, 0x6F, 0x20, 0x62, - 0x75, 0x79, 0x3F, 0x20, 0x48, 0x6F, 0x77, 0x20, - 0x6D, 0x61, 0x6E, 0x79, 0x20, 0x68, 0x65, 0x61, - 0x72, 0x74, 0x73, 0x20, 0x77, 0x65, 0x72, 0x65, - 0x20, 0x62, 0x72, 0x6F, 0x6B, 0x65, 0x6E, 0x3F, - 0x20, 0x48, 0x6F, 0x77, 0x20, 0x6D, 0x61, 0x6E, - 0x79, 0x20, 0x73, 0x75, 0x69, 0x63, 0x69, 0x64, - 0x65, 0x73, 0x20, 0x77, 0x6F, 0x75, 0x6C, 0x64, - 0x20, 0x74, 0x61, 0x6B, 0x65, 0x20, 0x70, 0x6C, - 0x61, 0x63, 0x65, 0x20, 0x74, 0x68, 0x61, 0x74, - 0x20, 0x73, 0x61, 0x6D, 0x65, 0x20, 0x6E, 0x69, - 0x67, 0x68, 0x74, 0x2C, 0x20, 0x68, 0x6F, 0x77, - 0x20, 0x6D, 0x61, 0x6E, 0x79, 0x20, 0x70, 0x65, - 0x6F, 0x70, 0x6C, 0x65, 0x20, 0x77, 0x6F, 0x75, - 0x6C, 0x64, 0x20, 0x67, 0x6F, 0x20, 0x69, 0x6E, - 0x73, 0x61, 0x6E, 0x65, 0x3F, 0x20, 0x48, 0x6F, - 0x77, 0x20, 0x6D, 0x61, 0x6E, 0x79, 0x20, 0x63, - 0x6F, 0x63, 0x6B, 0x72, 0x6F, 0x61, 0x63, 0x68, - 0x65, 0x73, 0x20, 0x61, 0x6E, 0x64, 0x20, 0x6C, - 0x61, 0x6E, 0x64, 0x6C, 0x6F, 0x72, 0x64, 0x73, - 0x20, 0x77, 0x6F, 0x75, 0x6C, 0x64, 0x20, 0x74, - 0x72, 0x69, 0x75, 0x6D, 0x70, 0x68, 0x3F, 0x20, - 0x48, 0x6F, 0x77, 0x20, 0x6D, 0x61, 0x6E, 0x79, - 0x20, 0x77, 0x69, 0x6E, 0x6E, 0x65, 0x72, 0x73, - 0x20, 0x77, 0x65, 0x72, 0x65, 0x20, 0x6C, 0x6F, - 0x73, 0x65, 0x72, 0x73, 0x2C, 0x20, 0x73, 0x75 + 0x43, 0x11, 0xE2, 0x86, 0x51, 0x7A, 0x2A, 0xC2, + 0x32, 0x1C, 0x6C, 0x1D, 0x82, 0xE7, 0x52, 0x5F, + 0xEF, 0x28, 0xD8, 0x86, 0x78, 0x30, 0xAA, 0x97, + 0xC6, 0xE7, 0xDF, 0x3D, 0x6E, 0x17, 0xD4, 0xB2, + 0x28, 0xB7, 0x39, 0x7A, 0x31, 0x63, 0x3D, 0x64, + 0x7F, 0xA9, 0x81, 0x02, 0x90, 0xD4, 0x62, 0x80, + 0xFC, 0x3A, 0x06, 0x75, 0x6B, 0xB1, 0x0C, 0x31, + 0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0x58, + 0xAB, 0xBE, 0xD8, 0xD2, 0xB5, 0x91, 0x69, 0xED, + 0xF6, 0x68, 0xEC, 0xCE, 0xD5, 0x19, 0x29, 0x6B, + 0x4E, 0xC0, 0x69, 0xC0, 0x79, 0xFF, 0x39, 0xBA, + 0x12, 0x46, 0x96, 0xFC, 0x0D, 0x31, 0x55, 0xB9, + 0xF0, 0x2D, 0x8B, 0xA6, 0xBF, 0xF4, 0x93, 0xB6, + 0x5C, 0x80, 0x85, 0x31, 0x99, 0xAE, 0x9D, 0xE8, + 0x6F, 0x07, 0xA8, 0xE8, 0x06, 0xE2, 0xA2, 0x19, + 0x29, 0x39, 0x16, 0x36, 0x6A, 0x6B, 0xEF, 0x5B, + 0x99, 0x7A, 0x01, 0x59, 0x6F, 0x95, 0x10, 0xCB, + 0x16, 0x95, 0xFD, 0xAF, 0x43, 0x9A, 0x98, 0xB3, + 0xA1, 0x41, 0x9B, 0xA8, 0x23, 0x3E, 0xC2, 0x4C, + 0x78, 0xD8, 0x83, 0xE3, 0x44, 0x72, 0x3E, 0xDE }, .len_bits = 512 << 3, }, .ciphertext = { .data = { - 0x57, 0x68, 0x61, 0x74, 0x20, 0x61, 0x20, 0x6C, - 0x6F, 0x75, 0x73, 0x79, 0x20, 0x65, 0x61, 0x72, - 0x74, 0x68, 0x21, 0x20, 0x48, 0x65, 0x20, 0x77, - 0x6F, 0x6E, 0x64, 0x65, 0x72, 0x65, 0x64, 0x20, - 0x68, 0x6F, 0x77, 0x20, 0x6D, 0x61, 0x6E, 0x79, - 0x20, 0x70, 0x65, 0x6F, 0x70, 0x6C, 0x65, 0x20, - 0x77, 0x65, 0x72, 0x65, 0x20, 0x64, 0x65, 0x73, - 0x74, 0x69, 0x74, 0x75, 0x74, 0x65, 0x20, 0x74, - 0x68, 0x61, 0x74, 0x20, 0x73, 0x61, 0x6D, 0x65, - 0x20, 0x6E, 0x69, 0x67, 0x68, 0x74, 0x20, 0x65, - 0x76, 0x65, 0x6E, 0x20, 0x69, 0x6E, 0x20, 0x68, - 0x69, 0x73, 0x20, 0x6F, 0x77, 0x6E, 0x20, 0x70, - 0x72, 0x6F, 0x73, 0x70, 0x65, 0x72, 0x6F, 0x75, - 0x73, 0x20, 0x63, 0x6F, 0x75, 0x6E, 0x74, 0x72, - 0x79, 0x2C, 0x20, 0x68, 0x6F, 0x77, 0x20, 0x6D, - 0x61, 0x6E, 0x79, 0x20, 0x68, 0x6F, 0x6D, 0x65, - 0x73, 0x20, 0x77, 0x65, 0x72, 0x65, 0x20, 0x73, - 0x68, 0x61, 0x6E, 0x74, 0x69, 0x65, 0x73, 0x2C, - 0x20, 0x68, 0x6F, 0x77, 0x20, 0x6D, 0x61, 0x6E, - 0x79, 0x20, 0x68, 0x75, 0x73, 0x62, 0x61, 0x6E, - 0x64, 0x73, 0x20, 0x77, 0x65, 0x72, 0x65, 0x20, - 0x64, 0x72, 0x75, 0x6E, 0x6B, 0x20, 0x61, 0x6E, - 0x64, 0x20, 0x77, 0x69, 0x76, 0x65, 0x73, 0x20, - 0x73, 0x6F, 0x63, 0x6B, 0x65, 0x64, 0x2C, 0x20, - 0x61, 0x6E, 0x64, 0x20, 0x68, 0x6F, 0x77, 0x20, - 0x6D, 0x61, 0x6E, 0x79, 0x20, 0x63, 0x68, 0x69, - 0x6C, 0x64, 0x72, 0x65, 0x6E, 0x20, 0x77, 0x65, - 0x72, 0x65, 0x20, 0x62, 0x75, 0x6C, 0x6C, 0x69, - 0x65, 0x64, 0x2C, 0x20, 0x61, 0x62, 0x75, 0x73, - 0x65, 0x64, 0x2C, 0x20, 0x6F, 0x72, 0x20, 0x61, - 0x62, 0x61, 0x6E, 0x64, 0x6F, 0x6E, 0x65, 0x64, - 0x2E, 0x20, 0x48, 0x6F, 0x77, 0x20, 0x6D, 0x61, - 0x6E, 0x79, 0x20, 0x66, 0x61, 0x6D, 0x69, 0x6C, - 0x69, 0x65, 0x73, 0x20, 0x68, 0x75, 0x6E, 0x67, - 0x65, 0x72, 0x65, 0x64, 0x20, 0x66, 0x6F, 0x72, - 0x20, 0x66, 0x6F, 0x6F, 0x64, 0x20, 0x74, 0x68, - 0x65, 0x79, 0x20, 0x63, 0x6F, 0x75, 0x6C, 0x64, - 0x20, 0x6E, 0x6F, 0x74, 0x20, 0x61, 0x66, 0x66, - 0x6F, 0x72, 0x64, 0x20, 0x74, 0x6F, 0x20, 0x62, - 0x75, 0x79, 0x3F, 0x20, 0x48, 0x6F, 0x77, 0x20, - 0x6D, 0x61, 0x6E, 0x79, 0x20, 0x68, 0x65, 0x61, - 0x72, 0x74, 0x73, 0x20, 0x77, 0x65, 0x72, 0x65, - 0x20, 0x62, 0x72, 0x6F, 0x6B, 0x65, 0x6E, 0x3F, - 0x20, 0x48, 0x6F, 0x77, 0x20, 0x6D, 0x61, 0x6E, - 0x79, 0x20, 0x73, 0x75, 0x69, 0x63, 0x69, 0x64, - 0x65, 0x73, 0x20, 0x77, 0x6F, 0x75, 0x6C, 0x64, - 0x20, 0x74, 0x61, 0x6B, 0x65, 0x20, 0x70, 0x6C, - 0x61, 0x63, 0x65, 0x20, 0x74, 0x68, 0x61, 0x74, - 0x20, 0x73, 0x61, 0x6D, 0x65, 0x20, 0x6E, 0x69, - 0x67, 0x68, 0x74, 0x2C, 0x20, 0x68, 0x6F, 0x77, - 0x20, 0x6D, 0x61, 0x6E, 0x79, 0x20, 0x70, 0x65, - 0x6F, 0x70, 0x6C, 0x65, 0x20, 0x77, 0x6F, 0x75, - 0x6C, 0x64, 0x20, 0x67, 0x6F, 0x20, 0x69, 0x6E, - 0x73, 0x61, 0x6E, 0x65, 0x3F, 0x20, 0x48, 0x6F, - 0x77, 0x20, 0x6D, 0x61, 0x6E, 0x79, 0x20, 0x63, - 0x6F, 0x63, 0x6B, 0x72, 0x6F, 0x61, 0x63, 0x68, - 0x65, 0x73, 0x20, 0x61, 0x6E, 0x64, 0x20, 0x6C, - 0x61, 0x6E, 0x64, 0x6C, 0x6F, 0x72, 0x64, 0x73, - 0x20, 0x77, 0x6F, 0x75, 0x6C, 0x64, 0x20, 0x74, - 0x72, 0x69, 0x75, 0x6D, 0x70, 0x68, 0x3F, 0x20, - 0x48, 0x6F, 0x77, 0x20, 0x6D, 0x61, 0x6E, 0x79, - 0x20, 0x77, 0x69, 0x6E, 0x6E, 0x65, 0x72, 0x73, - 0x20, 0x77, 0x65, 0x72, 0x65, 0x20, 0x6C, 0x6F, - 0x73, 0x65, 0x72, 0x73, 0x2C, 0x20, 0x73, 0x75, - 0x4C, 0x77, 0x87, 0xA0 + 0x43, 0x11, 0xE2, 0x86, 0x51, 0x7A, 0x2A, 0xC2, + 0x32, 0x1C, 0x6C, 0x1D, 0x82, 0xE7, 0x52, 0x5F, + 0xEF, 0x28, 0xD8, 0x86, 0x78, 0x30, 0xAA, 0x97, + 0xC6, 0xE7, 0xDF, 0x3D, 0x6E, 0x17, 0xD4, 0xB2, + 0x28, 0xB7, 0x39, 0x7A, 0x31, 0x63, 0x3D, 0x64, + 0x7F, 0xA9, 0x81, 0x02, 0x90, 0xD4, 0x62, 0x80, + 0xFC, 0x3A, 0x06, 0x75, 0x6B, 0xB1, 0x0C, 0x31, + 0x99, 0xEC, 0x6F, 0x08, 0x03, 0x43, 0xBB, 0x2C, + 0xFB, 0xF4, 0xA7, 0x2D, 0x58, 0xE4, 0x92, 0xD8, + 0x8D, 0x13, 0xDA, 0x1E, 0xE7, 0x3D, 0x9F, 0xE4, + 0x77, 0xA6, 0x59, 0xE2, 0x57, 0x66, 0x14, 0xF1, + 0x52, 0x83, 0xFA, 0x56, 0xC7, 0xB5, 0x83, 0xC2, + 0xAA, 0x2A, 0xF0, 0x02, 0x0E, 0x82, 0xDA, 0x9C, + 0x95, 0xB5, 0xBB, 0x7D, 0xF2, 0x5A, 0x61, 0x6A, + 0x00, 0xBB, 0x4C, 0x58, 0x21, 0x60, 0x4A, 0x74, + 0xE4, 0x44, 0xCB, 0xAB, 0xFA, 0x4F, 0x6E, 0xA4, + 0x79, 0x5E, 0xA7, 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 0x82, 0x56, + 0x2C, 0xF3, 0x99, 0x81, 0xB2, 0xC0, 0xAC, 0x78, + 0x97, 0x0E, 0x3A, 0x07, 0x44, 0x7A, 0x15, 0x6C, + 0x28, 0x2E, 0x6E, 0x71, 0xF7, 0x86, 0xC6, 0x06, + 0x65, 0x11, 0xBB, 0xDC, 0xB8, 0x3D, 0x32, 0xE5, + 0x31, 0xCC, 0x66, 0xE3, 0x8C, 0x13, 0x5B, 0x24, + 0x21, 0x96, 0x2B, 0x66, 0x11, 0x41, 0xD2, 0x3A, + 0x70, 0x41, 0xAB, 0x68, 0xC7, 0x72, 0x6E, 0x2D, + 0x83, 0x29, 0x09, 0x3B, 0x67, 0x3B, 0x21, 0x98, + 0x07, 0x88, 0x7C, 0x94, 0x9C, 0xD7, 0xB9, 0xBD, + 0x6E, 0xE4, 0x24, 0x7F, 0x26, 0xF6, 0xB9, 0x96, + 0x37, 0x65, 0xFF, 0xFF, 0xD7, 0x6D, 0x2C, 0x5B, + 0x96, 0x35, 0x97, 0xFD, 0x71, 0xB8, 0x96, 0x79, + 0x40, 0x12, 0x0D, 0xDC, 0xEA, 0xC6, 0x9A, 0x58, + 0xAB, 0xBE, 0xD8, 0xD2, 0xB5, 0x91, 0x69, 0xED, + 0xF6, 0x68, 0xEC, 0xCE, 0xD5, 0x19, 0x29, 0x6B, + 0x4E, 0xC0, 0x69, 0xC0, 0x79, 0xFF, 0x39, 0xBA, + 0x12, 0x46, 0x96, 0xFC, 0x0D, 0x31, 0x55, 0xB9, + 0xF0, 0x2D, 0x8B, 0xA6, 0xBF, 0xF4, 0x93, 0xB6, + 0x5C, 0x80, 0x85, 0x31, 0x99, 0xAE, 0x9D, 0xE8, + 0x6F, 0x07, 0xA8, 0xE8, 0x06, 0xE2, 0xA2, 0x19, + 0x29, 0x39, 0x16, 0x36, 0x6A, 0x6B, 0xEF, 0x5B, + 0x99, 0x7A, 0x01, 0x59, 0x6F, 0x95, 0x10, 0xCB, + 0x16, 0x95, 0xFD, 0xAF, 0x43, 0x9A, 0x98, 0xB3, + 0xA1, 0x41, 0x9B, 0xA8, 0x23, 0x3E, 0xC2, 0x4C, + 0x78, 0xD8, 0x83, 0xE3, 0x44, 0x72, 0x3E, 0xDE, + 0xAC, 0xB7, 0x81, 0x58 }, .len_bits = 516 << 3, }, .digest_enc = { .data = { - 0x4C, 0x77, 0x87, 0xA0 + 0xAC, 0xB7, 0x81, 0x58 }, .len = 4, .offset = 512, diff --git a/app/test/test_cryptodev_snow3g_hash_test_vectors.h b/app/test/test_cryptodev_snow3g_hash_test_vectors.h index e9fb2147b..a91ce264a 100644 --- a/app/test/test_cryptodev_snow3g_hash_test_vectors.h +++ b/app/test/test_cryptodev_snow3g_hash_test_vectors.h @@ -1,5 +1,5 @@ /* SPDX-License-Identifier: BSD-3-Clause - * Copyright(c) 2016-2017 Intel Corporation + * Copyright(c) 2016-2020 Intel Corporation */ #ifndef TEST_CRYPTODEV_SNOW3G_HASH_TEST_VECTORS_H_ @@ -34,26 +34,26 @@ struct snow3g_hash_test_data { struct snow3g_hash_test_data snow3g_hash_test_case_1 = { .key = { .data = { - 0xC7, 0x36, 0xC6, 0xAA, 0xB2, 0x2B, 0xFF, 0xF9, - 0x1E, 0x26, 0x98, 0xD2, 0xE2, 0x2A, 0xD5, 0x7E + 0x20, 0x9E, 0x9A, 0xA2, 0x98, 0x89, 0xE9, 0x2C, + 0x47, 0xAA, 0xD6, 0x14, 0x94, 0x3D, 0x79, 0xC3 }, .len = 16 }, .auth_iv = { .data = { - 0x14, 0x79, 0x3E, 0x41, 0x03, 0x97, 0xE8, 0xFD, - 0x94, 0x79, 0x3E, 0x41, 0x03, 0x97, 0x68, 0xFD + 0x7E, 0xEC, 0x06, 0xB1, 0x91, 0xCD, 0xCC, 0x89, + 0xB8, 0x58, 0xE9, 0x60, 0x4A, 0xA7, 0xE7, 0x71 }, .len = 16 }, .plaintext = { .data = { - 0xD0, 0xA7, 0xD4, 0x63, 0xDF, 0x9F, 0xB2, 0xB2, - 0x78, 0x83, 0x3F, 0xA0, 0x2E, 0x23, 0x5A, 0xA1, - 0x72, 0xBD, 0x97, 0x0C, 0x14, 0x73, 0xE1, 0x29, - 0x07, 0xFB, 0x64, 0x8B, 0x65, 0x99, 0xAA, 0xA0, - 0xB2, 0x4A, 0x03, 0x86, 0x65, 0x42, 0x2B, 0x20, - 0xA4, 0x99, 0x27, 0x6A, 0x50, 0x42, 0x70, 0x09 + 0x03, 0x18, 0x60, 0x69, 0xAD, 0xEF, 0xDF, 0x39, + 0x22, 0x1D, 0x1B, 0xC5, 0xB6, 0x3B, 0xB9, 0x95, + 0x55, 0x34, 0x78, 0xBB, 0xA1, 0x5B, 0x20, 0xD6, + 0x71, 0x17, 0x19, 0xD1, 0x2C, 0x00, 0x9B, 0x30, + 0x18, 0xFB, 0x99, 0xC6, 0xEB, 0x79, 0xFF, 0x0D, + 0x97, 0x1A, 0xD2, 0x4D, 0x56, 0x8B, 0xE3, 0xAB }, .len = 384 }, @@ -61,7 +61,7 @@ struct snow3g_hash_test_data snow3g_hash_test_case_1 = { .len = 384 }, .digest = { - .data = {0x38, 0xB5, 0x54, 0xC0 }, + .data = {0x79, 0x9D, 0xA2, 0xF3}, .len = 4 } }; @@ -69,36 +69,36 @@ struct snow3g_hash_test_data snow3g_hash_test_case_1 = { struct snow3g_hash_test_data snow3g_hash_test_case_2 = { .key = { .data = { - 0xF4, 0xEB, 0xEC, 0x69, 0xE7, 0x3E, 0xAF, 0x2E, - 0xB2, 0xCF, 0x6A, 0xF4, 0xB3, 0x12, 0x0F, 0xFD + 0xAC, 0xF7, 0x4F, 0x93, 0x52, 0x4E, 0x11, 0x10, + 0x9B, 0xB8, 0xBB, 0xE0, 0xEE, 0xE8, 0x1E, 0x10 }, .len = 16 }, .auth_iv = { .data = { - 0x29, 0x6F, 0x39, 0x3C, 0x6B, 0x22, 0x77, 0x37, - 0xA9, 0x6F, 0x39, 0x3C, 0x6B, 0x22, 0xF7, 0x37 + 0xD3, 0xF2, 0xA1, 0xFF, 0x6D, 0x22, 0x3D, 0xD6, + 0xF1, 0x3B, 0x4B, 0x5A, 0xD8, 0xB9, 0x12, 0x54 }, .len = 16 }, .plaintext = { .data = { - 0x10, 0xBF, 0xFF, 0x83, 0x9E, 0x0C, 0x71, 0x65, - 0x8D, 0xBB, 0x2D, 0x17, 0x07, 0xE1, 0x45, 0x72, - 0x4F, 0x41, 0xC1, 0x6F, 0x48, 0xBF, 0x40, 0x3C, - 0x3B, 0x18, 0xE3, 0x8F, 0xD5, 0xD1, 0x66, 0x3B, - 0x6F, 0x6D, 0x90, 0x01, 0x93, 0xE3, 0xCE, 0xA8, - 0xBB, 0x4F, 0x1B, 0x4F, 0x5B, 0xE8, 0x22, 0x03, - 0x22, 0x32, 0xA7, 0x8D, 0x7D, 0x75, 0x23, 0x8D, - 0x5E, 0x6D, 0xAE, 0xCD, 0x3B, 0x43, 0x22, 0xCF, - 0x59, 0xBC, 0x7E, 0xA8, 0x4A, 0xB1, 0x88, 0x11, - 0xB5, 0xBF, 0xB7, 0xBC, 0x55, 0x3F, 0x4F, 0xE4, - 0x44, 0x78, 0xCE, 0x28, 0x7A, 0x14, 0x87, 0x99, - 0x90, 0xD1, 0x8D, 0x12, 0xCA, 0x79, 0xD2, 0xC8, - 0x55, 0x14, 0x90, 0x21, 0xCD, 0x5C, 0xE8, 0xCA, - 0x03, 0x71, 0xCA, 0x04, 0xFC, 0xCE, 0x14, 0x3E, - 0x3D, 0x7C, 0xFE, 0xE9, 0x45, 0x85, 0xB5, 0x88, - 0x5C, 0xAC, 0x46, 0x06, 0x8B + 0xC6, 0xE1, 0x92, 0x41, 0x3C, 0x9A, 0xBB, 0x24, + 0x6F, 0x3F, 0xF4, 0x42, 0x0F, 0x26, 0xE9, 0x17, + 0x8E, 0xFB, 0x9F, 0xB9, 0x4E, 0x1E, 0x22, 0x10, + 0xF1, 0xD4, 0x5B, 0x0E, 0x1A, 0x9C, 0xE7, 0xE1, + 0x7D, 0x7A, 0x22, 0xBA, 0x15, 0xDE, 0xDE, 0x84, + 0x1E, 0xD3, 0xC6, 0x2D, 0xF9, 0xB0, 0x45, 0x87, + 0xAB, 0xE4, 0x40, 0xF9, 0x02, 0x63, 0x0A, 0xF4, + 0x37, 0x66, 0x03, 0x52, 0x02, 0xEB, 0x34, 0x80, + 0x65, 0x56, 0x3A, 0x7A, 0x34, 0x19, 0xFF, 0x52, + 0xEC, 0xC6, 0x80, 0xE6, 0x76, 0xC5, 0x6E, 0x22, + 0xAA, 0xAE, 0x1B, 0xAD, 0x12, 0x25, 0xA2, 0x4A, + 0x8B, 0xA5, 0x9D, 0x8E, 0x90, 0xD1, 0x0F, 0xF6, + 0x27, 0x49, 0x71, 0x5C, 0x63, 0x71, 0xAF, 0x50, + 0x37, 0x2F, 0x36, 0xAE, 0xF5, 0xA4, 0xD0, 0xA0, + 0x53, 0xEB, 0x4D, 0x65, 0x11, 0xEF, 0xAF, 0x9D, + 0x95, 0x4C, 0x2C, 0x26, 0x1E }, .len = 1000 }, @@ -106,7 +106,7 @@ struct snow3g_hash_test_data snow3g_hash_test_case_2 = { .len = 1000 }, .digest = { - .data = {0x06, 0x17, 0x45, 0xAE}, + .data = {0x99, 0x96, 0x4B, 0x52}, .len = 4 } }; @@ -114,277 +114,277 @@ struct snow3g_hash_test_data snow3g_hash_test_case_2 = { struct snow3g_hash_test_data snow3g_hash_test_case_3 = { .key = { .data = { - 0xB3, 0x12, 0x0F, 0xFD, 0xB2, 0xCF, 0x6A, 0xF4, - 0xE7, 0x3E, 0xAF, 0x2E, 0xF4, 0xEB, 0xEC, 0x69 + 0x38, 0xED, 0xE7, 0xC8, 0x83, 0x09, 0xB5, 0x64, + 0xCC, 0x2F, 0x11, 0x0B, 0xFB, 0x39, 0x53, 0x28 }, .len = 16 }, .auth_iv = { .data = { - 0x29, 0x6F, 0x39, 0x3C, 0x6B, 0x22, 0x77, 0x37, - 0xA9, 0x6F, 0x39, 0x3C, 0x6B, 0x22, 0xF7, 0x37 + 0x5E, 0x67, 0xB8, 0xB2, 0x9E, 0xDC, 0xDF, 0xA9, + 0xA1, 0xB0, 0x1F, 0x03, 0xE2, 0x08, 0xC5, 0xE8 }, .len = 16 }, .plaintext = { .data = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, - 0xE0, 0x95, 0x80, 0x45, 0xF3, 0xA0, 0xBB, 0xA4, - 0xE3, 0x96, 0x83, 0x46, 0xF0, 0xA3, 0xB8, 0xA7, - 0xC0, 0x2A, 0x01, 0x8A, 0xE6, 0x40, 0x76, 0x52, - 0x26, 0xB9, 0x87, 0xC9, 0x13, 0xE6, 0xCB, 0xF0, - 0x83, 0x57, 0x00, 0x16, 0xCF, 0x83, 0xEF, 0xBC, - 0x61, 0xC0, 0x82, 0x51, 0x3E, 0x21, 0x56, 0x1A, - 0x42, 0x7C, 0x00, 0x9D, 0x28, 0xC2, 0x98, 0xEF, - 0xAC, 0xE7, 0x8E, 0xD6, 0xD5, 0x6C, 0x2D, 0x45, - 0x05, 0xAD, 0x03, 0x2E, 0x9C, 0x04, 0xDC, 0x60, - 0xE7, 0x3A, 0x81, 0x69, 0x6D, 0xA6, 0x65, 0xC6, - 0xC4, 0x86, 0x03, 0xA5, 0x7B, 0x45, 0xAB, 0x33, - 0x22, 0x15, 0x85, 0xE6, 0x8E, 0xE3, 0x16, 0x91, - 0x87, 0xFB, 0x02, 0x39, 0x52, 0x86, 0x32, 0xDD, - 0x65, 0x6C, 0x80, 0x7E, 0xA3, 0x24, 0x8B, 0x7B, - 0x46, 0xD0, 0x02, 0xB2, 0xB5, 0xC7, 0x45, 0x8E, - 0xB8, 0x5B, 0x9C, 0xE9, 0x58, 0x79, 0xE0, 0x34, - 0x08, 0x59, 0x05, 0x5E, 0x3B, 0x0A, 0xBB, 0xC3, - 0xEA, 0xCE, 0x87, 0x19, 0xCA, 0xA8, 0x02, 0x65, - 0xC9, 0x72, 0x05, 0xD5, 0xDC, 0x4B, 0xCC, 0x90, - 0x2F, 0xE1, 0x83, 0x96, 0x29, 0xED, 0x71, 0x32, - 0x8A, 0x0F, 0x04, 0x49, 0xF5, 0x88, 0x55, 0x7E, - 0x68, 0x98, 0x86, 0x0E, 0x04, 0x2A, 0xEC, 0xD8, - 0x4B, 0x24, 0x04, 0xC2, 0x12, 0xC9, 0x22, 0x2D, - 0xA5, 0xBF, 0x8A, 0x89, 0xEF, 0x67, 0x97, 0x87, - 0x0C, 0xF5, 0x07, 0x71, 0xA6, 0x0F, 0x66, 0xA2, - 0xEE, 0x62, 0x85, 0x36, 0x57, 0xAD, 0xDF, 0x04, - 0xCD, 0xDE, 0x07, 0xFA, 0x41, 0x4E, 0x11, 0xF1, - 0x2B, 0x4D, 0x81, 0xB9, 0xB4, 0xE8, 0xAC, 0x53, - 0x8E, 0xA3, 0x06, 0x66, 0x68, 0x8D, 0x88, 0x1F, - 0x6C, 0x34, 0x84, 0x21, 0x99, 0x2F, 0x31, 0xB9, - 0x4F, 0x88, 0x06, 0xED, 0x8F, 0xCC, 0xFF, 0x4C, - 0x91, 0x23, 0xB8, 0x96, 0x42, 0x52, 0x7A, 0xD6, - 0x13, 0xB1, 0x09, 0xBF, 0x75, 0x16, 0x74, 0x85, - 0xF1, 0x26, 0x8B, 0xF8, 0x84, 0xB4, 0xCD, 0x23, - 0xD2, 0x9A, 0x09, 0x34, 0x92, 0x57, 0x03, 0xD6, - 0x34, 0x09, 0x8F, 0x77, 0x67, 0xF1, 0xBE, 0x74, - 0x91, 0xE7, 0x08, 0xA8, 0xBB, 0x94, 0x9A, 0x38, - 0x73, 0x70, 0x8A, 0xEF, 0x4A, 0x36, 0x23, 0x9E, - 0x50, 0xCC, 0x08, 0x23, 0x5C, 0xD5, 0xED, 0x6B, - 0xBE, 0x57, 0x86, 0x68, 0xA1, 0x7B, 0x58, 0xC1, - 0x17, 0x1D, 0x0B, 0x90, 0xE8, 0x13, 0xA9, 0xE4, -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0xF0, 0x68, 0x76, 0x05, 0x4F, 0x12, - 0x24, 0x61, 0x10, 0x7D, 0xE9, 0x2F, 0xEA, 0x09, - 0xC6, 0xF6, 0x92, 0x3A, 0x18, 0x8D, 0x53, 0xAF, - 0xE5, 0x4A, 0x10, 0xF6, 0x0E, 0x6E, 0x9D, 0x5A, - 0x03, 0xD9, 0x96, 0xB5, 0xFB, 0xC8, 0x20, 0xF8, - 0xA6, 0x37, 0x11, 0x6A, 0x27, 0xAD, 0x04, 0xB4, - 0x44, 0xA0, 0x93, 0x2D, 0xD6, 0x0F, 0xBD, 0x12, - 0x67, 0x1C, 0x11, 0xE1, 0xC0, 0xEC, 0x73, 0xE7, - 0x89, 0x87, 0x9F, 0xAA, 0x3D, 0x42, 0xC6, 0x4D, - 0x20, 0xCD, 0x12, 0x52, 0x74, 0x2A, 0x37, 0x68, - 0xC2, 0x5A, 0x90, 0x15, 0x85, 0x88, 0x8E, 0xCE, - 0xE1, 0xE6, 0x12, 0xD9, 0x93, 0x6B, 0x40, 0x3B, - 0x07, 0x75, 0x94, 0x9A, 0x66, 0xCD, 0xFD, 0x99, - 0xA2, 0x9B, 0x13, 0x45, 0xBA, 0xA8, 0xD9, 0xD5, - 0x40, 0x0C, 0x91, 0x02, 0x4B, 0x0A, 0x60, 0x73, - 0x63, 0xB0, 0x13, 0xCE, 0x5D, 0xE9, 0xAE, 0x86, - 0x9D, 0x3B, 0x8D, 0x95, 0xB0, 0x57, 0x0B, 0x3C, - 0x2D, 0x39, 0x14, 0x22, 0xD3, 0x24, 0x50, 0xCB, - 0xCF, 0xAE, 0x96, 0x65, 0x22, 0x86, 0xE9, 0x6D, - 0xEC, 0x12, 0x14, 0xA9, 0x34, 0x65, 0x27, 0x98, - 0x0A, 0x81, 0x92, 0xEA, 0xC1, 0xC3, 0x9A, 0x3A, - 0xAF, 0x6F, 0x15, 0x35, 0x1D, 0xA6, 0xBE, 0x76, - 0x4D, 0xF8, 0x97, 0x72, 0xEC, 0x04, 0x07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0xFF, 0xF7, 0xEC, 0x69, 0xBA, + 0x48, 0x0E, 0x64, 0x6E, 0x3E, 0x25, 0x66, 0xA6, + 0x82, 0xBD, 0x4C, 0xF7, 0x6B, 0x08, 0xF5, 0x1F, + 0x35, 0x29, 0x2B, 0x3B, 0x61, 0x93, 0x8D, 0x90, + 0x96, 0x01, 0x8F, 0x8E, 0xED, 0xF9, 0x48, 0x36, + 0x07, 0xAD, 0xA5, 0x46, 0xD2, 0x0B, 0xED, 0x55, + 0xC8, 0x39, 0x4C, 0x33, 0x41, 0x41, 0x52, 0x77, + 0x6B, 0x7E, 0xB2, 0xCD, 0x11, 0x40, 0x5D, 0xA8, + 0x41, 0xED, 0x36, 0x2F, 0xE6, 0x7F, 0x66, 0xEE, + 0x2C, 0x0B, 0x34, 0xFE, 0x17, 0x22, 0x53, 0xDF, + 0x5B, 0xA0, 0x13, 0x9D, 0xE2, 0x66, 0x14, 0x4D, + 0xE5, 0xC7, 0x1B, 0xF7, 0x07, 0x78, 0x9F, 0x49, + 0x65, 0xD5, 0x79, 0x4C, 0x54, 0xE0, 0x3B, 0x81, + 0xEB, 0x70, 0x7F, 0x02, 0x92, 0xD3, 0xE2, 0xED, + 0x73, 0xF6, 0x8B, 0x56, 0x5D, 0xA0, 0xA4, 0x42, + 0x67, 0xBF, 0x39, 0x6F, 0x38, 0xD9, 0xB9, 0x9E, + 0xAF, 0x33, 0xEA, 0x03, 0x13, 0x25, 0x85, 0xFE, + 0x95, 0x04, 0x01, 0x28, 0xD8, 0xE4, 0x15, 0x4C, + 0xDB, 0xA1, 0xA2, 0x38, 0x41, 0x46, 0x7B, 0xA9, + 0x06, 0xB5, 0x19, 0x3E, 0x8E, 0xD2, 0xDC, 0x3D, + 0x05, 0xC7, 0x41, 0x18, 0xED, 0xC6, 0x17, 0x83, + 0xCB, 0x19, 0xAB, 0xA3, 0xFD, 0xC0, 0xEF, 0xD8, + 0x62, 0x92, 0x11, 0xA3, 0xD9, 0x8C, 0x4D, 0xDF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3, 0xD2, 0xD1, 0xF5, 0xF0, + 0x07, 0xF4, 0x18, 0x7C, 0x17, 0x85, 0x4E, 0x44, + 0x8A, 0x9F, 0xFA, 0xE2, 0x5D, 0x1F, 0x79, 0xA5, + 0x4B, 0x28, 0x90, 0x6B, 0x72, 0x9F, 0x40, 0x5B, + 0x56, 0xC2, 0x2E, 0x29, 0x94, 0x24, 0x19, 0x9C, + 0x18, 0x31, 0x18, 0x30, 0xB7, 0x67, 0x74, 0x42, + 0x06, 0x6F, 0x25, 0x63, 0x8F, 0x9E, 0x09, 0xDA, + 0xC6, 0x99, 0x45, 0x39, 0x38, 0x86, 0x94, 0x8F, + 0x49, 0xC3, 0xB8, 0xDD, 0xE7, 0xD1, 0x79, 0x00, + 0x03, 0x92, 0x30, 0xBB, 0xF9, 0xA5, 0xFD, 0xFF, + 0x14, 0x23, 0x63, 0xA3, 0xC1, 0x6C, 0x7E, 0x88, + 0x05, 0xC3, 0xC2, 0x3E, 0x4A, 0x56, 0xCD, 0x93, + 0x1A, 0x86, 0x71, 0x02, 0x57, 0xEA, 0x02, 0x5B, + 0x7C, 0x33, 0x16, 0x76, 0xD8, 0x14, 0x75, 0xEC, + 0x37, 0xD8, 0x90, 0xF9, 0x45, 0x0E, 0x81, 0x4B, + 0xD2, 0x43, 0x89, 0x1C, 0x9A, 0x57, 0xAF, 0xB5, + 0xDD, 0x20, 0xB8, 0x35, 0x0B, 0xBA, 0x90, 0x88, + 0xEE, 0xA6, 0xFE, 0xC6, 0xBB, 0x74, 0xB2, 0xF2, + 0x4D, 0x43, 0xEB, 0x92, 0x51, 0x6D, 0xDD, 0x23, + 0xB1, 0x66, 0x3F, 0x4C, 0xBE, 0xEF, 0x02, 0x9C, + 0x10, 0xBA, 0xD1, 0x1B, 0x75, 0x62, 0xA3, 0x63, + 0x09, 0xA2, 0x29, 0xC4, 0x16, 0xDC, 0xB6, 0x63, + 0x1F, 0xA2, 0xF5, 0x71, 0x0F, 0xD2, 0x94, 0xC1, + 0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 0xC0, 0x6A, + 0x27, 0x5D, 0xA7, 0x48, 0xD3, 0x77, 0x10, 0x64, + 0xB2, 0x96, 0xAB, 0x4F, 0x5E, 0x20, 0x08, 0x4E }, .len = 16448 }, @@ -392,7 +392,7 @@ struct snow3g_hash_test_data snow3g_hash_test_case_3 = { .len = 16448 }, .digest = { - .data = {0x17, 0x9F, 0x2F, 0xA6}, + .data = {0x26, 0xA4, 0x0E, 0xBD}, .len = 4 } }; @@ -400,23 +400,23 @@ struct snow3g_hash_test_data snow3g_hash_test_case_3 = { struct snow3g_hash_test_data snow3g_hash_test_case_4 = { .key = { .data = { - 0x2B, 0xD6, 0x45, 0x9F, 0x82, 0xC5, 0xB3, 0x00, - 0x95, 0x2C, 0x49, 0x10, 0x48, 0x81, 0xFF, 0x48 + 0x92, 0x3B, 0xBF, 0x90, 0xF3, 0x75, 0x33, 0x51, + 0x4B, 0x41, 0x12, 0xC9, 0xA6, 0x84, 0x5E, 0xF9 }, .len = 16 }, .auth_iv = { .data = { - 0x38, 0xA6, 0xF0, 0x56, 0x05, 0xD2, 0xEC, 0x49, - 0x38, 0xA6, 0xF0, 0x56, 0x05, 0xD2, 0xEC, 0x49, + 0x93, 0x9E, 0x5D, 0x4D, 0x7C, 0x01, 0x39, 0x61, + 0x6E, 0x58, 0xA3, 0x6A, 0xF4, 0xE0, 0xCF, 0xB0 }, .len = 16 }, .plaintext = { .data = { - 0x6B, 0x22, 0x77, 0x37, 0x29, 0x6F, 0x39, 0x3C, - 0x80, 0x79, 0x35, 0x3E, 0xDC, 0x87, 0xE2, 0xE8, - 0x05, 0xD2, 0xEC, 0x49, 0xA4, 0xF2, 0xD8, 0xE0 + 0x86, 0xAB, 0x33, 0x54, 0xC4, 0x71, 0xB4, 0xA2, + 0x4D, 0x49, 0xC0, 0x35, 0x61, 0xF5, 0x3A, 0xC2, + 0x24, 0xEE, 0x2E, 0x2C, 0xD5, 0xE6, 0x7D, 0x65 }, .len = 189 }, @@ -424,7 +424,7 @@ struct snow3g_hash_test_data snow3g_hash_test_case_4 = { .len = 189 }, .digest = { - .data = {0x2B, 0xCE, 0x18, 0x20}, + .data = {0x1D, 0x4F, 0x18, 0xBD}, .len = 4 } }; @@ -432,24 +432,24 @@ struct snow3g_hash_test_data snow3g_hash_test_case_4 = { struct snow3g_hash_test_data snow3g_hash_test_case_5 = { .key = { .data = { - 0xD4, 0x2F, 0x68, 0x24, 0x28, 0x20, 0x1C, 0xAF, - 0xCD, 0x9F, 0x97, 0x94, 0x5E, 0x6D, 0xE7, 0xB7 + 0xC1, 0xC7, 0x8A, 0x73, 0x35, 0xF8, 0x7A, 0xDA, + 0xAF, 0x23, 0xE6, 0x4B, 0x4B, 0x48, 0x97, 0x9A }, .len = 16 }, .auth_iv = { .data = { - 0x3E, 0xDC, 0x87, 0xE2, 0xA4, 0xF2, 0xD8, 0xE2, - 0xBE, 0xDC, 0x87, 0xE2, 0xA4, 0xF2, 0x58, 0xE2 + 0xE9, 0xC3, 0xDC, 0x60, 0xD2, 0xCD, 0x26, 0x21, + 0x86, 0x27, 0xF7, 0xC6, 0x37, 0x1B, 0x0D, 0xE0 }, .len = 16 }, .plaintext = { .data = { - 0xB5, 0x92, 0x43, 0x84, 0x32, 0x8A, 0x4A, 0xE0, - 0x0B, 0x73, 0x71, 0x09, 0xF8, 0xB6, 0xC8, 0xDD, - 0x2B, 0x4D, 0xB6, 0x3D, 0xD5, 0x33, 0x98, 0x1C, - 0xEB, 0x19, 0xAA, 0xD5, 0x2A, 0x5B, 0x2B, 0xC0 + 0xFD, 0x63, 0x62, 0x92, 0xA7, 0x81, 0x41, 0x13, + 0x13, 0xFE, 0x0D, 0x63, 0x37, 0x1C, 0xF5, 0x76, + 0xF3, 0x63, 0x5C, 0x59, 0x25, 0xA1, 0xF9, 0xC4, + 0x61, 0x79, 0x81, 0x94, 0x46, 0x3B, 0x4C, 0x40 }, .len = 254 }, @@ -457,7 +457,7 @@ struct snow3g_hash_test_data snow3g_hash_test_case_5 = { .len = 254 }, .digest = { - .data = {0xFC, 0x7B, 0x18, 0xBD}, + .data = {0xBD, 0x18, 0xE3, 0xCD}, .len = 4 } }; @@ -465,25 +465,25 @@ struct snow3g_hash_test_data snow3g_hash_test_case_5 = { struct snow3g_hash_test_data snow3g_hash_test_case_6 = { .key = { .data = { - 0xFD, 0xB9, 0xCF, 0xDF, 0x28, 0x93, 0x6C, 0xC4, - 0x83, 0xA3, 0x18, 0x69, 0xD8, 0x1B, 0x8F, 0xAB + 0xA6, 0x42, 0x51, 0xBC, 0x4C, 0x60, 0x73, 0x69, + 0x8B, 0x18, 0x2D, 0xFE, 0xF0, 0x49, 0xD9, 0x70 }, .len = 16 }, .auth_iv = { .data = { - 0x36, 0xAF, 0x61, 0x44, 0x98, 0x38, 0xF0, 0x3A, - 0xB6, 0xAF, 0x61, 0x44, 0x98, 0x38, 0x70, 0x3A + 0x4E, 0x3D, 0x23, 0x28, 0xE8, 0x35, 0x9E, 0xAF, + 0xE2, 0x9C, 0xBD, 0xF9, 0xDA, 0x1A, 0xCF, 0x34 }, .len = 16 }, .plaintext = { .data = { - 0x59, 0x32, 0xBC, 0x0A, 0xCE, 0x2B, 0x0A, 0xBA, - 0x33, 0xD8, 0xAC, 0x18, 0x8A, 0xC5, 0x4F, 0x34, - 0x6F, 0xAD, 0x10, 0xBF, 0x9D, 0xEE, 0x29, 0x20, - 0xB4, 0x3B, 0xD0, 0xC5, 0x3A, 0x91, 0x5C, 0xB7, - 0xDF, 0x6C, 0xAA, 0x72, 0x05, 0x3A, 0xBF, 0xF2 + 0xCF, 0x03, 0x5D, 0x21, 0x78, 0xC8, 0x29, 0xCD, + 0x25, 0xC7, 0x5A, 0xB8, 0xF3, 0xCF, 0xAB, 0x9D, + 0x6E, 0x17, 0x39, 0xAD, 0x84, 0xA7, 0x27, 0xFE, + 0x70, 0xC6, 0xE7, 0x03, 0x4E, 0x8F, 0x99, 0x1E, + 0x92, 0xF6, 0x3F, 0x0B, 0xBF, 0x68, 0xD8, 0xE2 }, .len = 319 }, @@ -491,7 +491,7 @@ struct snow3g_hash_test_data snow3g_hash_test_case_6 = { .len = 319 }, .digest = { - .data = {0x02, 0xF1, 0xFA, 0xAF}, + .data = {0x8B, 0x6E, 0xE2, 0xE8}, .len = 4 } }; diff --git a/app/test/test_cryptodev_snow3g_test_vectors.h b/app/test/test_cryptodev_snow3g_test_vectors.h index bbe05662b..0debe14b5 100644 --- a/app/test/test_cryptodev_snow3g_test_vectors.h +++ b/app/test/test_cryptodev_snow3g_test_vectors.h @@ -1,5 +1,5 @@ /* SPDX-License-Identifier: BSD-3-Clause - * Copyright(c) 2015-2019 Intel Corporation + * Copyright(c) 2015-2020 Intel Corporation */ #ifndef TEST_CRYPTODEV_SNOW3G_TEST_VECTORS_H_ @@ -63,51 +63,51 @@ struct snow3g_test_data { struct snow3g_test_data snow3g_test_case_1 = { .key = { .data = { - 0x2B, 0xD6, 0x45, 0x9F, 0x82, 0xC5, 0xB3, 0x00, - 0x95, 0x2C, 0x49, 0x10, 0x48, 0x81, 0xFF, 0x48 + 0xAC, 0x08, 0x16, 0x63, 0x21, 0xDF, 0x3D, 0x85, + 0xAE, 0xBD, 0xB8, 0xB5, 0x12, 0xA4, 0x53, 0x12 }, .len = 16 }, .cipher_iv = { .data = { - 0x72, 0xA4, 0xF2, 0x0F, 0x64, 0x00, 0x00, 0x00, - 0x72, 0xA4, 0xF2, 0x0F, 0x64, 0x00, 0x00, 0x00 + 0x8A, 0xD7, 0x82, 0x72, 0x1B, 0x23, 0x21, 0xE2, + 0xA1, 0xEA, 0x4C, 0x81, 0xC8, 0x8F, 0x43, 0x40 }, .len = 16 }, .plaintext = { .data = { - 0x7E, 0xC6, 0x12, 0x72, 0x74, 0x3B, 0xF1, 0x61, - 0x47, 0x26, 0x44, 0x6A, 0x6C, 0x38, 0xCE, 0xD1, - 0x66, 0xF6, 0xCA, 0x76, 0xEB, 0x54, 0x30, 0x04, - 0x42, 0x86, 0x34, 0x6C, 0xEF, 0x13, 0x0F, 0x92, - 0x92, 0x2B, 0x03, 0x45, 0x0D, 0x3A, 0x99, 0x75, - 0xE5, 0xBD, 0x2E, 0xA0, 0xEB, 0x55, 0xAD, 0x8E, - 0x1B, 0x19, 0x9E, 0x3E, 0xC4, 0x31, 0x60, 0x20, - 0xE9, 0xA1, 0xB2, 0x85, 0xE7, 0x62, 0x79, 0x53, - 0x59, 0xB7, 0xBD, 0xFD, 0x39, 0xBE, 0xF4, 0xB2, - 0x48, 0x45, 0x83, 0xD5, 0xAF, 0xE0, 0x82, 0xAE, - 0xE6, 0x38, 0xBF, 0x5F, 0xD5, 0xA6, 0x06, 0x19, - 0x39, 0x01, 0xA0, 0x8F, 0x4A, 0xB4, 0x1A, 0xAB, - 0x9B, 0x13, 0x48, 0x80 + 0x7B, 0x61, 0x55, 0xF7, 0xE0, 0x10, 0x98, 0x20, + 0x7B, 0x58, 0xE6, 0xC7, 0xB1, 0x9F, 0xAA, 0xCC, + 0xF1, 0x32, 0xD1, 0xBB, 0xB4, 0xF2, 0x5A, 0xCB, + 0x01, 0x6D, 0xEC, 0x44, 0xB5, 0xEF, 0xCD, 0x31, + 0x50, 0x23, 0x28, 0x31, 0x34, 0xC1, 0x51, 0xB0, + 0x19, 0x37, 0x77, 0xCA, 0xD6, 0x21, 0x97, 0xC8, + 0x54, 0x69, 0x83, 0x09, 0x5C, 0xDD, 0xD4, 0x5D, + 0x4B, 0xC0, 0xA2, 0x01, 0xAF, 0x70, 0x32, 0x00, + 0x93, 0x5B, 0x31, 0xC8, 0x1C, 0x83, 0x78, 0x36, + 0xBA, 0xF0, 0x00, 0x91, 0x12, 0x98, 0x59, 0x66, + 0x01, 0xDD, 0x70, 0x5D, 0xBB, 0x44, 0xBB, 0x06, + 0x04, 0x5E, 0x08, 0xB4, 0xCE, 0x3A, 0xB4, 0x62, + 0x95, 0xE6, 0x2A, 0xB2 }, .len = 800 }, .ciphertext = { .data = { - 0x8C, 0xEB, 0xA6, 0x29, 0x43, 0xDC, 0xED, 0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, 0x7E, 0xE2, + 0x55, 0x5C, 0x73, 0xB8, 0x66, 0xEB, 0x11, 0x9A, + 0x95, 0x8B, 0xE1, 0xA4 }, .len = 800 }, @@ -122,8 +122,8 @@ struct snow3g_test_data snow3g_test_case_1 = { }, .auth_iv = { .data = { - 0x72, 0xA4, 0xF2, 0x0F, 0x64, 0x00, 0x00, 0x00, - 0x72, 0xA4, 0xF2, 0x0F, 0x64, 0x00, 0x00, 0x00 + 0xDB, 0x13, 0x5F, 0xC4, 0x62, 0xDF, 0x02, 0x8C, + 0x10, 0x9D, 0x09, 0x34, 0x35, 0x65, 0x08, 0xB1 }, .len = 16 } @@ -132,41 +132,41 @@ struct snow3g_test_data snow3g_test_case_1 = { struct snow3g_test_data snow3g_test_case_2 = { .key = { .data = { - 0xEF, 0xA8, 0xB2, 0x22, 0x9E, 0x72, 0x0C, 0x2A, - 0x7C, 0x36, 0xEA, 0x55, 0xE9, 0x60, 0x56, 0x95 + 0xDE, 0x78, 0x7F, 0x83, 0x6D, 0xEC, 0x8B, 0x1E, + 0x35, 0xB6, 0x1C, 0x58, 0x06, 0x44, 0xFB, 0x6B }, .len = 16 }, .cipher_iv = { .data = { - 0xE2, 0x8B, 0xCF, 0x7B, 0xC0, 0x00, 0x00, 0x00, - 0xE2, 0x8B, 0xCF, 0x7B, 0xC0, 0x00, 0x00, 0x00 + 0x84, 0xF2, 0xCF, 0xEE, 0x87, 0x3F, 0x34, 0x63, + 0x89, 0xB7, 0x2A, 0xD0, 0xED, 0x12, 0x6E, 0xAB }, .len = 16 }, .plaintext = { .data = { - 0x10, 0x11, 0x12, 0x31, 0xE0, 0x60, 0x25, 0x3A, - 0x43, 0xFD, 0x3F, 0x57, 0xE3, 0x76, 0x07, 0xAB, - 0x28, 0x27, 0xB5, 0x99, 0xB6, 0xB1, 0xBB, 0xDA, - 0x37, 0xA8, 0xAB, 0xCC, 0x5A, 0x8C, 0x55, 0x0D, - 0x1B, 0xFB, 0x2F, 0x49, 0x46, 0x24, 0xFB, 0x50, - 0x36, 0x7F, 0xA3, 0x6C, 0xE3, 0xBC, 0x68, 0xF1, - 0x1C, 0xF9, 0x3B, 0x15, 0x10, 0x37, 0x6B, 0x02, - 0x13, 0x0F, 0x81, 0x2A, 0x9F, 0xA1, 0x69, 0xD8 + 0x64, 0x24, 0x59, 0x3B, 0x0A, 0x8F, 0x1E, 0xCF, + 0x1E, 0xFC, 0xCE, 0xBD, 0xF2, 0x59, 0xCD, 0x90, + 0xC0, 0x90, 0x21, 0x31, 0x51, 0x88, 0x93, 0xC0, + 0x62, 0x0B, 0xF1, 0xAE, 0x32, 0xEE, 0xCD, 0x96, + 0x13, 0x26, 0xD1, 0x1D, 0xB5, 0xF0, 0xED, 0xD4, + 0xEC, 0xBB, 0x92, 0xDF, 0x15, 0x60, 0x70, 0xD6, + 0xF0, 0x91, 0x07, 0x41, 0x1A, 0x9B, 0x02, 0x7D, + 0xA6, 0xF3, 0x2C, 0xD8, 0xE2, 0xF9, 0x6E, 0xF5 }, .len = 512 }, .ciphertext = { .data = { - 0xE0, 0xDA, 0x15, 0xCA, 0x8E, 0x25, 0x54, 0xF5, - 0xE5, 0x6C, 0x94, 0x68, 0xDC, 0x6C, 0x7C, 0x12, - 0x9C, 0x56, 0x8A, 0xA5, 0x03, 0x23, 0x17, 0xE0, - 0x4E, 0x07, 0x29, 0x64, 0x6C, 0xAB, 0xEF, 0xA6, - 0x89, 0x86, 0x4C, 0x41, 0x0F, 0x24, 0xF9, 0x19, - 0xE6, 0x1E, 0x3D, 0xFD, 0xFA, 0xD7, 0x7E, 0x56, - 0x0D, 0xB0, 0xA9, 0xCD, 0x36, 0xC3, 0x4A, 0xE4, - 0x18, 0x14, 0x90, 0xB2, 0x9F, 0x5F, 0xA2, 0xFC + 0x94, 0x01, 0x9F, 0x91, 0xC3, 0x2A, 0x08, 0x7B, + 0xA9, 0xEE, 0x29, 0xE9, 0xB6, 0xE1, 0x19, 0x8A, + 0x32, 0x1C, 0x7E, 0xC4, 0x6B, 0x66, 0xAC, 0x01, + 0x31, 0xB0, 0x7F, 0xF8, 0x9C, 0x30, 0x00, 0x1F, + 0x77, 0x57, 0x74, 0xAE, 0x9B, 0x0D, 0x85, 0x48, + 0x50, 0xF8, 0xEB, 0xE8, 0xDB, 0xB7, 0x69, 0x6F, + 0xB5, 0x8D, 0x9C, 0xD3, 0x02, 0x6D, 0xF1, 0xB1, + 0x9B, 0x70, 0xE2, 0xD3, 0x71, 0x2B, 0x11, 0xFD }, .len = 512 }, @@ -181,8 +181,8 @@ struct snow3g_test_data snow3g_test_case_2 = { }, .auth_iv = { .data = { - 0xE2, 0x8B, 0xCF, 0x7B, 0xC0, 0x00, 0x00, 0x00, - 0xE2, 0x8B, 0xCF, 0x7B, 0xC0, 0x00, 0x00, 0x00 + 0xD5, 0x2F, 0xAE, 0x41, 0x50, 0x7D, 0x98, 0x8E, + 0x7B, 0xEB, 0x68, 0x86, 0x5D, 0x6B, 0xB6, 0x20 }, .len = 16 } @@ -191,29 +191,29 @@ struct snow3g_test_data snow3g_test_case_2 = { struct snow3g_test_data snow3g_test_case_3 = { .key = { .data = { - 0x5A, 0xCB, 0x1D, 0x64, 0x4C, 0x0D, 0x51, 0x20, - 0x4E, 0xA5, 0xF1, 0x45, 0x10, 0x10, 0xD8, 0x52 + 0xB3, 0xFD, 0x1A, 0x50, 0xC9, 0x41, 0x7B, 0xEA, + 0xED, 0x18, 0x7C, 0x51, 0x13, 0x55, 0x25, 0xCD }, .len = 16 }, .cipher_iv = { .data = { - 0xFA, 0x55, 0x6B, 0x26, 0x1C, 0x00, 0x00, 0x00, - 0xFA, 0x55, 0x6B, 0x26, 0x1C, 0x00, 0x00, 0x00 + 0x5A, 0xF9, 0xEB, 0x3D, 0x64, 0x95, 0xA6, 0xB1, + 0xC3, 0x1C, 0x0C, 0x4C, 0xFD, 0xA6, 0x9A, 0x11 }, .len = 16 }, .plaintext = { .data = { - 0xAD, 0x9C, 0x44, 0x1F, 0x89, 0x0B, 0x38, 0xC4, - 0x57, 0xA4, 0x9D, 0x42, 0x14, 0x07, 0xE8 + 0xA7, 0x6E, 0x8D, 0x14, 0x9A, 0x3C, 0x7C, 0x3B, + 0xEE, 0x20, 0xA9, 0x3D, 0xCE, 0x46, 0x98 }, .len = 120 }, .ciphertext = { .data = { - 0xBA, 0x0F, 0x31, 0x30, 0x03, 0x34, 0xC5, 0x6B, - 0x52, 0xA7, 0x49, 0x7C, 0xBA, 0xC0, 0x46 + 0x23, 0xC3, 0x19, 0xB3, 0x7F, 0x44, 0xB8, 0x32, + 0x52, 0xCD, 0x78, 0xFC, 0x45, 0xF3, 0x9B }, .len = 120 }, @@ -228,13 +228,13 @@ struct snow3g_test_data snow3g_test_case_3 = { }, .auth_iv = { .data = { - 0xFA, 0x55, 0x6B, 0x26, 0x1C, 0x00, 0x00, 0x00, - 0xFA, 0x55, 0x6B, 0x26, 0x1C, 0x00, 0x00, 0x00 + 0xB0, 0xFF, 0x87, 0x8B, 0x41, 0x6B, 0x97, 0xFE, + 0xFC, 0xFF, 0x6D, 0xC6, 0x8A, 0x39, 0x45, 0x74 }, .len = 16 }, .digest = { - .data = {0xE8, 0x60, 0x5A, 0x3E}, + .data = {0x58, 0x0B, 0x8B, 0x10}, .len = 4 }, .validAuthLenInBits = { @@ -245,33 +245,33 @@ struct snow3g_test_data snow3g_test_case_3 = { struct snow3g_test_data snow3g_test_case_4 = { .key = { .data = { - 0xD3, 0xC5, 0xD5, 0x92, 0x32, 0x7F, 0xB1, 0x1C, - 0x40, 0x35, 0xC6, 0x68, 0x0A, 0xF8, 0xC6, 0xD1 + 0x0D, 0x4C, 0x71, 0x19, 0x39, 0x2E, 0x79, 0xD9, + 0x6C, 0xAB, 0x7F, 0x10, 0xBE, 0xA1, 0xB2, 0x1F }, .len = 16 }, .cipher_iv = { .data = { - 0x39, 0x8A, 0x59, 0xB4, 0x2C, 0x00, 0x00, 0x00, - 0x39, 0x8A, 0x59, 0xB4, 0x2C, 0x00, 0x00, 0x00 + 0x10, 0xB0, 0x10, 0xD7, 0x43, 0x3A, 0x80, 0xEA, + 0x10, 0xC3, 0x90, 0x33, 0x0E, 0xFE, 0x24, 0xD7 }, .len = 16 }, .plaintext = { .data = { - 0x98, 0x1B, 0xA6, 0x82, 0x4C, 0x1B, 0xFB, 0x1A, - 0xB4, 0x85, 0x47, 0x20, 0x29, 0xB7, 0x1D, 0x80, - 0x8C, 0xE3, 0x3E, 0x2C, 0xC3, 0xC0, 0xB5, 0xFC, - 0x1F, 0x3D, 0xE8, 0xA6, 0xDC, 0x66, 0xB1, 0xF0 + 0x00, 0xBB, 0xE3, 0x5B, 0x08, 0xA7, 0xF8, 0xA7, + 0x6B, 0xB0, 0x29, 0x79, 0xF6, 0x8E, 0x8A, 0xE3, + 0x46, 0x9C, 0xB6, 0xEA, 0xE6, 0xB9, 0x07, 0x06, + 0xC9, 0xA8, 0x87, 0x7B, 0x9D, 0xFC, 0xDF, 0x9D }, .len = 256 }, .ciphertext = { .data = { - 0x98, 0x9B, 0x71, 0x9C, 0xDC, 0x33, 0xCE, 0xB7, - 0xCF, 0x27, 0x6A, 0x52, 0x82, 0x7C, 0xEF, 0x94, - 0xA5, 0x6C, 0x40, 0xC0, 0xAB, 0x9D, 0x81, 0xF7, - 0xA2, 0xA9, 0xBA, 0xC6, 0x0E, 0x11, 0xC4, 0xB0 + 0x64, 0x9B, 0x85, 0xB6, 0x7F, 0xE6, 0x7C, 0x18, + 0xDC, 0x28, 0x58, 0x96, 0x74, 0xCA, 0x0C, 0x8E, + 0xDA, 0xB8, 0x93, 0x55, 0x3D, 0x48, 0xCE, 0x67, + 0x65, 0x9E, 0x31, 0x58, 0x89, 0x0B, 0x86, 0xA7 }, .len = 256 }, @@ -289,52 +289,52 @@ struct snow3g_test_data snow3g_test_case_4 = { struct snow3g_test_data snow3g_test_case_5 = { .key = { .data = { - 0x60, 0x90, 0xEA, 0xE0, 0x4C, 0x83, 0x70, 0x6E, - 0xEC, 0xBF, 0x65, 0x2B, 0xE8, 0xE3, 0x65, 0x66 + 0xBF, 0xBC, 0xDA, 0x39, 0x04, 0x3C, 0xC6, 0xF2, + 0xF2, 0xA3, 0xE2, 0x33, 0x32, 0x40, 0x59, 0xF7 }, .len = 16 }, .cipher_iv = { .data = { - 0x72, 0xA4, 0xF2, 0x0F, 0x48, 0x00, 0x00, 0x00, - 0x72, 0xA4, 0xF2, 0x0F, 0x48, 0x00, 0x00, 0x00 + 0x42, 0xA0, 0xF9, 0x77, 0x0F, 0x49, 0xCE, 0x03, + 0x97, 0x3C, 0xF4, 0x57, 0x03, 0x9E, 0xCC, 0x30 }, .len = 16}, .plaintext = { .data = { - 0x40, 0x98, 0x1B, 0xA6, 0x82, 0x4C, 0x1B, 0xFB, - 0x42, 0x86, 0xB2, 0x99, 0x78, 0x3D, 0xAF, 0x44, - 0x2C, 0x09, 0x9F, 0x7A, 0xB0, 0xF5, 0x8D, 0x5C, - 0x8E, 0x46, 0xB1, 0x04, 0xF0, 0x8F, 0x01, 0xB4, - 0x1A, 0xB4, 0x85, 0x47, 0x20, 0x29, 0xB7, 0x1D, - 0x36, 0xBD, 0x1A, 0x3D, 0x90, 0xDC, 0x3A, 0x41, - 0xB4, 0x6D, 0x51, 0x67, 0x2A, 0xC4, 0xC9, 0x66, - 0x3A, 0x2B, 0xE0, 0x63, 0xDA, 0x4B, 0xC8, 0xD2, - 0x80, 0x8C, 0xE3, 0x3E, 0x2C, 0xCC, 0xBF, 0xC6, - 0x34, 0xE1, 0xB2, 0x59, 0x06, 0x08, 0x76, 0xA0, - 0xFB, 0xB5, 0xA4, 0x37, 0xEB, 0xCC, 0x8D, 0x31, - 0xC1, 0x9E, 0x44, 0x54, 0x31, 0x87, 0x45, 0xE3, - 0x98, 0x76, 0x45, 0x98, 0x7A, 0x98, 0x6F, 0x2C, - 0xB0 + 0xA1, 0x52, 0x82, 0xC4, 0x91, 0x98, 0x38, 0xEF, + 0xAB, 0x80, 0x17, 0xC3, 0x06, 0x64, 0x2B, 0x94, + 0xF4, 0x82, 0xEB, 0xB5, 0xAA, 0xED, 0xAA, 0xBC, + 0x22, 0x3C, 0x7B, 0xCD, 0x4A, 0x20, 0x9D, 0xEC, + 0x72, 0x20, 0xB0, 0x04, 0xB8, 0xE8, 0xF3, 0x64, + 0x68, 0x0B, 0x28, 0x6F, 0x6F, 0x53, 0x03, 0x63, + 0xD6, 0xEE, 0x18, 0x81, 0xDB, 0xC3, 0x3D, 0xFE, + 0xFF, 0xB9, 0xCB, 0x4A, 0xDA, 0x69, 0x36, 0x4C, + 0x8A, 0xE6, 0x51, 0x43, 0xCE, 0x44, 0xA8, 0x37, + 0x4F, 0xD0, 0xA6, 0xBF, 0x24, 0xAA, 0x22, 0xFA, + 0x99, 0x3B, 0x7B, 0x75, 0xFE, 0xB9, 0x73, 0xFE, + 0x73, 0x3F, 0x49, 0x4D, 0xA9, 0x7F, 0x9A, 0x33, + 0x66, 0xEB, 0x77, 0x35, 0x2F, 0x1F, 0x6C, 0x7F, + 0xEF }, .len = 840 }, .ciphertext = { .data = { - 0x58, 0x92, 0xBB, 0xA8, 0x8B, 0xBB, 0xCA, 0xAE, - 0xAE, 0x76, 0x9A, 0xA0, 0x6B, 0x68, 0x3D, 0x3A, - 0x17, 0xCC, 0x04, 0xA3, 0x69, 0x88, 0x16, 0x97, - 0x43, 0x5E, 0x44, 0xFE, 0xD5, 0xFF, 0x9A, 0xF5, - 0x7B, 0x9E, 0x89, 0x0D, 0x4D, 0x5C, 0x64, 0x70, - 0x98, 0x85, 0xD4, 0x8A, 0xE4, 0x06, 0x90, 0xEC, - 0x04, 0x3B, 0xAA, 0xE9, 0x70, 0x57, 0x96, 0xE4, - 0xA9, 0xFF, 0x5A, 0x4B, 0x8D, 0x8B, 0x36, 0xD7, - 0xF3, 0xFE, 0x57, 0xCC, 0x6C, 0xFD, 0x6C, 0xD0, - 0x05, 0xCD, 0x38, 0x52, 0xA8, 0x5E, 0x94, 0xCE, - 0x6B, 0xCD, 0x90, 0xD0, 0xD0, 0x78, 0x39, 0xCE, - 0x09, 0x73, 0x35, 0x44, 0xCA, 0x8E, 0x35, 0x08, - 0x43, 0x24, 0x85, 0x50, 0x92, 0x2A, 0xC1, 0x28, - 0x18 + 0x94, 0x23, 0xC0, 0x8C, 0xC9, 0x9B, 0x23, 0x49, + 0x91, 0x39, 0x8F, 0xF7, 0x59, 0xE0, 0xBB, 0xDF, + 0x8B, 0x3A, 0x97, 0x23, 0x09, 0x0D, 0xBF, 0x32, + 0x3D, 0x0F, 0x3B, 0x9E, 0x08, 0xCE, 0x63, 0x62, + 0x7E, 0xA6, 0x3B, 0x0E, 0xF7, 0x0D, 0xE3, 0x18, + 0x91, 0x3D, 0x86, 0x56, 0x7E, 0x18, 0x62, 0xD9, + 0x15, 0xDF, 0xA6, 0x88, 0x12, 0xF8, 0xD5, 0xFD, + 0x31, 0x1D, 0xB9, 0x2B, 0xF8, 0x23, 0x21, 0x38, + 0x11, 0xF7, 0x34, 0x74, 0x21, 0x6A, 0x70, 0x67, + 0x98, 0xB2, 0x87, 0x1A, 0x22, 0x07, 0x7C, 0x12, + 0x11, 0x2A, 0x89, 0xA2, 0x85, 0xBD, 0x51, 0x0E, + 0x79, 0x45, 0xA3, 0x54, 0x81, 0x85, 0x4C, 0xF5, + 0x99, 0x54, 0xBB, 0xA2, 0xB5, 0x9B, 0xC3, 0xBB, + 0x2A }, .len = 840 }, @@ -352,44 +352,44 @@ struct snow3g_test_data snow3g_test_case_5 = { struct snow3g_test_data snow3g_auth_cipher_test_case_1 = { .key = { .data = { - 0xC7, 0x36, 0xC6, 0xAA, 0xB2, 0x2B, 0xFF, 0xF9, - 0x1E, 0x26, 0x98, 0xD2, 0xE2, 0x2A, 0xD5, 0x7E + 0x02, 0x05, 0x8D, 0x12, 0x14, 0xE8, 0xA3, 0x5D, + 0x41, 0xC6, 0x3D, 0xB2, 0x0D, 0xAC, 0x0C, 0x7A }, .len = 16 }, .cipher_iv = { .data = { - 0x14, 0x79, 0x3E, 0x41, 0x03, 0x97, 0xE8, 0xFD, - 0x94, 0x79, 0x3E, 0x41, 0x03, 0x97, 0x68, 0xFD + 0x84, 0x69, 0x2C, 0x4F, 0x1E, 0x75, 0xAA, 0xEE, + 0xE5, 0x5E, 0x4E, 0xD5, 0x5D, 0x09, 0x7E, 0xB2 }, .len = 16 }, .auth_iv = { .data = { - 0x14, 0x79, 0x3E, 0x41, 0x03, 0x97, 0xE8, 0xFD, - 0x94, 0x79, 0x3E, 0x41, 0x03, 0x97, 0x68, 0xFD + 0xAA, 0xE3, 0x7D, 0x3B, 0x38, 0x48, 0xD4, 0x32, + 0x3A, 0xE0, 0xDC, 0xCD, 0xC4, 0xD8, 0xF0, 0x74 }, .len = 16 }, .plaintext = { .data = { - 0xD0, 0xA7, 0xD4, 0x63, 0xDF, 0x9F, 0xB2, 0xB2, - 0x78, 0x83, 0x3F, 0xA0, 0x2E, 0x23, 0x5A, 0xA1, - 0x72, 0xBD, 0x97, 0x0C, 0x14, 0x73, 0xE1, 0x29, - 0x07, 0xFB, 0x64, 0x8B, 0x65, 0x99, 0xAA, 0xA0, - 0xB2, 0x4A, 0x03, 0x86, 0x65, 0x42, 0x2B, 0x20, - 0xA4, 0x99, 0x27, 0x6A, 0x50, 0x42, 0x70, 0x09 + 0xE6, 0xFF, 0x54, 0xDA, 0x2A, 0x4F, 0x9B, 0xEA, + 0x1D, 0x3A, 0x02, 0xE3, 0xAF, 0xAB, 0xCC, 0xCE, + 0xF2, 0x24, 0xEC, 0x55, 0x5A, 0x52, 0x98, 0x11, + 0xBF, 0xD5, 0xB7, 0xEA, 0x5F, 0xF0, 0x3C, 0x45, + 0xEF, 0x90, 0x1F, 0x1A, 0xE0, 0xBA, 0x04, 0xFD, + 0xF5, 0x07, 0xE1, 0xA5, 0xB2, 0xAE, 0x73, 0xA5 }, .len = 384 }, .ciphertext = { .data = { - 0x95, 0x2E, 0x5A, 0xE1, 0x50, 0xB8, 0x59, 0x2A, - 0x9B, 0xA0, 0x38, 0xA9, 0x8E, 0x2F, 0xED, 0xAB, - 0xFD, 0xC8, 0x3B, 0x47, 0x46, 0x0B, 0x50, 0x16, - 0xEC, 0x88, 0x45, 0xB6, 0x05, 0xC7, 0x54, 0xF8, - 0xBD, 0x91, 0xAA, 0xB6, 0xA4, 0xDC, 0x64, 0xB4, - 0xCB, 0xEB, 0x97, 0x06, 0x4C, 0xF7, 0x02, 0x3D + 0xFE, 0xB8, 0x67, 0x81, 0x2A, 0x00, 0x08, 0xE3, + 0xF4, 0x0F, 0x19, 0xCF, 0x84, 0xD4, 0x69, 0x78, + 0x36, 0xAE, 0xB1, 0xCF, 0x91, 0x9C, 0xE4, 0x4F, + 0x27, 0x8D, 0x33, 0x66, 0xB4, 0x23, 0xDB, 0x2B, + 0x02, 0xC6, 0xF5, 0x4E, 0x8C, 0x30, 0x16, 0x06, + 0xC1, 0x44, 0xE6, 0xD8, 0x75, 0x06, 0x16, 0x01 }, .len = 384 }, @@ -402,7 +402,7 @@ struct snow3g_test_data snow3g_auth_cipher_test_case_1 = { .offset_bits = 0 }, .digest = { - .data = {0x38, 0xB5, 0x54, 0xC0 }, + .data = {0xD5, 0xE7, 0xAE, 0x5E}, .len = 4, .offset_bytes = 0 }, @@ -420,66 +420,64 @@ struct snow3g_test_data snow3g_auth_cipher_test_case_1 = { struct snow3g_test_data snow3g_test_case_7 = { .key = { .data = { - 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, - 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10 - - }, + 0x6C, 0xC9, 0x12, 0x57, 0xC0, 0x69, 0x2B, 0x0E, + 0x66, 0x6C, 0x28, 0xAA, 0xD1, 0x69, 0x32, 0x41 + }, .len = 16 }, .cipher_iv = { .data = { - 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, - 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 + 0x37, 0xBC, 0xB1, 0x2B, 0xF2, 0x0C,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 0x5A, 0xF1, 0x9E, 0x2B, 0x6F, + 0xCF, 0xC2, 0xD7, 0x9D, 0xD4, 0x4E, 0x21, 0x1B, + 0xBF, 0xDE, 0xEB, 0x5A, 0x71, 0x66, 0xF0, 0x92, + 0xC2, 0x81, 0x3C, 0x4C, 0xF8, 0xE8, 0xD2, 0x88, + 0x20, 0xF4, 0x3E, 0xD4, 0x5C, 0x71, 0xBB, 0x2C, + 0x34, 0x93, 0xCA, 0x08, 0xE2, 0xEB, 0x23, 0xA2, + 0xCA, 0x0F, 0xFC, 0x3C, 0x76, 0xED, 0xCE, 0x38, + 0x6F, 0x0B, 0x85, 0x67, 0xF3, 0x58, 0xEF, 0x14, + 0x4C, 0x2D, 0xE8, 0xA9, 0x9E, 0xA4, 0xD5, 0xD3, + 0x38, 0xA0, 0xDB, 0x1A, 0x8C, 0xFF, 0xBC, 0x56, + 0x0F, 0xB9, 0x93, 0x85, 0xA6, 0x61, 0xBE, 0x15, + 0x6C, 0x43, 0x7C, 0x60, 0x9B, 0x6C, 0x74, 0xE7, + 0x99, 0x5D, 0x91, 0x38, 0x02, 0x67, 0x0B, 0x3A, + 0x07, 0xE7, 0x55, 0x93, 0xE7, 0x11, 0xEA, 0xF6, + 0xCB, 0x7D, 0x7C, 0x71, 0xDF, 0x3A, 0x87, 0x4C, + 0x7D, 0x04, 0xAC, 0x19, 0x70, 0x21, 0x01, 0x0A, + 0x7E, 0x92, 0x43, 0x80, 0x9E, 0x92, 0x2B, 0x11 }, .len = 128 << 3 }, .ciphertext = { .data = { - 0x5A, 0x5A, 0xE4, 0xAD, 0x29, 0xA2, 0x6A, 0xA6, - 0x20, 0x1D, 0xCD, 0x08, 0x50, 0xD6, 0xE6, 0x47, - 0xBC, 0x88, 0x08, 0x01, 0x17, 0xFA, 0x47, 0x5B, - 0x90, 0x40, 0xBA, 0x0C, 0xB5, 0x58, 0xF3, 0x0C, - 0xA0, 0xD4, 0x98, 0x83, 0x1B, 0xCE, 0x54, 0xE3, - 0x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72, 0x46, 0x35, 0x45, 0x0B, 0x40, + 0x3B, 0x37, 0xAB, 0x1C, 0x17, 0x9E, 0xC0, 0x12, + 0x18, 0x91, 0x9A, 0x25, 0x97, 0xD9, 0x75, 0xB4, + 0xE0, 0xD4, 0x43, 0x2C, 0xE4, 0xCC, 0x29, 0x45, + 0x42, 0xE3, 0x8E, 0x6B, 0x17, 0x41, 0xAF, 0xA0 }, .len = 128 << 3 }, @@ -492,9 +490,7 @@ struct snow3g_test_data snow3g_test_case_7 = { .offset_bits = 0 }, .digest = { - .data = { - 0x7D, 0x27, 0xC6, 0xDA - }, + .data = {0x17, 0x41, 0xAF, 0xA0}, .len = 4, .offset_bytes = 124 }, @@ -512,67 +508,64 @@ struct snow3g_test_data snow3g_test_case_7 = { struct snow3g_test_data snow3g_auth_cipher_test_case_2 = { .key = { .data = { - 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, - 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10 - - }, + 0xA3, 0x64, 0x54, 0x2E, 0x27, 0x97, 0x8B, 0x57, + 0xD4, 0xA9, 0x3B, 0xB1, 0xAF, 0x9B, 0xAA, 0xBC + }, .len = 16 }, .cipher_iv = { .data = { - 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, - 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 + 0x81, 0xB2, 0x40, 0x3E, 0x20, 0xDC, 0xEE, 0xB3, + 0x46, 0xD7, 0x4F, 0x7D, 0x66, 0x86, 0x98, 0x6A }, .len = 16 }, .auth_iv = { .data = { - 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + 0x82, 0x16, 0x5E, 0x7A, 0xA9, 0xE7, 0xF4, 0xC3, + 0xE9, 0xEE, 0xDE, 0x1F, 0xB4, 0x61, 0x09, 0x21 }, .len = 16 }, .pla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, 0x9A, 0x1B, 0xFC, 0xF5, 0x93, 0x42, 0x12, + 0x26, 0x04, 0x1A, 0xC0, 0x47, 0x7E, 0x71, 0x82, + 0x47, 0x26, 0x80, 0xED, 0xFE, 0x5E, 0x50, 0xA3, + 0x55, 0x91, 0x5C, 0xB1, 0x88, 0x00, 0xB8, 0xB2, + 0x9B, 0xD4, 0xAE, 0x90, 0x67, 0xF0, 0xA3, 0x8E, + 0xF5, 0xBD, 0x4F, 0x3C, 0x3C, 0xC0, 0xBF, 0x83, + 0xE7, 0x3F, 0x71, 0xE5, 0x9D, 0xC1, 0x89, 0xF3, + 0x53, 0xE5, 0xA5, 0xDC, 0xE6, 0x5D, 0x8E, 0x81, + 0x31, 0x3D, 0x12, 0x99, 0x2E, 0xB5, 0x28, 0x23, + 0x73, 0x77, 0x60, 0xAF, 0x38, 0x1F, 0x33, 0x1F, + 0x5E, 0xA4, 0x05, 0xFC, 0x66, 0x8E, 0xF0, 0xBA }, .len = 128 << 3 }, .ciphertext = { .data = { - 0x5A, 0x5A, 0xE4, 0xAD, 0x29, 0xA2, 0x6A, 0xA6, - 0x20, 0x1D, 0xCD, 0x08, 0x50, 0xD6, 0xE6, 0x47, - 0xBC, 0x88, 0x08, 0x01, 0x17, 0xFA, 0x47, 0x5B, - 0x90, 0x40, 0xBA, 0x0C, 0xB5, 0x58, 0xF3, 0x0C, - 0xA0, 0xD4, 0x98, 0x83, 0x1B, 0xCE, 0x54, 0xE3, - 0x29, 0x00, 0x3C, 0xA4, 0xAD, 0x74, 0xEE, 0x05, - 0xA3, 0x6C, 0xD4, 0xAC, 0xC6, 0x30, 0x33, 0xC9, - 0x37, 0x57, 0x41, 0x9B, 0xD4, 0x73, 0xB9, 0x77, - 0x70, 0x8B, 0x63, 0xDD, 0x22, 0xB8, 0xE1, 0x85, - 0xB2, 0x92, 0x7C, 0x37, 0xD3, 0x2E, 0xD9, 0xF4, - 0x4A, 0x69, 0x25, 0x30, 0xE3, 0x5B, 0x8B, 0xF6, - 0x0F, 0xDE, 0x0B, 0x92, 0xD5, 0x25, 0x52, 0x6D, - 0x26, 0xEB, 0x2F, 0x8A, 0x3B, 0x8B, 0x38, 0xE2, - 0x48, 0xD3, 0x4A, 0x98, 0xF7, 0x3A, 0xC2, 0x46, - 0x69, 0x8D, 0x73, 0x3E, 0x57, 0x88, 0x2C, 0x80, - 0xF0, 0xF2, 0x75, 0xB8, 0x7D, 0x27, 0xC6, 0xDA, - + 0xBD, 0xCE, 0x0B, 0x91, 0xB6, 0x36, 0x6C, 0x22, + 0x2D, 0xFE, 0xC3, 0x97, 0xA0, 0x3B, 0x1F, 0xF5, + 0xCB, 0x80, 0x53, 0x4E, 0x5A, 0x51, 0xEE, 0x8C, + 0x1B, 0xA1, 0x41, 0xB0, 0x69, 0x3B, 0xFA, 0xAB, + 0xE6, 0xAD, 0x0D, 0xA9, 0x27, 0x2D, 0xDE, 0x6C, + 0x2B, 0xBD, 0xC9, 0xA3, 0x0A, 0xB2, 0xC7, 0x86, + 0x2B, 0xBE, 0x92, 0x32, 0x84, 0x49, 0x84, 0xCF, + 0x7C, 0x5F, 0xBF, 0x4B, 0x94, 0x60, 0x48, 0xCF, + 0xCF, 0x7A, 0x01, 0xB4, 0x38, 0xF8, 0x95, 0x60, + 0x17, 0x5B, 0x08, 0x71, 0x77, 0xEB, 0x52, 0xAD, + 0xDA, 0xDE, 0x91, 0x73, 0x31, 0xFD, 0xF2, 0x9B, + 0x1B, 0x0E, 0xB5, 0xFA, 0xF6, 0x78, 0x0D, 0x60, + 0xB6, 0x10, 0x71, 0x1E, 0x55, 0xD7, 0x94, 0xE9, + 0x36, 0x8C, 0x9B, 0xF6, 0x87, 0xEB, 0xE0, 0x4F, + 0xB7, 0xB5, 0xC1, 0x80, 0x48, 0x88, 0x3F, 0x17, + 0x9F, 0xB5, 0x5B, 0x7F, 0xB6, 0x23, 0x95, 0xF7 }, .len = 128 << 3 }, @@ -585,9 +578,7 @@ struct snow3g_test_data snow3g_auth_cipher_test_case_2 = { .offset_bits = 0 }, .digest = { - .data = { - 0x7D, 0x27, 0xC6, 0xDA - }, + .data = {0xB6, 0x23, 0x95, 0xF7}, .len = 4, .offset_bytes = 124 }, @@ -605,41 +596,40 @@ struct snow3g_test_data snow3g_auth_cipher_test_case_2 = { struct snow3g_test_data snow3g_auth_cipher_test_case_3 = { .key = { .data = { - 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, - 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10 - - }, + 0xE6, 0x2D, 0x87, 0x06, 0x36, 0x44, 0xE7, 0x41, + 0xA2, 0xCC, 0x15, 0xB0, 0x8A, 0x86, 0x5B, 0xC0 + }, .len = 16 }, .cipher_iv = { .data = { - 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, - 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 + 0x44, 0x7C, 0x74, 0x16, 0xB0, 0x09, 0x4B, 0x9F, + 0x16, 0xFB, 0xAA, 0x7D, 0xC1, 0xF2, 0x4C, 0x6E }, .len = 16 }, .auth_iv = { .data = { - 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + 0xEB, 0x76, 0xC4, 0x83, 0xCA, 0xDC, 0xF6, 0x64, + 0x6A, 0x7D, 0x38, 0x75, 0xAA, 0xC1, 0xBE, 0xB1 }, .len = 16 }, .plaintext = { .data = { - 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, - 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, - 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, - 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, + 0xA4, 0x2D, 0xFE, 0xE3, 0x32, 0xD8, 0x35, 0x0B, + 0xAA, 0x3F, 0xCE, 0x6A, 0xC5, 0x38, 0x2B, 0xD3, + 0xA7, 0x97, 0xB8, 0xDB, 0x35, 0x38, 0x32, 0x0F, + 0x81, 0x0C, 0x44, 0x8B, 0xFD, 0xA5, 0x0F, 0xA1 }, .len = 32 << 3 }, .ciphertext = { .data = { - 0x5A, 0x5A, 0xE4, 0xAD, 0x29, 0xA2, 0x6A, 0xA6, - 0x20, 0x1D, 0xCD, 0x08, 0x50, 0xD6, 0xE6, 0x47, - 0xBC, 0x88, 0x08, 0x01, 0x17, 0xFA, 0x47, 0x5B, - 0x90, 0x40, 0xBA, 0x0C, 0xBA, 0x6D, 0x6A, 0x5E, + 0xA4, 0x2D, 0x21, 0x9D, 0xC5, 0x11, 0xF1, 0x88, + 0x90, 0xDB, 0x94, 0x64, 0x23, 0xD5, 0xD1, 0x1C, + 0x20, 0xCF, 0x35, 0x73, 0x07, 0xBB, 0xC4, 0xB7, + 0x96, 0xD3, 0xE6, 0x93, 0xA9, 0x97, 0xF7, 0x22 }, .len = 32 << 3 }, @@ -652,9 +642,7 @@ struct snow3g_test_data snow3g_auth_cipher_test_case_3 = { .offset_bits = 0 }, .digest = { - .data = { - 0xBA, 0x6D, 0x6A, 0x5E - }, + .data = {0xA9, 0x97, 0xF7, 0x22}, .len = 4, .offset_bytes = 28 }, @@ -672,41 +660,40 @@ struct snow3g_test_data snow3g_auth_cipher_test_case_3 = { struct snow3g_test_data snow3g_auth_cipher_partial_digest_encryption = { .key = { .data = { - 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, - 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10 - - }, + 0x15, 0xB9, 0xD2, 0x69, 0x78, 0xC6, 0x2E, 0x4A, + 0x06, 0xAE, 0xE8, 0xB1, 0xAF, 0x4A, 0x13, 0x61 + }, .len = 16 }, .cipher_iv = { .data = { - 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, - 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 + 0xF3, 0x86, 0xBD, 0x78, 0x71, 0x0A, 0x91, 0x25, + 0x77, 0x5B, 0xFB, 0xFD, 0x65, 0x33, 0x81, 0x8E }, .len = 16 }, .auth_iv = { .data = { - 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + 0x75, 0xEB, 0x5B, 0x35, 0x7B, 0x16, 0x97, 0x37, + 0x1B, 0x72, 0x0C, 0x9F, 0xB3, 0x90, 0x72, 0xC5 }, .len = 16 }, .plaintext = { .data = { - 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, - 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, - 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, - 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A + 0xAF, 0x22, 0x94, 0x97, 0xE2, 0x12, 0x57, 0xDE, + 0x5A, 0x35, 0xA2, 0x13, 0x50, 0x87, 0x5E, 0x68, + 0x82, 0xD5, 0xFA, 0x85, 0x3C, 0xDD, 0xCB, 0x0A, + 0x89, 0xD1, 0x99, 0xE1, 0xB9, 0x1E, 0x1D, 0x68 }, .len = 32 << 3 }, .ciphertext = { .data = { - 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, - 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0xE4, 0xAD, - 0x29, 0xA2, 0x6A, 0xA6, 0x20, 0x1D, 0xCD, 0x08, - 0x50, 0xD6, 0xE6, 0x47, 0xB3, 0xBD, 0xC3, 0x08 + 0xAF, 0x22, 0x94, 0x97, 0xE2, 0x12, 0x57, 0xDE, + 0x5A, 0x35, 0xA2, 0x13, 0x50, 0x87, 0x82, 0x23, + 0x60, 0x8C, 0xC1, 0x88, 0xD6, 0x7A, 0xCC, 0xF7, + 0x0A, 0xDB, 0x10, 0xE9, 0xAE, 0x2C, 0xBB, 0xEF }, .len = 32 << 3 }, @@ -719,9 +706,7 @@ struct snow3g_test_data snow3g_auth_cipher_partial_digest_encryption = { .offset_bits = 0 }, .digest = { - .data = { - 0xB3, 0xBD, 0xC3, 0x08 - }, + .data = {0xAE, 0x2C, 0xBB, 0xEF}, .len = 4, .offset_bytes = 28 }, diff --git a/app/test/test_cryptodev_zuc_test_vectors.h b/app/test/test_cryptodev_zuc_test_vectors.h index cc2338e10..818f4584f 100644 --- a/app/test/test_cryptodev_zuc_test_vectors.h +++ b/app/test/test_cryptodev_zuc_test_vectors.h @@ -1,5 +1,5 @@ /* SPDX-License-Identifier: BSD-3-Clause - * Copyright(c) 2016-2017 Intel Corporation + * Copyright(c) 2016-2020 Intel Corporation */ #ifndef TEST_CRYPTODEV_ZUC_TEST_VECTORS_H_ @@ -54,35 +54,36 @@ struct wireless_test_data { unsigned int offset_bytes; /* offset must be in Bytes */ } digest; }; + static struct wireless_test_data zuc_test_case_cipher_193b = { .key = { .data = { - 0x17, 0x3D, 0x14, 0xBA, 0x50, 0x03, 0x73, 0x1D, - 0x7A, 0x60, 0x04, 0x94, 0x70, 0xF0, 0x0A, 0x29 + 0x36, 0x1E, 0x31, 0xF9, 0xE8, 0x41, 0x8E, 0xA8, + 0xB8, 0x79, 0x78, 0x7A, 0x74, 0x88, 0x3F, 0xD7 }, .len = 16 }, .cipher_iv = { .data = { - 0x66, 0x03, 0x54, 0x92, 0x78, 0x00, 0x00, 0x00, - 0x66, 0x03, 0x54, 0x92, 0x78, 0x00, 0x00, 0x00 + 0xC9, 0xC1, 0xA4, 0x67, 0x37, 0x9F, 0x47, 0x2E, + 0xD4, 0x38, 0x81, 0x0C, 0x6E, 0xF0, 0xC7, 0x15 }, .len = 16 }, .plaintext = { .data = { - 0x6C, 0xF6, 0x53, 0x40, 0x73, 0x55, 0x52, 0xAB, - 0x0C, 0x97, 0x52, 0xFA, 0x6F, 0x90, 0x25, 0xFE, - 0x0B, 0xD6, 0x75, 0xD9, 0x00, 0x58, 0x75, 0xB2, + 0x09, 0xA4, 0x38, 0x01, 0x3C, 0x3E, 0x9B, 0x07, + 0x7E, 0xC1, 0xC9, 0x67, 0xF7, 0x7C, 0x06, 0xDE, + 0xE4, 0x83, 0xF6, 0xAE, 0x8B, 0xA8, 0x0C, 0x83, 0x00 }, .len = 200 }, .ciphertext = { .data = { - 0xA6, 0xC8, 0x5F, 0xC6, 0x6A, 0xFB, 0x85, 0x33, - 0xAA, 0xFC, 0x25, 0x18, 0xDF, 0xE7, 0x84, 0x94, - 0x0E, 0xE1, 0xE4, 0xB0, 0x30, 0x23, 0x8C, 0xC8, + 0x91, 0xD8, 0x52, 0x91, 0xC9, 0x57, 0x00, 0xF7, + 0xE0, 0x51, 0x58, 0x1E, 0xE7, 0xB1, 0xB8, 0x54, + 0x5D, 0x76, 0x2E, 0xC0, 0x01, 0xC4, 0xBF, 0x83, 0x00 }, .len = 200 @@ -98,51 +99,51 @@ static struct wireless_test_data zuc_test_case_cipher_193b = { static struct wireless_test_data zuc_test_case_cipher_800b = { .key = { .data = { - 0xE5, 0xBD, 0x3E, 0xA0, 0xEB, 0x55, 0xAD, 0xE8, - 0x66, 0xC6, 0xAC, 0x58, 0xBD, 0x54, 0x30, 0x2A + 0xCA, 0x8A, 0x4D, 0x9C, 0x42, 0xDF, 0x70, 0xE2, + 0xA9, 0x4D, 0x93, 0x43, 0x83, 0x0C, 0x47, 0x2A }, .len = 16 }, .cipher_iv = { .data = { - 0x00, 0x05, 0x68, 0x23, 0xC4, 0x00, 0x00, 0x00, - 0x00, 0x05, 0x68, 0x23, 0xC4, 0x00, 0x00, 0x00 + 0xE0, 0x0F, 0xF1, 0x0C, 0x22, 0x9F, 0x92, 0xE5, + 0x59, 0xBC, 0x3B, 0x82, 0x53, 0x6B, 0xA1, 0xF8 }, .len = 16 }, .plaintext = { .data = { - 0x14, 0xA8, 0xEF, 0x69, 0x3D, 0x67, 0x85, 0x07, - 0xBB, 0xE7, 0x27, 0x0A, 0x7F, 0x67, 0xFF, 0x50, - 0x06, 0xC3, 0x52, 0x5B, 0x98, 0x07, 0xE4, 0x67, - 0xC4, 0xE5, 0x60, 0x00, 0xBA, 0x33, 0x8F, 0x5D, - 0x42, 0x95, 0x59, 0x03, 0x67, 0x51, 0x82, 0x22, - 0x46, 0xC8, 0x0D, 0x3B, 0x38, 0xF0, 0x7F, 0x4B, - 0xE2, 0xD8, 0xFF, 0x58, 0x05, 0xF5, 0x13, 0x22, - 0x29, 0xBD, 0xE9, 0x3B, 0xBB, 0xDC, 0xAF, 0x38, - 0x2B, 0xF1, 0xEE, 0x97, 0x2F, 0xBF, 0x99, 0x77, - 0xBA, 0xDA, 0x89, 0x45, 0x84, 0x7A, 0x2A, 0x6C, - 0x9A, 0xD3, 0x4A, 0x66, 0x75, 0x54, 0xE0, 0x4D, - 0x1F, 0x7F, 0xA2, 0xC3, 0x32, 0x41, 0xBD, 0x8F, - 0x01, 0xBA, 0x22, 0x0D + 0xC1, 0xC1, 0xFC, 0x5A, 0xA5, 0xEF, 0x7D, 0x52, + 0xEF, 0x02, 0xE0, 0xF1, 0x5A, 0x33, 0x02, 0x5F, + 0x27, 0xE7, 0x72, 0xB8, 0x09, 0x07, 0xA1, 0x07, + 0x1B, 0x54, 0x3C, 0x01, 0xFA, 0xF6, 0x15, 0xBB, + 0xB7, 0x11, 0x15, 0x5D, 0x01, 0x93, 0xAF, 0xF1, + 0x95, 0x8F, 0xE2, 0xEF, 0xC2, 0xE4, 0x4E, 0xEA, + 0xCB, 0xC1, 0xA2, 0xD5, 0xC9, 0x44, 0xDD, 0xE4, + 0x99, 0x19, 0xE6, 0x93, 0x0F, 0xFB, 0x4F, 0xC7, + 0x0C, 0x64, 0x24, 0x0E, 0xF8, 0xD3, 0xFF, 0x8D, + 0x63, 0xE2, 0x7D, 0x26, 0xC6, 0xCC, 0x10, 0x92, + 0x8D, 0xB3, 0x68, 0x57, 0xF8, 0x45, 0x3C, 0x91, + 0x5F, 0x22, 0x24, 0x6E, 0x1D, 0x73, 0x35, 0x2A, + 0xD8, 0x5A, 0x38, 0xD0 }, .len = 800 }, .ciphertext = { .data = { - 0x13, 0x1D, 0x43, 0xE0, 0xDE, 0xA1, 0xBE, 0x5C, - 0x5A, 0x1B, 0xFD, 0x97, 0x1D, 0x85, 0x2C, 0xBF, - 0x71, 0x2D, 0x7B, 0x4F, 0x57, 0x96, 0x1F, 0xEA, - 0x32, 0x08, 0xAF, 0xA8, 0xBC, 0xA4, 0x33, 0xF4, - 0x56, 0xAD, 0x09, 0xC7, 0x41, 0x7E, 0x58, 0xBC, - 0x69, 0xCF, 0x88, 0x66, 0xD1, 0x35, 0x3F, 0x74, - 0x86, 0x5E, 0x80, 0x78, 0x1D, 0x20, 0x2D, 0xFB, - 0x3E, 0xCF, 0xF7, 0xFC, 0xBC, 0x3B, 0x19, 0x0F, - 0xE8, 0x2A, 0x20, 0x4E, 0xD0, 0xE3, 0x50, 0xFC, - 0x0F, 0x6F, 0x26, 0x13, 0xB2, 0xF2, 0xBC, 0xA6, - 0xDF, 0x5A, 0x47, 0x3A, 0x57, 0xA4, 0xA0, 0x0D, - 0x98, 0x5E, 0xBA, 0xD8, 0x80, 0xD6, 0xF2, 0x38, - 0x64, 0xA0, 0x7B, 0x01 + 0x2A, 0x59, 0x91, 0xF6, 0xA9, 0x15, 0xAD, 0x20, + 0x49, 0xAB, 0xBD, 0x34, 0xC5, 0xF4, 0xE1, 0x88, + 0xE2, 0x26, 0x42, 0xB7, 0x5B, 0xBF, 0xA1, 0x11, + 0xF7, 0x7A, 0x86, 0xE5, 0x24, 0x08, 0xB1, 0x88, + 0x8B, 0x3F, 0x14, 0xC6, 0x10, 0x64, 0xF8, 0xF5, + 0xD1, 0x8A, 0xB1, 0xAC, 0x10, 0x12, 0x2A, 0x66, + 0x73, 0x3C, 0x6B, 0x4B, 0xD4, 0x86, 0xC9, 0xF4, + 0xE5, 0x7C, 0x30, 0x1A, 0x45, 0x1C, 0xE6, 0x67, + 0x7A, 0xB7, 0xD2, 0x9A, 0x35, 0xB6, 0xA8, 0xD5, + 0xAB, 0x73, 0x4F, 0xE9, 0xD1, 0x0A, 0x66, 0x1D, + 0xC5, 0xB7, 0xC8, 0x54, 0x66, 0x11, 0xBB, 0x16, + 0x4D, 0x92, 0x74, 0x0C, 0xFD, 0x6D, 0xC6, 0xBA, + 0xC1, 0x3E, 0x48, 0xFF }, .len = 800 }, @@ -157,75 +158,75 @@ static struct wireless_test_data zuc_test_case_cipher_800b = { static struct wireless_test_data zuc_test_case_cipher_1570b = { .key = { .data = { - 0xD4, 0x55, 0x2A, 0x8F, 0xD6, 0xE6, 0x1C, 0xC8, - 0x1A, 0x20, 0x09, 0x14, 0x1A, 0x29, 0xC1, 0x0B + 0xFD, 0x5E, 0xD4, 0x79, 0x97, 0xF9, 0x45, 0x0B, + 0x53, 0x5D, 0x87, 0x89, 0xC6, 0x08, 0xE1, 0x3A }, .len = 16 }, .cipher_iv = { .data = { - 0x76, 0x45, 0x2E, 0xC1, 0x14, 0x00, 0x00, 0x00, - 0x76, 0x45, 0x2E, 0xC1, 0x14, 0x00, 0x00, 0x00 + 0x12, 0xFF, 0x5B, 0xAC, 0x6E, 0xAE, 0xE0, 0xFE, + 0x61, 0xB5, 0x9F, 0x27, 0xC9, 0x8C, 0x4B, 0xD2 }, .len = 16 }, .plaintext = { .data = { - 0x38, 0xF0, 0x7F, 0x4B, 0xE2, 0xD8, 0xFF, 0x58, - 0x05, 0xF5, 0x13, 0x22, 0x29, 0xBD, 0xE9, 0x3B, - 0xBB, 0xDC, 0xAF, 0x38, 0x2B, 0xF1, 0xEE, 0x97, - 0x2F, 0xBF, 0x99, 0x77, 0xBA, 0xDA, 0x89, 0x45, - 0x84, 0x7A, 0x2A, 0x6C, 0x9A, 0xD3, 0x4A, 0x66, - 0x75, 0x54, 0x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65, 0xD8, 0x14, 0x31, 0x4F, 0xB1, 0x08, 0xE8, + 0x5C, 0xBE, 0x4C, 0xE6, 0x0E, 0x41, 0x14, 0x58, + 0x3D, 0x64, 0xE5, 0x72, 0x84, 0x00, 0x6A, 0x31, + 0xD2, 0xF1, 0x82, 0xC0, 0x45, 0xA9, 0xB6, 0xAB, + 0x81, 0xCB, 0xDC, 0xD0, 0x7C, 0xE5, 0xB8, 0xD8, + 0xA3, 0x05, 0xBF, 0xB2, 0x46, 0xD3, 0x0B, 0x83, + 0x38, 0xF0, 0xF5, 0xBC, 0xF1, 0x60, 0xEE, 0xC3, + 0x52, 0x70, 0x83, 0x97, 0x19, 0x3A, 0x42, 0x9A, + 0x05, 0x1F, 0x6B, 0x82, 0x04, 0x23, 0x5B, 0xA8, + 0x28, 0x1A, 0x5B, 0x6F, 0xEE, 0x66, 0xF2, 0x26, + 0x56, 0xE8, 0xE3, 0x48, 0x48, 0xD1, 0x0B, 0x9B, + 0x42, 0x8F, 0x32, 0x5B, 0xCA, 0x75, 0xF6, 0xD0, + 0x95, 0x61, 0x52, 0x9A, 0x85, 0xAE, 0x42, 0xAE, + 0xC9, 0x9D, 0x1D, 0xB8, 0x04, 0x10, 0xDF, 0x5B, + 0xF8, 0xC2, 0xA3, 0x41, 0x93, 0xAF, 0xDC, 0xD6, + 0x3E, 0x0F, 0x31, 0x09, 0x85, 0x28, 0xD9, 0x1A, + 0x8A, 0x2C, 0xB4, 0x0F, 0xDA, 0xF7, 0xBE, 0xA4, + 0x95, 0xDB, 0x5C, 0x99, 0xEC, 0x3B, 0xF4, 0xE4, + 0xFE, 0x98, 0x26, 0x92, 0x47, 0x02, 0x68, 0x86, + 0x12, 0x9A, 0x8F, 0x97, 0xC2, 0x68, 0xB2, 0x4D, + 0x94, 0x67, 0x5C, 0x6F, 0x5E, 0x1B, 0x13, 0xF4, + 0xF7, 0x70, 0x8D, 0xE3, 0xAC }, .len = 1576 }, .ciphertext = { .data = { - 0x83, 0x83, 0x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52, 0x78, 0xEC, 0x84, 0x35, + 0x0C, 0x1D, 0x06, 0xF1, 0x36, 0x38, 0x9D, 0x47, + 0x6E, 0x5D, 0x74, 0xDB, 0x33, 0x38, 0x1B, 0x7C, + 0xF4, 0xB7, 0xEA, 0xF1, 0xED, 0x1F, 0x56, 0x37, + 0x6B, 0xE9, 0x4F, 0x94, 0x51 }, .len = 1576 }, @@ -240,113 +241,113 @@ static struct wireless_test_data zuc_test_case_cipher_1570b = { static struct wireless_test_data zuc_test_case_cipher_2798b = { .key = { .data = { - 0xDB, 0x84, 0xB4, 0xFB, 0xCC, 0xDA, 0x56, 0x3B, - 0x66, 0x22, 0x7B, 0xFE, 0x45, 0x6F, 0x0F, 0x77 + 0x21, 0x8E, 0x71, 0x95, 0x60, 0x1C, 0x1E, 0x2A, + 0xBE, 0xA5, 0xDE, 0xB1, 0x14, 0x3F, 0x8B, 0x40 }, .len = 16 }, .cipher_iv = { .data = { - 0xE4, 0x85, 0x0F, 0xE1, 0x84, 0x00, 0x00, 0x00, - 0xE4, 0x85, 0x0F, 0xE1, 0x84, 0x00, 0x00, 0x00 + 0x35, 0xAE, 0xF7, 0xC7, 0x36, 0xD0, 0x38, 0x1C, + 0xCA, 0x7C, 0xF4, 0xCD, 0x94, 0xC1, 0xF2, 0xD5 }, .len = 16 }, .plaintext = { .data = { - 0xE5, 0x39, 0xF3, 0xB8, 0x97, 0x32, 0x40, 0xDA, - 0x03, 0xF2, 0xB8, 0xAA, 0x05, 0xEE, 0x0A, 0x00, - 0xDB, 0xAF, 0xC0, 0xE1, 0x82, 0x05, 0x5D, 0xFE, - 0x3D, 0x73, 0x83, 0xD9, 0x2C, 0xEF, 0x40, 0xE9, - 0x29, 0x28, 0x60, 0x5D, 0x52, 0xD0, 0x5F, 0x4F, - 0x90, 0x18, 0xA1, 0xF1, 0x89, 0xAE, 0x39, 0x97, - 0xCE, 0x19, 0x15, 0x5F, 0xB1, 0x22, 0x1D, 0xB8, - 0xBB, 0x09, 0x51,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F, 0x2D, 0x7F, + 0x0D, 0x52, 0xDE, 0xDD, 0x61, 0xEE, 0x71, 0x79, + 0x16, 0x27, 0xF4, 0x41, 0x93, 0x1D, 0xF5, 0x23, + 0xC8, 0x57, 0x1D, 0x18, 0x2E, 0x7B, 0xA0, 0x7F, + 0xA3, 0x40, 0x29, 0xC3, 0xCF, 0x57, 0x42, 0xDD, + 0xA9, 0x21, 0xBA, 0x0B, 0x10, 0x2C, 0x84, 0x26, + 0x54, 0x79, 0x68, 0xE7, 0x97, 0x5E, 0x0B, 0x5F, + 0xB6, 0x29, 0x78, 0xE4, 0xA4, 0x18, 0x64, 0x48, + 0x59, 0x8E, 0x0C, 0x28, 0xE5, 0x4F, 0x06, 0x8F, + 0x70, 0xC1, 0x9A, 0x80, 0xED, 0x1F, 0xA7, 0x42, + 0x98, 0x0F, 0x2A, 0x30, 0x6E, 0x35, 0x90, 0x24, + 0x5E, 0x08, 0x09, 0x03, 0x21, 0x6D, 0x4B, 0x7A, + 0xFC, 0x57, 0xA3, 0xE1, 0xA6, 0xA9, 0x70, 0x17, + 0x6B, 0x0A, 0x97, 0x58, 0x29, 0x3F }, .len = 2800 }, .ciphertext = { .data = { - 0x4B, 0xBF, 0xA9, 0x1B, 0xA2, 0x5D, 0x47, 0xDB, - 0x9A, 0x9F, 0x19, 0x0D, 0x96, 0x2A, 0x19, 0xAB, - 0x32, 0x39, 0x26, 0xB3, 0x51, 0xFB, 0xD3, 0x9E, - 0x35, 0x1E, 0x05, 0xDA, 0x8B, 0x89, 0x25, 0xE3, - 0x0B, 0x1C, 0xCE, 0x0D, 0x12, 0x21, 0x10, 0x10, - 0x95, 0x81, 0x5C, 0xC7, 0xCB, 0x63, 0x19, 0x50, - 0x9E, 0xC0, 0xD6, 0x79, 0x40, 0x49, 0x19, 0x87, - 0xE1, 0x3F, 0x0A, 0xFF, 0xAC, 0x33, 0x2A, 0xA6, - 0xAA, 0x64, 0x62, 0x6D, 0x3E, 0x9A, 0x19, 0x17, - 0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, 0x72, 0xA0, 0x17, 0x0E, + 0x31, 0xA5, 0x1C, 0x68, 0xDD, 0xD0, 0x13, 0xAB, + 0x54, 0x62, 0x3A, 0x4E, 0x0F, 0x7E, 0xCC, 0xF1, + 0x9D, 0x9A, 0xF8, 0xEF, 0x8E, 0x46, 0xFB, 0x3C, + 0x99, 0x05, 0xDF, 0x50, 0x6C, 0x5E, 0x2A, 0x71, + 0xE3, 0x80, 0x25, 0xF4, 0xE3, 0x22, 0x4E, 0x70, + 0x4E, 0x65, 0xE6, 0xD3, 0x74, 0xDC, 0x89, 0x86, + 0xB6, 0x75, 0x35, 0x10, 0x34, 0x07, 0x67, 0x7E, + 0xBF, 0x20, 0xC3, 0x5D, 0xE9, 0x2D, 0x9A, 0xD9, + 0x21, 0xD6, 0xDC, 0x5D, 0x70, 0xC9, 0x04, 0xC3, + 0x1C, 0x71, 0x75, 0x0A, 0xE5, 0x9D, 0xC6, 0x81, + 0x37, 0x72, 0xDE, 0xBF, 0x28, 0xA8 }, .len = 2800 }, @@ -361,151 +362,151 @@ static struct wireless_test_data zuc_test_case_cipher_2798b = { static struct wireless_test_data zuc_test_case_cipher_4019b = { .key = { .data = { - 0xE1, 0x3F, 0xED, 0x21, 0xB4, 0x6E, 0x4E, 0x7E, - 0xC3, 0x12, 0x53, 0xB2, 0xBB, 0x17, 0xB3, 0xE0 + 0xD6, 0x46, 0x97, 0x30, 0xC0, 0x41, 0x79, 0x64, + 0x0C, 0x4D, 0x63, 0x19, 0x26, 0x98, 0x95, 0x87 }, .len = 16 }, .cipher_iv = { .data = { - 0x27, 0x38, 0xCD, 0xAA, 0xD0, 0x00, 0x00, 0x00, - 0x27, 0x38, 0xCD, 0xAA, 0xD0, 0x00, 0x00, 0x00 + 0xEB, 0xE7, 0x1C, 0xE3, 0x96, 0x76, 0x14, 0x56, + 0x98, 0xA4, 0xFA, 0xB6, 0xA8, 0x1B, 0x7D, 0x1E }, .len = 16 }, .plaintext = { .data = { - 0x8D, 0x74, 0xE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10, 0x55, 0xE1, 0x9A, 0xB8, 0x50, - 0x18, 0xA0, 0x02, 0x8B, 0x71, 0xA1, 0x44, 0xD9, - 0x67, 0x91, 0xE9, 0xA3, 0x57, 0x79, 0x33, 0x50, - 0x4E, 0xEE, 0x00, 0x60, 0x34, 0x0C, 0x69, 0xD2, - 0x74, 0xE1, 0xBF, 0x9D, 0x80, 0x5D, 0xCB, 0xCC, - 0x1A, 0x6F, 0xAA, 0x97, 0x68, 0x00, 0xB6, 0xFF, - 0x2B, 0x67, 0x1D, 0xC4, 0x63, 0x65, 0x2F, 0xA8, - 0xA3, 0x3E, 0xE5, 0x09, 0x74, 0xC1, 0xC2, 0x1B, - 0xE0, 0x1E, 0xAB, 0xB2, 0x16, 0x74, 0x30, 0x26, - 0x9D, 0x72, 0xEE, 0x51, 0x1C, 0x9D, 0xDE, 0x30, - 0x79, 0x7C, 0x9A, 0x25, 0xD8, 0x6C, 0xE7, 0x4F, - 0x5B, 0x96, 0x1B, 0xE5, 0xFD, 0xFB, 0x68, 0x07, - 0x81, 0x40, 0x39, 0xE7, 0x13, 0x76, 0x36, 0xBD, - 0x1D, 0x7F, 0xA9, 0xE0, 0x9E, 0xFD, 0x20, 0x07, - 0x50, 0x59, 0x06, 0xA5, 0xAC, 0x45, 0xDF, 0xDE, - 0xED, 0x77, 0x57, 0xBB, 0xEE, 0x74, 0x57, 0x49, - 0xC2, 0x96, 0x33, 0x35, 0x0B, 0xEE, 0x0E, 0xA6, - 0xF4, 0x09, 0xDF, 0x45, 0x80, 0x16, 0x00 + 0xCF, 0x7E, 0x46, 0xEF, 0x23, 0x52, 0x86, 0x55, + 0xD2, 0x03, 0x30, 0xC7, 0x7E, 0xC1, 0xD0, 0x3D, + 0x8D, 0x2D, 0xE3, 0x0A, 0x29, 0xC6, 0xF4, 0x42, + 0x01, 0xC8, 0x73, 0xCC, 0x76, 0x91, 0x4F, 0x45, + 0x0F, 0x95, 0x34, 0x33, 0xE8, 0xBB, 0x88, 0xBB, + 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xF5, 0x1B, + 0xC2, 0xCC, 0x4E, 0x92, 0xF2, 0x1A, 0xB6, 0x4B, + 0xB6, 0xFE, 0xC0, 0xF1, 0xFC, 0x64, 0x17, 0x4B, + 0x89, 0x87, 0xFC, 0x69, 0xA9, 0xBC, 0xFE, 0x70, + 0x36, 0xAF, 0x6A, 0xC4, 0x9C, 0x7B, 0x6E, 0xB2, + 0xA0, 0xAA, 0x37, 0x69, 0x87, 0xF3, 0xFF, 0xC8, + 0x59, 0xA4, 0x17, 0x39, 0xF1, 0x01, 0xEF }, .len = 4024 }, @@ -520,33 +521,33 @@ static struct wireless_test_data zuc_test_case_cipher_4019b = { static struct wireless_test_data zuc_test_case_cipher_200b_auth_200b = { .key = { .data = { - 0x17, 0x3D, 0x14, 0xBA, 0x50, 0x03, 0x73, 0x1D, - 0x7A, 0x60, 0x04, 0x94, 0x70, 0xF0, 0x0A, 0x29 + 0xB0, 0x94, 0x6E, 0xF9, 0xAF, 0xAD, 0xF6, 0xD2, + 0x0A, 0x5F, 0x65, 0xD6, 0x51, 0x63, 0xA0, 0x58 }, .len = 16 }, .cipher_iv = { .data = { - 0x66, 0x03, 0x54, 0x92, 0x78, 0x00, 0x00, 0x00, - 0x66, 0x03, 0x54, 0x92, 0x78, 0x00, 0x00, 0x00 + 0xB3, 0x79, 0x0D, 0x37, 0xB9, 0xBA, 0xFE, 0x63, + 0x2E, 0x77, 0xF6, 0xF9, 0xA1, 0xC1, 0x92, 0x91 }, .len = 16 }, .plaintext = { .data = { - 0x6C, 0xF6, 0x53, 0x40, 0x73, 0x55, 0x52, 0xAB, - 0x0C, 0x97, 0x52, 0xFA, 0x6F, 0x90, 0x25, 0xFE, - 0x0B, 0xD6, 0x75, 0xD9, 0x00, 0x58, 0x75, 0xB2, + 0xCA, 0xFE, 0xB1, 0xA8, 0x9A, 0x7A, 0x21, 0x66, + 0x5F, 0xE7, 0x1F, 0x38, 0xF3, 0xA1, 0xEC, 0xE1, + 0xE7, 0xD4, 0x45, 0x7B, 0xFB, 0x43, 0x48, 0xD2, 0x00 }, .len = 200 }, .ciphertext = { .data = { - 0xA6, 0xC8, 0x5F, 0xC6, 0x6A, 0xFB, 0x85, 0x33, - 0xAA, 0xFC, 0x25, 0x18, 0xDF, 0xE7, 0x84, 0x94, - 0x0E, 0xE1, 0xE4, 0xB0, 0x30, 0x23, 0x8C, 0xC8, - 0x10 + 0xA1, 0xA1, 0xAC, 0x99, 0x06, 0x6A, 0x6C, 0xCD, + 0x4C, 0x15, 0xAE, 0x0B, 0x45, 0xCE, 0xEC, 0x68, + 0x28, 0xA1, 0x77, 0x92, 0x8A, 0xFB, 0x17, 0xD0, + 0x73 }, .len = 200 }, @@ -558,13 +559,13 @@ static struct wireless_test_data zuc_test_case_cipher_200b_auth_200b = { }, .auth_iv = { .data = { - 0xFA, 0x55, 0x6B, 0x26, 0x1C, 0x00, 0x00, 0x00, - 0xFA, 0x55, 0x6B, 0x26, 0x1C, 0x00, 0x00, 0x00 + 0x51, 0x2B, 0x0C, 0x61, 0x38, 0x9D, 0x36, 0x99, + 0x4A, 0x2F, 0x53, 0x9F, 0xE1, 0xB9, 0xC0, 0x08 }, .len = 16 }, .digest = { - .data = {0x01, 0xFE, 0x5E, 0x38}, + .data = {0x64, 0x70, 0x41, 0xD4}, .len = 4 }, .validAuthLenInBits = { @@ -575,51 +576,51 @@ static struct wireless_test_data zuc_test_case_cipher_200b_auth_200b = { static struct wireless_test_data zuc_test_case_cipher_800b_auth_120b = { .key = { .data = { - 0xE5, 0xBD, 0x3E, 0xA0, 0xEB, 0x55, 0xAD, 0xE8, - 0x66, 0xC6, 0xAC, 0x58, 0xBD, 0x54, 0x30, 0x2A + 0xC2, 0x36, 0x60, 0xE6, 0xFD, 0x0B, 0xAE, 0x57, + 0xA5, 0x1C, 0xED, 0x67, 0xCA, 0xC9, 0x27, 0x95 }, .len = 16 }, .cipher_iv = { .data = { - 0x00, 0x05, 0x68, 0x23, 0xC4, 0x00, 0x00, 0x00, - 0x00, 0x05, 0x68, 0x23, 0xC4, 0x00, 0x00, 0x00 + 0x21, 0x04, 0xCD, 0xF7, 0xF7, 0x50, 0x93, 0xB5, + 0x98, 0xCC, 0x81, 0x34, 0x82, 0xB5, 0x18, 0x45 }, .len = 16 }, .plaintext = { .data = { - 0x14, 0xA8, 0xEF, 0x69, 0x3D, 0x67, 0x85, 0x07, - 0xBB, 0xE7, 0x27, 0x0A, 0x7F, 0x67, 0xFF, 0x50, - 0x06, 0xC3, 0x52, 0x5B, 0x98, 0x07, 0xE4, 0x67, - 0xC4, 0xE5, 0x60, 0x00, 0xBA, 0x33, 0x8F, 0x5D, - 0x42, 0x95, 0x59, 0x03, 0x67, 0x51, 0x82, 0x22, - 0x46, 0xC8, 0x0D, 0x3B, 0x38, 0xF0, 0x7F, 0x4B, - 0xE2, 0xD8, 0xFF, 0x58, 0x05, 0xF5, 0x13, 0x22, - 0x29, 0xBD, 0xE9, 0x3B, 0xBB, 0xDC, 0xAF, 0x38, - 0x2B, 0xF1, 0xEE, 0x97, 0x2F, 0xBF, 0x99, 0x77, - 0xBA, 0xDA, 0x89, 0x45, 0x84, 0x7A, 0x2A, 0x6C, - 0x9A, 0xD3, 0x4A, 0x66, 0x75, 0x54, 0xE0, 0x4D, - 0x1F, 0x7F, 0xA2, 0xC3, 0x32, 0x41, 0xBD, 0x8F, - 0x01, 0xBA, 0x22, 0x0D + 0x36, 0x25, 0xD3, 0xA9, 0x4D, 0x85, 0xAE, 0x27, + 0xA6, 0xA3, 0x98, 0x51, 0x04, 0xB8, 0x02, 0x5D, + 0x7B, 0x0C, 0x70, 0x13, 0x1B, 0x7C, 0x6C, 0xE3, + 0x0E, 0x4C, 0x16, 0x14, 0xD8, 0xB1, 0x76, 0x0F, + 0xD7, 0x4A, 0xB8, 0x25, 0xCF, 0x67, 0x4C, 0x76, + 0x0B, 0xE5, 0xC8, 0x10, 0x9E, 0xCA, 0x6D, 0x1A, + 0xD6, 0xDD, 0x2E, 0xF2, 0x5A, 0x9B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 0xD2, 0x0C, 0xC8, 0xA3, 0x3B, + 0x79, 0xF8, 0x77, 0x50, 0xE4, 0x48, 0xFF, 0x2B, + 0x11, 0x61, 0x2B, 0x12, 0x94, 0x42, 0x75, 0x92, + 0x87, 0xE6, 0x47, 0x92, 0x69, 0xF3, 0x79, 0x1B, + 0xCB, 0xF1, 0x0E, 0x31, 0x75, 0x9D, 0xD1, 0x7B, + 0xC0, 0xF6, 0x9E, 0xCA, 0x5E, 0x36, 0x45, 0x04, + 0x3D, 0xCC, 0xA0, 0xE5, 0xE5, 0x47, 0x04, 0x7A, + 0x0A, 0xD5, 0x40, 0x77, 0x0B, 0x3D, 0x94, 0x79, + 0x22, 0x39, 0xC6, 0xFF, 0x0B, 0x55, 0x32, 0xBD, + 0xEE, 0x2A, 0x11, 0xDF }, .len = 800 }, @@ -631,13 +632,13 @@ static struct wireless_test_data zuc_test_case_cipher_800b_auth_120b = { }, .auth_iv = { .data = { - 0xFA, 0x55, 0x6B, 0x26, 0x1C, 0x00, 0x00, 0x00, - 0xFA, 0x55, 0x6B, 0x26, 0x1C, 0x00, 0x00, 0x00 + 0xDF, 0x85, 0x43, 0xD3, 0x72, 0x64, 0x60, 0x7E, + 0x1F, 0xBE, 0x39, 0x6D, 0x3C, 0x66, 0x66, 0xD7 }, .len = 16 }, .digest = { - .data = {0x9D, 0x42, 0x1C, 0xEA}, + .data = {0xD6, 0xF5, 0x9A, 0x74}, .len = 4 }, .validAuthLenInBits = { @@ -648,15 +649,15 @@ static struct wireless_test_data zuc_test_case_cipher_800b_auth_120b = { struct wireless_test_data zuc_test_case_auth_1b = { .key = { .data = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + 0x74, 0xA6, 0xC9, 0x86, 0x49, 0x99, 0xFB, 0xF1, + 0xAD, 0x15, 0x51, 0x8B, 0xBF, 0x6A, 0xD0, 0x6E }, .len = 16 }, .auth_iv = { .data = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + 0x76, 0x0A, 0x68, 0x44, 0x53, 0xA5, 0x03, 0x81, + 0x50, 0x2E, 0x61, 0xAD, 0x8E, 0x46, 0xC2, 0x27 }, .len = 16 }, @@ -668,7 +669,7 @@ struct wireless_test_data zuc_test_case_auth_1b = { .len = 1 }, .digest = { - .data = {0xC8, 0xA9, 0x59, 0x5E}, + .data = {0x41, 0x10, 0xBF, 0xE1}, .len = 4 } }; @@ -676,22 +677,22 @@ struct wireless_test_data zuc_test_case_auth_1b = { struct wireless_test_data zuc_test_case_auth_90b = { .key = { .data = { - 0x47, 0x05, 0x41, 0x25, 0x56, 0x1E, 0xB2, 0xDD, - 0xA9, 0x40, 0x59, 0xDA, 0x05, 0x09, 0x78, 0x50 + 0xB2, 0xA6, 0x3F, 0x63, 0x45, 0xAD, 0xC9, 0xB9, + 0x33, 0x88, 0x88, 0x44, 0x7A, 0x1A, 0x1F, 0x01 }, .len = 16 }, .auth_iv = { .data = { - 0x56, 0x1E, 0xB2, 0xDD, 0xA0, 0x00, 0x00, 0x00, - 0x56, 0x1E, 0xB2, 0xDD, 0xA0, 0x00, 0x00, 0x00 + 0x58, 0xA0, 0x10, 0xCE, 0x5F, 0x00, 0x73, 0xFE, + 0x08, 0x0A, 0x16, 0x3C, 0xE1, 0xE9, 0x11, 0x42 }, .len = 16 }, .plaintext = { .data = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00 + 0x00, 0x7E, 0x7E, 0xF7, 0x03, 0xDE, 0xA4, 0x53, + 0x00, 0xA3, 0xB5, 0xD6 }, .len = 96 }, @@ -699,7 +700,7 @@ struct wireless_test_data zuc_test_case_auth_90b = { .len = 90 }, .digest = { - .data = {0x67, 0x19, 0xA0, 0x88}, + .data = {0x7B, 0x75, 0xD1, 0x3F}, .len = 4 } }; @@ -707,30 +708,30 @@ struct wireless_test_data zuc_test_case_auth_90b = { struct wireless_test_data zuc_test_case_auth_577b = { .key = { .data = { - 0xC9, 0xE6, 0xCE, 0xC4, 0x60, 0x7C, 0x72, 0xDB, - 0x00, 0x0A, 0xEF, 0xA8, 0x83, 0x85, 0xAB, 0x0A + 0xDF, 0x4D, 0xEB, 0x87, 0x7C, 0x23, 0x08, 0xB0, + 0x72, 0x51, 0x49, 0x22, 0xCF, 0x00, 0xE4, 0xE9 }, .len = 16 }, .auth_iv = { .data = { - 0xA9, 0x40, 0x59, 0xDA, 0x50, 0x00, 0x00, 0x00, - 0x29, 0x40, 0x59, 0xDA, 0x50, 0x00, 0x80, 0x00 + 0x86, 0x47, 0xBC, 0xF3, 0x17, 0xF7, 0xB4, 0xF5, + 0xC8, 0xD4, 0xD8, 0x1C, 0xB9, 0x4F, 0xD8, 0x2D }, .len = 16 }, .plaintext = { .data = { - 0x98, 0x3B, 0x41, 0xD4, 0x7D, 0x78, 0x0C, 0x9E, - 0x1A, 0xD1, 0x1D, 0x7E, 0xB7, 0x03, 0x91, 0xB1, - 0xDE, 0x0B, 0x35, 0xDA, 0x2D, 0xC6, 0x2F, 0x83, - 0xE7, 0xB7, 0x8D, 0x63, 0x06, 0xCA, 0x0E, 0xA0, - 0x7E, 0x94, 0x1B, 0x7B, 0xE9, 0x13, 0x48, 0xF9, - 0xFC, 0xB1, 0x70, 0xE2, 0x21, 0x7F, 0xEC, 0xD9, - 0x7F, 0x9F, 0x68, 0xAD, 0xB1, 0x6E, 0x5D, 0x7D, - 0x21, 0xE5, 0x69, 0xD2, 0x80, 0xED, 0x77, 0x5C, - 0xEB, 0xDE, 0x3F, 0x40, 0x93, 0xC5, 0x38, 0x81, - 0x00 + 0x8C, 0xF4, 0x17, 0x2C, 0xB5, 0x1A, 0xC9, 0xA8, + 0x33, 0x9B, 0x8C, 0x03, 0x26, 0x67, 0xAC, 0x54, + 0xA6, 0xFB, 0xC4, 0xC5, 0x59, 0x6C, 0x37, 0x02, + 0x08, 0x3E, 0x13, 0xA7, 0x1E, 0x97, 0x17, 0xAB, + 0x8C, 0x2F, 0xD7, 0x41, 0x49, 0xA0, 0xEA, 0x7D, + 0x3C, 0x76, 0x80, 0x63, 0xDD, 0x2C, 0xB8, 0x84, + 0x28, 0x7C, 0x49, 0x81, 0xE9, 0x81, 0x84, 0xF1, + 0xBF, 0x98, 0x98, 0xDD, 0x2F, 0xAF, 0x88, 0xBB, + 0xDE, 0x60, 0xFD, 0x28, 0x01, 0xE8, 0xA6, 0x3E, + 0x5E }, .len = 584 }, @@ -738,7 +739,7 @@ struct wireless_test_data zuc_test_case_auth_577b = { .len = 577 }, .digest = { - .data = {0xFA, 0xE8, 0xFF, 0x0B}, + .data = {0xFF, 0x46, 0x7D, 0xC8}, .len = 4 } }; @@ -746,53 +747,53 @@ struct wireless_test_data zuc_test_case_auth_577b = { struct wireless_test_data zuc_test_case_auth_2079b = { .key = { .data = { - 0xC8, 0xA4, 0x82, 0x62, 0xD0, 0xC2, 0xE2, 0xBA, - 0xC4, 0xB9, 0x6E, 0xF7, 0x7E, 0x80, 0xCA, 0x59 + 0x59, 0xE8, 0x38, 0x83, 0xE9, 0x40, 0x9D, 0x31, + 0xDC, 0x1F, 0xA7, 0x73, 0x76, 0x04, 0x90, 0xD7 }, .len = 16 }, .auth_iv = { .data = { - 0x05, 0x09, 0x78, 0x50, 0x80, 0x00, 0x00, 0x00, - 0x85, 0x09, 0x78, 0x50, 0x80, 0x00, 0x80, 0x00 + 0x80, 0xE4, 0x8A, 0xEF, 0x85, 0x14, 0xC8, 0xF7, + 0xB2, 0xA1, 0x37, 0xED, 0xDF, 0x55, 0x05, 0x9A }, .len = 16 }, .plaintext = { .data = { - 0xB5, 0x46, 0x43, 0x0B, 0xF8, 0x7B, 0x4F, 0x1E, - 0xE8, 0x34, 0x70, 0x4C, 0xD6, 0x95, 0x1C, 0x36, - 0xE2, 0x6F, 0x10, 0x8C, 0xF7,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6C, + 0x21, 0xC9, 0x22, 0x24, 0x82, 0xD1, 0xF9, 0xA2, + 0x84, 0x5C, 0x75, 0x6F, 0xA8, 0xB3, 0x33, 0x8C, + 0xDF, 0x5D, 0x0F, 0x41, 0xB7, 0x82, 0x6E, 0xA2, + 0x63, 0xC8, 0xA1, 0xAB, 0x31, 0x2B, 0x18, 0x52, + 0xF5, 0x3A, 0x77, 0x77, 0x0C, 0x70, 0x19, 0x90, + 0xCD, 0x8F, 0x00, 0x75, 0x43, 0x34, 0x02, 0x23, + 0x92, 0x11, 0x64, 0x4A, 0x94, 0xD3, 0xEC, 0xF7, + 0x9C, 0x8D, 0xA3, 0xCD, 0xB9, 0xBB, 0x20, 0xAF, + 0xF6, 0x97, 0x26, 0x02, 0x08, 0x40, 0x93, 0xD5, + 0xD0, 0x93, 0x4B, 0x13, 0xC8, 0x4D, 0x36, 0x5A, + 0x5E, 0x9B, 0xA4, 0xF3, 0x6E, 0x91, 0xEA, 0x0A, + 0x1F, 0x8E, 0xD7, 0xD8, 0x4A, 0xF8, 0x88, 0x40, + 0x8F, 0xAF, 0x42, 0x97, 0xEF, 0xD5, 0x6D, 0xC0, + 0x69, 0xB8, 0xD3, 0x31, 0x05, 0x09, 0x8C, 0x64, + 0xA4, 0x31, 0x57, 0x12, 0xC2, 0x42, 0x1D, 0xE1, + 0xD0, 0xF5, 0xBA, 0x1B, 0xED, 0x42, 0x5C, 0x7C, + 0xF2, 0x9E, 0x14, 0xE1, 0x74, 0x82, 0xA1, 0xDE, + 0x3A, 0x75, 0x10, 0x3F }, .len = 2080 }, @@ -800,7 +801,7 @@ struct wireless_test_data zuc_test_case_auth_2079b = { .len = 2079 }, .digest = { - .data = {0x00, 0x4A, 0xC4, 0xD6}, + .data = {0x50, 0x4D, 0xAE, 0x5F}, .len = 4 } }; @@ -808,109 +809,109 @@ struct wireless_test_data zuc_test_case_auth_2079b = { struct wireless_test_data zuc_test_auth_5670b = { .key = { .data = { - 0x6B, 0x8B, 0x08, 0xEE, 0x79, 0xE0, 0xB5, 0x98, - 0x2D, 0x6D, 0x12, 0x8E, 0xA9, 0xF2, 0x20, 0xCB + 0x66, 0xC3, 0x6F, 0xF5, 0x25, 0x87, 0x47, 0x16, + 0x32, 0xAD, 0x0E, 0x40, 0xD1, 0x32, 0xB7, 0xA6 }, .len = 16 }, .auth_iv = { .data = { - 0x56, 0x1E, 0xB2, 0xDD, 0xE0, 0x00, 0x00, 0x00, - 0x56, 0x1E, 0xB2, 0xDD, 0xE0, 0x00, 0x00, 0x00 + 0x6A, 0x28, 0x0E, 0xB4, 0x30, 0x94, 0xCF, 0xA8, + 0xD7, 0xC7, 0x21, 0x64, 0x23, 0x91, 0xAB, 0x60 }, .len = 16 }, .plaintext = { .data = { - 0x5B, 0xAD, 0x72, 0x47, 0x10, 0xBA, 0x1C, 0x56, - 0xD5, 0xA3, 0x15, 0xF8, 0xD4, 0x0F, 0x6E, 0x09, - 0x37, 0x80, 0xBE, 0x8E, 0x8D, 0xE0, 0x7B, 0x69, - 0x92, 0x43, 0x20, 0x18, 0xE0, 0x8E, 0xD9, 0x6A, - 0x57, 0x34, 0xAF, 0x8B, 0xAD, 0x8A, 0x57, 0x5D, - 0x3A, 0x1F, 0x16, 0x2F, 0x85, 0x04, 0x5C, 0xC7, - 0x70, 0x92, 0x55, 0x71, 0xD9, 0xF5, 0xB9, 0x4E, - 0x45, 0x4A, 0x77, 0xC1, 0x6E, 0x72, 0x93, 0x6B, - 0xF0, 0x16, 0xAE, 0x15, 0x74, 0x99, 0xF0, 0x54, - 0x3B, 0x5D, 0x52, 0xCA, 0xA6, 0xDB, 0xEA, 0xB6, - 0x97, 0xD2, 0xBB, 0x73, 0xE4, 0x1B, 0x80, 0x75, - 0xDC, 0xE7, 0x9B, 0x4B, 0x86, 0x04, 0x4F, 0x66, - 0x1D, 0x44, 0x85, 0xA5, 0x43, 0xDD, 0x78, 0x60, - 0x6E, 0x04, 0x19, 0xE8, 0x05, 0x98, 0x59, 0xD3, - 0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x16, 0x96, 0x9C, + 0x37, 0x45, 0xB0, 0xA7, 0xEF, 0x0D, 0xD1, 0x40, + 0x58, 0x0E, 0xAA, 0x6A, 0x2C, 0x78, 0x70, 0x84, + 0xE2, 0x20, 0x5F, 0xA4, 0x53, 0x21, 0x8B, 0x4F, + 0xB5, 0x8C, 0xD1, 0x0E, 0xA3, 0x68, 0xAB, 0xDA, + 0xAD, 0x5C, 0x82, 0x9D, 0x69, 0x54, 0xDD, 0xC2, + 0x62, 0x87, 0x2C, 0x8F, 0x00, 0x9C, 0x13, 0xE2, + 0xBD, 0x72, 0x87, 0x11, 0x9C }, .len = 5672 }, @@ -918,29 +919,35 @@ struct wireless_test_data zuc_test_auth_5670b = { .len = 5670 }, .digest = { - .data = {0x0C, 0xA1, 0x27, 0x92}, + .data = {0x9F, 0x1D, 0xFD, 0x5F}, .len = 4 } }; static struct wireless_test_data zuc_test_case_auth_128b = { .key = { - .data = { 0x0 }, + .data = { + 0x91, 0xCD, 0xA4, 0x10, 0xDC, 0xB0, 0x28, 0x2F, + 0xA1, 0xF3, 0xCE, 0xB3, 0xEC, 0x54, 0x8A, 0x6A + }, .len = 16 }, .auth_iv = { - .data = { 0x0 }, + .data = { + 0xCF, 0xEB, 0xFE, 0xB1, 0xD0, 0x3B, 0x71, 0xEA, + 0x07, 0x50, 0xF8, 0xCD, 0xDA, 0x2C, 0xEB, 0x48 + }, .len = 16 }, .plaintext = { - .data = { 0x0 }, + .data = { 0xA1 }, .len = 8 }, .validAuthLenInBits = { .len = 8 }, .digest = { - .data = { 0x39, 0x0a, 0x91, 0xb7 }, + .data = { 0x8B, 0xCB, 0x86, 0xFD }, .len = 4 } }; @@ -948,53 +955,53 @@ static struct wireless_test_data zuc_test_case_auth_128b = { static struct wireless_test_data zuc_test_case_auth_2080b = { .key = { .data = { - 0xC8, 0xA4, 0x82, 0x62, 0xD0, 0xC2, 0xE2, 0xBA, - 0xC4, 0xB9, 0x6E, 0xF7, 0x7E, 0x80, 0xCA, 0x59 + 0x87, 0x07, 0x41, 0x89, 0xB8, 0x6B, 0xD2, 0xB4, + 0xF7, 0x0F, 0x0D, 0x56, 0x3B, 0x61, 0xE6, 0xC7 }, .len = 16 }, .auth_iv = { .data = { - 0x05, 0x09, 0x78, 0x50, 0x80, 0x00, 0x00, 0x00, - 0x85, 0x09, 0x78, 0x50, 0x80, 0x00, 0x80, 0x00 + 0x88, 0xEA, 0x5F, 0x46, 0xC1, 0x76, 0xD8, 0xC3, + 0x99, 0xA6, 0x9D, 0xF7, 0x09, 0x3C, 0x55, 0x7D }, .len = 16 }, .plaintext = { .data = { - 0xB5, 0x46, 0x43, 0x0B, 0xF8, 0x7B, 0x4F, 0x1E, - 0xE8, 0x34, 0x70, 0x4C, 0xD6, 0x95, 0x1C, 0x36, - 0xE2, 0x6F, 0x10, 0x8C, 0xF7, 0x31, 0x78, 0x8F, - 0x48, 0xDC, 0x34, 0xF1, 0x67, 0x8C, 0x05, 0x22, - 0x1C, 0x8F, 0xA7, 0xFF, 0x2F, 0x39, 0xF4, 0x77, - 0xE7, 0xE4, 0x9E, 0xF6, 0x0A, 0x4E, 0xC2, 0xC3, - 0xDE, 0x24, 0x31, 0x2A, 0x96, 0xAA, 0x26, 0xE1, - 0xCF, 0xBA, 0x57, 0x56, 0x38, 0x38, 0xB2, 0x97, - 0xF4, 0x7E, 0x85, 0x10, 0xC7, 0x79, 0xFD, 0x66, - 0x54, 0xB1, 0x43, 0x38, 0x6F, 0xA6, 0x39, 0xD3, - 0x1E, 0xDB, 0xD6, 0xC0, 0x6E, 0x47, 0xD1, 0x59, - 0xD9, 0x43, 0x62, 0xF2, 0x6A, 0xEE, 0xED, 0xEE, - 0x0E, 0x4F, 0x49, 0xD9, 0xBF, 0x84, 0x12, 0x99, - 0x54, 0x15, 0xBF, 0xAD, 0x56, 0xEE, 0x82, 0xD1, - 0xCA, 0x74, 0x63, 0xAB, 0xF0, 0x85, 0xB0, 0x82, - 0xB0, 0x99, 0x04, 0xD6, 0xD9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0x08, + 0x9F, 0x55, 0x34, 0x0B, 0x10, 0x13, 0x69, 0x38, + 0x56, 0xED, 0x13, 0x29, 0x64, 0xAE, 0xC7, 0x69, + 0xE5, 0xBB, 0xB0, 0xEE, 0x72, 0x39, 0xCE, 0x0A, + 0xE2, 0xBB, 0xB1, 0xAF, 0x4F, 0xC2, 0xB8, 0xEF, + 0x17, 0xEC, 0xFA, 0x28 }, .len = 2080 }, @@ -1002,7 +1009,7 @@ static struct wireless_test_data zuc_test_case_auth_2080b = { .len = 2080 }, .digest = { - .data = {0x03, 0x95, 0x32, 0xe1}, + .data = {0x0A, 0x2B, 0x80, 0x85}, .len = 4 } }; @@ -1010,30 +1017,30 @@ static struct wireless_test_data zuc_test_case_auth_2080b = { static struct wireless_test_data zuc_test_case_auth_584b = { .key = { .data = { - 0xc9, 0xe6, 0xce, 0xc4, 0x60, 0x7c, 0x72, 0xdb, - 0x00, 0x0a, 0xef, 0xa8, 0x83, 0x85, 0xab, 0x0a + 0x39, 0x77, 0xA9, 0x2A, 0x85, 0x79, 0xA0, 0xCD, + 0x7D, 0x88, 0xF2, 0xF9, 0xB0, 0x81, 0x0D, 0x20 }, .len = 16 }, .auth_iv = { .data = { - 0xa9, 0x40, 0x59, 0xda, 0x50, 0x0, 0x0, 0x0, - 0x29, 0x40, 0x59, 0xda, 0x50, 0x0, 0x80, 0x0 + 0x39, 0x5A, 0xC7, 0x66, 0x8D, 0x84, 0xA5, 0x5C, + 0xA0, 0x1E, 0x00, 0x9A, 0xFD, 0xDC, 0xFD, 0x55 }, .len = 16 }, .plaintext = { .data = { - 0x98, 0x3b, 0x41, 0xd4, 0x7d, 0x78, 0x0c, 0x9e, - 0x1a, 0xd1, 0x1d, 0x7e, 0xb7, 0x03, 0x91, 0xb1, - 0xde, 0x0b, 0x35, 0xda, 0x2d, 0xc6, 0x2f, 0x83, - 0xe7, 0xb7, 0x8d, 0x63, 0x06, 0xca, 0x0e, 0xa0, - 0x7e, 0x94, 0x1b, 0x7b, 0xe9, 0x13, 0x48, 0xf9, - 0xfc, 0xb1, 0x70, 0xe2, 0x21, 0x7f, 0xec, 0xd9, - 0x7f, 0x9f, 0x68, 0xad, 0xb1, 0x6e, 0x5d, 0x7d, - 0x21, 0xe5, 0x69, 0xd2, 0x80, 0xed, 0x77, 0x5c, - 0xeb, 0xde, 0x3f, 0x40, 0x93, 0xc5, 0x38, 0x81, - 0x00, 0x00, 0x00, 0x00 + 0xC6, 0x33, 0x7D, 0xD7, 0x47, 0xC9, 0xCE, 0xBF, + 0x74, 0xAC, 0xE5, 0x66, 0x57, 0x87, 0x22, 0x22, + 0xFD, 0xC9, 0xA0, 0x24, 0xB3, 0xD1, 0xF8, 0x15, + 0xE6, 0x80, 0xEB, 0xBB, 0x12, 0xDC, 0x2B, 0xD9, + 0x10, 0xA9, 0xB0, 0x57, 0x73, 0x7F, 0x17, 0xE7, + 0x2B, 0xFD, 0x4E, 0x82, 0x85, 0x70, 0xA5, 0x82, + 0x39, 0x46, 0xA7, 0xED, 0x17, 0x9F, 0x02, 0xFE, + 0x1F, 0xEE, 0xBA, 0x32, 0xCB, 0xE6, 0x0B, 0xDB, + 0x8F, 0xBC, 0x32, 0x02, 0x3C, 0x4A, 0xE9, 0x68, + 0x47, 0x37, 0xEB, 0xCC }, .len = 584 }, @@ -1041,7 +1048,7 @@ static struct wireless_test_data zuc_test_case_auth_584b = { .len = 584 }, .digest = { - .data = {0x24, 0xa8, 0x42, 0xb3}, + .data = {0x1F, 0xC9, 0x0A, 0xF3}, .len = 4 } }; @@ -1049,64 +1056,64 @@ static struct wireless_test_data zuc_test_case_auth_584b = { struct wireless_test_data zuc_auth_cipher_test_case_1 = { .key = { .data = { - 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, - 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 + 0x3B, 0x24, 0xF1, 0x9C, 0x19, 0x45, 0x50, 0x91, + 0xF6, 0xB4, 0x14, 0x53, 0x93, 0x79, 0xFE, 0xEB }, .len = 16 }, .cipher_iv = { .data = { - 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + 0xE1, 0x1E, 0x41, 0x07, 0xB3, 0x17, 0xFA, 0x55, + 0xCA, 0xB6, 0xA1, 0xCB, 0x7B, 0xC7, 0x70, 0xAD }, .len = 16 }, .auth_iv = { .data = { - 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + 0xBF, 0x6B, 0x2D, 0x16, 0xAB, 0x5C, 0xDD, 0x31, + 0x3C, 0xE3, 0xB4, 0x96, 0x30, 0xB1, 0x5F, 0xD9 }, .len = 16 }, .plaintext = { .data = { - 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, - 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, - 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, - 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, - 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, - 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, - 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, - 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, - 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, - 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, - 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, - 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A,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, 0x8F, 0x34, + 0xA9, 0x60, 0x65, 0x2B, 0xD3, 0xE4, 0x32, 0xAA, + 0x4F, 0x04, 0x2F, 0x28, 0x1D, 0xA0, 0x5F, 0x64, + 0xD5, 0xB5, 0x7D, 0x53, 0xAE, 0x19, 0x99, 0x37, + 0x66, 0x32, 0x2B, 0xC4, 0x9F, 0x6B, 0xA1, 0x5D, + 0x7F, 0x02, 0x4C, 0x3B, 0x88, 0x7F, 0xB5, 0x46, + 0x66, 0xC7, 0xE8, 0x0D, 0x05, 0x53, 0x31, 0x14, + 0x7F, 0xBD, 0x1A, 0xA0, 0xF6, 0x32, 0x51, 0x79, + 0xF1, 0xF8, 0x66, 0x39, 0x14, 0xA1, 0x7D, 0xA7 }, .len = 128 << 3 }, @@ -1123,7 +1130,7 @@ struct wireless_test_data zuc_auth_cipher_test_case_1 = { .len = 2 << 3 }, .digest = { - .data = {0x0E, 0xAA, 0xC4, 0xAB}, + .data = {0x14, 0xA1, 0x7D, 0xA7}, .len = 4, .offset_bytes = 124 } -- 2.17.1