From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id DB5B3A055B; Mon, 27 Jun 2022 08:00:53 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CDC7842823; Mon, 27 Jun 2022 08:00:53 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 2D84140E78; Mon, 27 Jun 2022 08:00:52 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 25R0Olx1019556; Sun, 26 Jun 2022 23:00:51 -0700 Received: from nam02-sn1-obe.outbound.protection.outlook.com (mail-sn1anam02lp2046.outbound.protection.outlook.com [104.47.57.46]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3gx1vkw4b1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 26 Jun 2022 23:00:51 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kUy7S8Xrsg0IZ8OhEgXGrM8EMPZtCEV8jK2ZwviKetnEuIeM/Jgs42Mf+H9uCKMU1D4lPnO/ypM4Ibtra8K+UcK5qNMrMfb43sd7p0PSp59iJLuDu8/6IYTxEgOkf/wAx7LuaKxRzYCKuvTg5Z3j/d8EAnHPAgwEvnHXNVsTmAx3o+mwi/ZfP1vAcL5WEclLSYqHbkrcT9ue7BcDpKSFm1gDGr7LuTOLuCauq6/bmGGb3aD7rYPMWHfaOtWfkIpbk5hiZ8Nc+MJZpDDTdm4dkw1LY90Mfq/FdyIuPaTqe5EFaqispuUjhdTx02Nx2LsQkKPZC9eOUTfaFT78ZKeg8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=2HjFNvfuJ0lDlZeDb2PNZxD7Xhjy1ms7uLQKEIhKfCA=; b=CWG4lLI/PpJDfAbn3mFJixv+dNuLoq90bUv1sDiRXI8UTQumdcPVrDhXmOyo8EJdsR5yw6TC/5IdiS5O0vEURsCqEWFMAwu5vYj2aKPMqqBGP0HDBBXD4Rn/cB/vXKkzVAvsAYmRuA/rlQZj+Jtl+jvUnU5/kMYarLg47DE2GUR4Yt2VBmVQ4W1LN54Z4kjxKCD+O/jYghJuzVys3aIZJgmBJfpw+N4uLvzyUviup2VxH1mTk/lCVydHgRrOsomFDVZa3M1q/HsCTptDyjGglBbHaiBhdOSzW3RBis5TmM2gtPio8TQoG3pg+LLvATNUamomtZ14tCr/B88CFC6Wig== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2HjFNvfuJ0lDlZeDb2PNZxD7Xhjy1ms7uLQKEIhKfCA=; b=QvYdPvxb0HBNqHQrFf6U9bovo1WuGUpVmTU3KUhKXP6NyPrtV6Lx41YgnA1tq57lUdpqqnqE3SoG1KDzZDALDC/+bJgpbR0+E7fZ5h+eMXW3wcl5C5Kk6B6uIgylnRtQELwecfXYnAUzerN8J3+eN9Sev2xhTAFke9v7jnTijOI= Received: from PH0PR18MB3864.namprd18.prod.outlook.com (2603:10b6:510:26::6) by SN7PR18MB3840.namprd18.prod.outlook.com (2603:10b6:806:104::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.18; Mon, 27 Jun 2022 06:00:49 +0000 Received: from PH0PR18MB3864.namprd18.prod.outlook.com ([fe80::6443:821d:ed47:43d5]) by PH0PR18MB3864.namprd18.prod.outlook.com ([fe80::6443:821d:ed47:43d5%3]) with mapi id 15.20.5373.018; Mon, 27 Jun 2022 06:00:49 +0000 From: Tejasree Kondoj To: Ciara Power , Akhil Goyal , Fan Zhang CC: "dev@dpdk.org" , "kai.ji@intel.com" , "pablo.de.lara.guarch@intel.com" , "deepak.k.jain@intel.com" , "lukaszx.krakowiak@intel.com" , "stable@dpdk.org" Subject: RE: [EXT] [PATCH 2/2] test/crypto: fix snow3g test vector IV format Thread-Topic: [EXT] [PATCH 2/2] test/crypto: fix snow3g test vector IV format Thread-Index: AQHYhw+TTIW2x6Ntx0qEeE9Q6pv0r61iyDMA Date: Mon, 27 Jun 2022 06:00:49 +0000 Message-ID: References: <20220623144250.1259901-1-ciara.power@intel.com> <20220623144250.1259901-3-ciara.power@intel.com> In-Reply-To: <20220623144250.1259901-3-ciara.power@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 06b59bcc-70d5-48c8-6e51-08da580262d2 x-ms-traffictypediagnostic: SN7PR18MB3840:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ma6UDF4b7JqhxTbt0VMcStA9mGzuXM9cfTBpfS+f5ySxsBbc4Ium8/sqHwbsTnr6TV2kQukx0pfka/SGrXiKHz5WpAHBw9FY0zEPx4zQLc+WOhSju1PJry3bNSzvKUrw93eFeEFZ6rdiV6/tXWVYbSCAEoKLYIcMTtRMFhoM4i0uNQEp0ganVcwzDSiewC0Vs1eRSysDDkRcpYhUgJA4ktQHqqm95LqE/V7E8XIUmzgnUUwVkJ2sfWd6m3hzs2rIOjMJiOioza4+RPs6CmKtwuoVPjSpqUk1mr+vOOoomADMZnFO2OzriiXlsSElW1gUSlThnqa3Q0HBVe/AIukye+WFR5OkIo7eleE/K9MArwlQzfwAQAFlHhVskdTnWNawtxeKLuARzxVuOOk4n+7uBnlMXsnLzDCnXxK7UgjIh5Igq/3fMkhUXinMARL/E9POEHu9gNL7KLovwabE+zjEvxXqfZTnCB8wRGll0SbGFIeoVE8bHmvQ7bM1Z3qkpp6jyZWaLl+fwKDbZKu5Kb/iL0Jnzg0SNU8E+ioV+qPJaBxpa42R/dyGFPdetyc6/d8ifWfhw+1/KjdoYVeRz3RC9S7YRIqhn2Vj9hmCLXZccB/xkeOR3JJir1Z31T0Acwg9ntHMlKeVSgHvoH7Q2+FVzt9lxGZE6iEXEXvrs4YAY5CheKJTMV37uayUc8dRdpdfSVDtsQ2itsB+5xeJ1m+1Q3RXUNhXCB6ZnJxm+zqYXpMT5K8AW5zeZdDF6j4pR7m8aoJn26roH6Enl2wGiY9iYBwISiABS1NP+CVUAnyQHS4rTekK1u7cg3VU0Inw6NgeUFw5iVhZa+Auge6bBIBO4+O92IsrrpPOOBVDaJ0gxychgEqioxB4dZ7hUWA/ISF3aogoW8as3IycgCO1jlDv+Wwsr6dHfGpxWu8hdQ4Fl+g= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR18MB3864.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(366004)(136003)(396003)(39860400002)(346002)(376002)(19627235002)(110136005)(30864003)(55016003)(53546011)(122000001)(38100700002)(316002)(54906003)(38070700005)(2906002)(71200400001)(26005)(66556008)(66476007)(76116006)(66946007)(83380400001)(41300700001)(9686003)(186003)(52536014)(86362001)(5660300002)(33656002)(8936002)(478600001)(66446008)(966005)(8676002)(55236004)(64756008)(4326008)(7696005)(6506007)(42413004)(32563001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?7+SABwBm81cgoxYxrqBBtkp629/X01hJSVK5PcqqMNoFTx5FOWD8Pz3HfyNv?= =?us-ascii?Q?tAKkEZFq3FnC23Vawm83/VDu0lkRmUXe6I6sozx81xyJSs35V4Nf2z4jGgMU?= =?us-ascii?Q?NKb5afjWy6jaqQcMWbNKKqP6mZdaaHtCBCXJBD9/hJnsir0xKHy2Az4gjUGD?= =?us-ascii?Q?DDCBGUaN1bxuH2XxvGPsL0gP9uJl0AFfbswVwqamm02hVtjWK8VgnSd0LJOj?= =?us-ascii?Q?EO1aaXuhsUl6yYnXecP0yaY8V+OpKcWX2IdJU6W3PneFgdfm/0iBSOhPY+J7?= =?us-ascii?Q?bgYjETmuoTU7hDbUvg0Pc6V0Os0ZVzNcU1WVCDKZXUl0Er78IvIsylIyNUav?= =?us-ascii?Q?IiE6Jg+Tp3qQ1vWNlPsXiw03vjAUnXOkhYhi1rordk4M3WorT779E/WKQmTm?= =?us-ascii?Q?fRE/b19+Wf27H06oubltvQYl2SWHMjKcxhP3j5q7T/ekPmf78I0BC8DOvpFp?= =?us-ascii?Q?XQzN8sFa+tTj2NivMfFL39Lr0er8YuQ5sJ6Fp4sZA5I/08f41klG0u9XDt2k?= =?us-ascii?Q?qb8zrRrpaPQWDu7oHdGnwz/SAC5dyHjKp50YPB7WeF7SmyEMuxxhfHX5g+gN?= =?us-ascii?Q?HFr4j0go7IYegghugzTsCczmiBuLKxORkKxJfatCr1uuep7cgWhyW/q1Ghkq?= =?us-ascii?Q?8VKxl5Wm7KW56/zIF7C3GKaunuDHVC+B1d1OXyqRvInQhwdOTY18/hlUCH2O?= =?us-ascii?Q?KOAQJCUR1pv2bpqKyuFsqNqDOjfRnk1ngxv31IwxGl+ZCxUJFyixIbQ1t+16?= =?us-ascii?Q?KGfIMr4xX0JVv3ttugHNXXSRTodbbHWVmPm7DW8pIZXUx1DjXUeaw2O2nSIc?= =?us-ascii?Q?QhhI1S2kZvR70uIf+J+zpuxl0gNEg8Sp1jw0215MvpjhSN+Jhm7xOnMnerOA?= =?us-ascii?Q?BS//chB64fv93+zBajmOCqEPz03ifVvdZiSYkZn0X5/kg+OZ+R1c+C7D3dFU?= =?us-ascii?Q?M/cDyEIZzQMIiGy4J0yCQFwOQplwyKyGu75j+G6aDiw9HDmBTGQ8ULyT6RaC?= =?us-ascii?Q?wn6Gpf4tkkogezi0Ng1LO1YIabU2CVO+W5zn7Jt1Ojk6yWaJcEmmfg55Bhnt?= =?us-ascii?Q?uj7qfrxM70dgXDrhwaoLACro7QBav8ITuIwWcB8EgxrOTBijMrut0U6tEv3G?= =?us-ascii?Q?lwV1/vkvP1d4J2vkBX+0CzA5y8Df8ZHV2flUbjyhO7sUJ0A/EbWFv6tWXGaD?= =?us-ascii?Q?arhAjMtFkrG47Oh4gzPWtdNNeJcAwlXhvaDx/KxdpoWmayfXQvVm7AAr3lHq?= =?us-ascii?Q?r3mfpFo8e78IMb+K5fqAktnlOg1gy07TXNgae97ZiIRKgb+GaEej6ERV3z3y?= =?us-ascii?Q?j0ftYXTIYlYnrY2RkYIFGj4zYGl8nLBYRjhZDOEcZuYnx83iLKcWAS7frEQT?= =?us-ascii?Q?0IfBVRoJJIXHCyC2YA31xxPp1mQKRzARmr/EvMaRMw6b1PfbvnrhYWrz2EKI?= =?us-ascii?Q?PD8p/UrcPnNJhTzzn/v4V1B6XEJ3Q6CteJ3ppO5v5GyqFmr40sVqhIjgXGA1?= =?us-ascii?Q?Ve3kHqkXaBFtWCPmEyyz6wcFd2ftziRs7Q9jHJDrt0NdKW64sA//WHXaJM0r?= =?us-ascii?Q?OPpMUjdAt3HLs8JXIZO8wmTNO15VqZ2lb21rES9W?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR18MB3864.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 06b59bcc-70d5-48c8-6e51-08da580262d2 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jun 2022 06:00:49.7170 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: /lwpmRUVpZK5e1t3nhIm8bfCwoCNOjRkT06eFM6XE3WmISbhCgEvERRUP6yz1AbGWQpxJ0pvuUOxkBWAU4VNrw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR18MB3840 X-Proofpoint-ORIG-GUID: IPBlJ5LV1LXjYPqmTZRKScmtKJUEvKiv X-Proofpoint-GUID: IPBlJ5LV1LXjYPqmTZRKScmtKJUEvKiv X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-06-27_05,2022-06-24_01,2022-06-22_01 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Acked-by: Tejasree Kondoj > -----Original Message----- > From: Ciara Power > Sent: Thursday, June 23, 2022 8:13 PM > To: Akhil Goyal ; Fan Zhang > > Cc: dev@dpdk.org; kai.ji@intel.com; pablo.de.lara.guarch@intel.com; > Tejasree Kondoj ; Ciara Power > ; deepak.k.jain@intel.com; > lukaszx.krakowiak@intel.com; stable@dpdk.org > Subject: [EXT] [PATCH 2/2] test/crypto: fix snow3g test vector IV format >=20 > External Email >=20 > ---------------------------------------------------------------------- > Some of the cipher and authentication IVs did not follow the spec for > SNOW3G algorithm [1]. >=20 > Cipher IVs must have the last 3 bytes of each 8 byte block as 0x0. > IV[4] and IV[12] must have the last 2 bits set to 0. > Each 8 byte block is repeated. >=20 > Auth IVs must also have a repeated 8 byte block. > IV[8] and IV[14] may have a flipped bit based on direction. >=20 > [1] https://urldefense.proofpoint.com/v2/url?u=3Dhttps- > 3A__www.gsma.com_aboutus_wp- > 2Dcontent_uploads_2014_12_uea2uia2d1v21.pdf&d=3DDwIDAg&c=3DnKjWec2b6 > R0mOyPaz7xtfQ&r=3DNjpqGUAf6Xc0ZLzxCvv4idf8zRFeSJHioNlG1Wif1Gs&m=3DW5 > E7AmIF8Aa_ttMpK850Xe-TbrKbdKU8KakdVPTXBxeQyxGLAD_VoFfwdjc_1hn- > &s=3DYkfBB-_8R5LDn_vBmEhRNUKeIom1lSMXP3ujAU8V72k&e=3D >=20 > Fixes: 8bdf665fe6c0 ("app/test: add SNOW 3G") > Fixes: 24342ade2c9d ("test/crypto: check SNOW3G when digest is > encrypted") > Fixes: 02ed7b3871d6 ("test/crypto: add SNOW3G test cases for auth-cipher"= ) > Fixes: 11c5485bb276 ("test/crypto: add scatter-gather tests for IP and OO= P") > Cc: deepak.k.jain@intel.com > Cc: lukaszx.krakowiak@intel.com > Cc: stable@dpdk.org >=20 > Signed-off-by: Ciara Power > --- > app/test/test_cryptodev_snow3g_test_vectors.h | 142 +++++++++--------- > 1 file changed, 71 insertions(+), 71 deletions(-) >=20 > diff --git a/app/test/test_cryptodev_snow3g_test_vectors.h > b/app/test/test_cryptodev_snow3g_test_vectors.h > index bbe05662be..b49a07bcf2 100644 > --- a/app/test/test_cryptodev_snow3g_test_vectors.h > +++ b/app/test/test_cryptodev_snow3g_test_vectors.h > @@ -138,11 +138,11 @@ struct snow3g_test_data snow3g_test_case_2 =3D { > .len =3D 16 > }, > .cipher_iv =3D { > - .data =3D { > + .data =3D { > 0xE2, 0x8B, 0xCF, 0x7B, 0xC0, 0x00, 0x00, 0x00, > 0xE2, 0x8B, 0xCF, 0x7B, 0xC0, 0x00, 0x00, 0x00 > }, > - .len =3D 16 > + .len =3D 16 > }, > .plaintext =3D { > .data =3D { > @@ -359,8 +359,8 @@ struct snow3g_test_data > snow3g_auth_cipher_test_case_1 =3D { > }, > .cipher_iv =3D { > .data =3D { > - 0x14, 0x79, 0x3E, 0x41, 0x03, 0x97, 0xE8, 0xFD, > - 0x94, 0x79, 0x3E, 0x41, 0x03, 0x97, 0x68, 0xFD > + 0x72, 0xA4, 0xF2, 0x0F, 0x48, 0x00, 0x00, 0x00, > + 0x72, 0xA4, 0xF2, 0x0F, 0x48, 0x00, 0x00, 0x00 > }, > .len =3D 16 > }, > @@ -383,13 +383,13 @@ struct snow3g_test_data > snow3g_auth_cipher_test_case_1 =3D { > .len =3D 384 > }, > .ciphertext =3D { > - .data =3D { > - 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 > + .data =3D { > + 0x86, 0x4F, 0x4D, 0xE8, 0x86, 0xE6, 0x3E, 0x66, > + 0x52, 0x97, 0xC7, 0x62, 0xAE, 0x8E, 0xA2, 0xDB, > + 0x01, 0xD6, 0x33, 0xA9, 0xA4, 0xCE, 0x02, 0xD5, > + 0xC2, 0xC5, 0x5F, 0x90, 0xE0, 0x89, 0x48, 0xD4, > + 0x92, 0xF4, 0xE5, 0x9A, 0xDA, 0x13, 0x76, 0xFF, > + 0x6E, 0x76, 0x6B, 0x71, 0x62, 0x28, 0xB2, 0xEC > }, > .len =3D 384 > }, > @@ -428,15 +428,15 @@ struct snow3g_test_data snow3g_test_case_7 =3D { > }, > .cipher_iv =3D { > .data =3D { > - 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, > - 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 > + 0xE2, 0x8B, 0xCF, 0x7B, 0xC0, 0x00, 0x00, 0x00, > + 0xE2, 0x8B, 0xCF, 0x7B, 0xC0, 0x00, 0x00, 0x00 > }, > .len =3D 16 > }, > .auth_iv =3D { > .data =3D { > - 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, > - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 > + 0x36, 0xAF, 0x61, 0x44, 0x98, 0x38, 0xF0, 0x3A, > + 0x36, 0xAF, 0x61, 0x44, 0x98, 0x38, 0xF0, 0x3A > }, > .len =3D 16 > }, > @@ -457,28 +457,28 @@ struct snow3g_test_data snow3g_test_case_7 =3D { > 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, 0xF1, 0x9E, 0x2B, 0x6F, > + 0x5A, 0x5A, 0x5A, 0x5A, 0xBB, 0x2B, 0x8B, 0x15, > }, > .len =3D 128 << 3 > }, > .ciphertext =3D { > .data =3D { > - 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, > + 0x5A, 0x5A, 0x8A, 0x35, 0xF7, 0x36, 0xDA, 0xD7, > + 0xC4, 0x2C, 0x10, 0xEA, 0x92, 0x9C, 0x00, 0xF0, > + 0xAE, 0x35, 0x5E, 0x8D, 0xB6, 0x88, 0x30, 0x66, > + 0x74, 0x8B, 0xA2, 0x82, 0x5C, 0xA7, 0xF3, 0x54, > + 0x75, 0x02, 0xA9, 0x90, 0x6B, 0x4B, 0x6A, 0x63, > + 0xFF, 0x4B, 0x08, 0xFE, 0x11, 0x3C, 0x5A, 0x53, > + 0xEE, 0x68, 0x14, 0x41, 0x17, 0xCD, 0x7B, 0x27, > + 0x88, 0xAF, 0x99, 0xE2, 0x9C, 0x86, 0x42, 0x12, > + 0x97, 0x93, 0xF0, 0xE6, 0xE2, 0xB2, 0x2D, 0xDA, > + 0x2C, 0x59, 0xB0, 0xA7, 0x09, 0xF6, 0x32, 0xC0, > + 0x35, 0x9A, 0xD3, 0xBA, 0xDC, 0x8F, 0x2E, 0x18, > + 0x97, 0x87, 0x44, 0xD6, 0x43, 0xFA, 0x86, 0x5A, > + 0xB0, 0xA2, 0x5A, 0xB8, 0x5F, 0x57, 0xE3, 0x2F, > + 0x73, 0x9C, 0x01, 0x3A, 0x02, 0x08, 0x8C, 0xEB, > + 0xA0, 0x5D, 0x74, 0x58, 0x5A, 0xA1, 0x58, 0x17, > + 0x5E, 0x86, 0x96, 0xE6, 0x9C, 0xEE, 0x8C, 0xA8 >=20 > }, > .len =3D 128 << 3 > @@ -493,7 +493,7 @@ struct snow3g_test_data snow3g_test_case_7 =3D { > }, > .digest =3D { > .data =3D { > - 0x7D, 0x27, 0xC6, 0xDA > + 0x9C, 0xEE, 0x8C, 0xA8 > }, > .len =3D 4, > .offset_bytes =3D 124 > @@ -520,15 +520,15 @@ struct snow3g_test_data > snow3g_auth_cipher_test_case_2 =3D { > }, > .cipher_iv =3D { > .data =3D { > - 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, > - 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 > + 0xFA, 0x55, 0x6B, 0x26, 0x1C, 0x00, 0x00, 0x00, > + 0xFA, 0x55, 0x6B, 0x26, 0x1C, 0x00, 0x00, 0x00 > }, > .len =3D 16 > }, > .auth_iv =3D { > .data =3D { > - 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, > - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 > + 0x3E, 0xDC, 0x87, 0xE2, 0xA4, 0xF2, 0xD8, 0xE2, > + 0x3E, 0xDC, 0x87, 0xE2, 0xA4, 0xF2, 0xD8, 0xE2 > }, > .len =3D 16 > }, > @@ -556,22 +556,22 @@ struct snow3g_test_data > snow3g_auth_cipher_test_case_2 =3D { > }, > .ciphertext =3D { > .data =3D { > - 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, > + 0x5A, 0x5A, 0xCF, 0xCF, 0x3D, 0x11, 0xBF, 0xD9, > + 0xC3, 0x7F, 0x7C, 0xA8, 0x1A, 0x9F, 0x9F, 0x34, > + 0xC5, 0x6E, 0x1B, 0x2C, 0xE0, 0x81, 0x4B, 0x66, > + 0x87, 0xCB, 0xD5, 0x61, 0x04, 0xED, 0xBC, 0x69, > + 0x79, 0x86, 0x73, 0x48, 0x69, 0x4A, 0xBA, 0x55, > + 0x44, 0x6C, 0xEF, 0xD9, 0x34, 0x61, 0x59, 0x67, > + 0x80, 0x4E, 0x03, 0x95, 0x0A, 0xA1, 0x6C, 0xBA, > + 0x74, 0xBD, 0xAF, 0x11, 0x4B, 0xE6, 0x98, 0x61, > + 0x4E, 0xD4, 0x3E, 0xE4, 0x99, 0x55, 0x5C, 0x3A, > + 0x8C, 0x3E, 0xC0, 0x01, 0x6E, 0x15, 0xE1, 0x0E, > + 0x71, 0x4C, 0x89, 0x43, 0x8A, 0x48, 0x69, 0x6D, > + 0x02, 0x10, 0xC6, 0x54, 0x37, 0x18, 0xAA, 0x10, > + 0x90, 0x80, 0x0B, 0x69, 0x08, 0xB4, 0xF9, 0x4D, > + 0xD1, 0x2E, 0x43, 0xD9, 0x92, 0xAF, 0x06, 0x4A, > + 0xAF, 0x26, 0x25, 0x77, 0x37, 0xD0, 0xFC, 0x3C, > + 0xA0, 0xCB, 0xAF, 0x06, 0x95, 0x26, 0x30, 0x38, >=20 > }, > .len =3D 128 << 3 > @@ -586,7 +586,7 @@ struct snow3g_test_data > snow3g_auth_cipher_test_case_2 =3D { > }, > .digest =3D { > .data =3D { > - 0x7D, 0x27, 0xC6, 0xDA > + 0x95, 0x26, 0x30, 0x38 > }, > .len =3D 4, > .offset_bytes =3D 124 > @@ -613,15 +613,15 @@ struct snow3g_test_data > snow3g_auth_cipher_test_case_3 =3D { > }, > .cipher_iv =3D { > .data =3D { > - 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, > - 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 > + 0x39, 0x8A, 0x59, 0xB4, 0x2C, 0x00, 0x00, 0x00, > + 0x39, 0x8A, 0x59, 0xB4, 0x2C, 0x00, 0x00, 0x00 > }, > .len =3D 16 > }, > .auth_iv =3D { > .data =3D { > - 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, > - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 > + 0x29, 0x6F, 0x39, 0x3C, 0x6B, 0x22, 0x77, 0x37, > + 0x29, 0x6F, 0x39, 0x3C, 0x6B, 0x22, 0x77, 0x37 > }, > .len =3D 16 > }, > @@ -636,10 +636,10 @@ struct snow3g_test_data > snow3g_auth_cipher_test_case_3 =3D { > }, > .ciphertext =3D { > .data =3D { > - 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, > + 0x5A, 0x5A, 0x93, 0xB0, 0x3F, 0xA4, 0xEB, 0xD4, > + 0x51, 0x12, 0x3B, 0x95, 0x93, 0x12, 0xBF, 0xBE, > + 0xF2, 0xFE, 0xA5, 0xAE, 0xE7, 0xF4, 0x80, 0x3E, > + 0xB2, 0xD1, 0xFF, 0x5F, 0xD9, 0x32, 0x72, 0xFE, > }, > .len =3D 32 << 3 > }, > @@ -653,7 +653,7 @@ struct snow3g_test_data > snow3g_auth_cipher_test_case_3 =3D { > }, > .digest =3D { > .data =3D { > - 0xBA, 0x6D, 0x6A, 0x5E > + 0xD9, 0x32, 0x72, 0xFE > }, > .len =3D 4, > .offset_bytes =3D 28 > @@ -680,15 +680,15 @@ struct snow3g_test_data > snow3g_auth_cipher_partial_digest_encryption =3D { > }, > .cipher_iv =3D { > .data =3D { > - 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, > - 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 > + 0x72, 0xA4, 0xF2, 0x0F, 0x48, 0x00, 0x00, 0x00, > + 0x72, 0xA4, 0xF2, 0x0F, 0x48, 0x00, 0x00, 0x00 > }, > .len =3D 16 > }, > .auth_iv =3D { > .data =3D { > - 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, > - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 > + 0x14, 0x79, 0x3E, 0x41, 0x03, 0x97, 0xE8, 0xFD, > + 0x14, 0x79, 0x3E, 0x41, 0x03, 0x97, 0xE8, 0xFD > }, > .len =3D 16 > }, > @@ -704,9 +704,9 @@ struct snow3g_test_data > snow3g_auth_cipher_partial_digest_encryption =3D { > .ciphertext =3D { > .data =3D { > 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 > + 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0x5A, 0xA2, 0xB7, > + 0xDF, 0xA7, 0x98, 0xA1, 0xD8, 0xD4, 0x9B, 0x6E, > + 0x2C, 0x7A, 0x66, 0x15, 0xCC, 0x4C, 0xE5, 0xE0 > }, > .len =3D 32 << 3 > }, > @@ -720,7 +720,7 @@ struct snow3g_test_data > snow3g_auth_cipher_partial_digest_encryption =3D { > }, > .digest =3D { > .data =3D { > - 0xB3, 0xBD, 0xC3, 0x08 > + 0xCC, 0x4C, 0xE5, 0xE0 > }, > .len =3D 4, > .offset_bytes =3D 28 > -- > 2.25.1