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 2B6DDA0350; Mon, 11 May 2020 15:10:46 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 75DFB1C198; Mon, 11 May 2020 15:10:45 +0200 (CEST) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30067.outbound.protection.outlook.com [40.107.3.67]) by dpdk.org (Postfix) with ESMTP id 56E1A1C0B6 for ; Mon, 11 May 2020 15:10:44 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=klEV5AAtz7MHWugq4wrNne0+xrjz/stOQ0UUGcaA3z2XaT/wYaoIjMusUFQtT6+0wfH3L2rofYuwFawamvQcFkZLwlmK4LwxArnGVl6CK/Q4A/QShyjDn20Kz+xQjo0Rh5FpdMv4Wkfsp9vuHkybO0e+F4QweUXvOEuLEk9Up9nS5/20F8cmhTWo6WBhl0jgcVEOBXihqoY9hS5vx5twFdkM/caueoVdqh8O5Ou0xIOVA/vm5x2HI/qLPCwU+NfkGngsHCp/R9AOUM/FvJ6dlzN90ZaUV5fj4GyxV7azMFfeaJgSMLCxJ2N3up+TusTFD9pC7sFBCXGsMYv097y1LQ== 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-SenderADCheck; bh=4BprntGPNViec1LdzYahHvwhwJ3PlZdjuLsnDvTKLYk=; b=IZjZ9fES+ByknrwEO0c02YYYQwm+5TJWCx8+M1cnXZLQmKLpTIOpT6ZFJPSdTn53o5zmRlH8nz3LdVJjzL1Cw1iR6YQEPwqEIa8QEq20vBJTUQgxC9wz9e01mgkp5LBrHThsS8zI5PE0bJoedso8YE2pItSZo0keNRbFnLY/0b6XAVYafzh904eEsATe3AGeVmGLjkBcor05T0nZMjMbcw9As4jF0LScN1NS2mXPslxdWHEtTViTlP7PAx1N7psratXaFfL1m0TmXF7PPvk35Tr03w58FNAJjk2rSj7yOx8uKSKLYbzNXB4EGZLWemU+jlmZWX97seyQ56Gq02cbCA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4BprntGPNViec1LdzYahHvwhwJ3PlZdjuLsnDvTKLYk=; b=m+or87R2tzAqHYu7RzFISrP4jOTin/ygqvY1EUbaJwP7UhJCFHWrfYixsALShG2imIGKKLBfwxxrqXFQNm1Pw0is1dqpx6wefsqT1BKJzeVztfKWWPWWO9XkYJvcYrwsgkZ1pkndTCdMdD/wOA2mau1D+wR47mWZQYEyfST0VZI= Received: from VI1PR04MB3168.eurprd04.prod.outlook.com (2603:10a6:802:6::10) by VI1PR04MB4734.eurprd04.prod.outlook.com (2603:10a6:803:5b::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.28; Mon, 11 May 2020 13:10:42 +0000 Received: from VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::8c03:2f5:3b48:ba74]) by VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::8c03:2f5:3b48:ba74%7]) with mapi id 15.20.2979.033; Mon, 11 May 2020 13:10:42 +0000 From: Akhil Goyal To: Mairtin o Loingsigh , "fiona.trahe@intel.com" CC: "dev@dpdk.org" Thread-Topic: [PATCH v3] test/crypto: add AES-256 DOCSIS test vectors Thread-Index: AQHWJ32xZXp97M8goE+XhcFAj22l0Kii23RA Date: Mon, 11 May 2020 13:10:42 +0000 Message-ID: References: <1582707851-32026-1-git-send-email-mairtin.oloingsigh@intel.com> <20200511101916.22850-1-mairtin.oloingsigh@intel.com> <20200511101916.22850-2-mairtin.oloingsigh@intel.com> In-Reply-To: <20200511101916.22850-2-mairtin.oloingsigh@intel.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=nxp.com; x-originating-ip: [45.118.167.84] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 95db0871-3216-46ab-40b6-08d7f5acb5a0 x-ms-traffictypediagnostic: VI1PR04MB4734: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3383; x-forefront-prvs: 04004D94E2 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: WkFU7x/EIl7frhcqDzVnzmZ2Z+yvayDJpXLxA7zZ39tWJQ4K8+zNUMQRZU5tMLphp7BgsAlrgxdnHm2ERBDOQ/xEeENLEh47oQ6NctovYUXeU9nYlih8B3KqMX0WvkKzTQG41Xze8l9Z7Wr+ZIxKAxAEZYUQFIVJwVBYG2AzvYYxE7J+TSYcy17OqL6UmKOrF+GanyepIUgWdcHCglad9IVtNPCiIzvAHRUJxclHbTlfVDeZJLIC7YFA4yWVDFQilXejIueK4hyT1KaFmIKpoEpv/DHyOCSMNNEBC6L7KcQ1PbK/Z0Ff3rXXAwFtNtZbF8D9WN7sBul1T8+NMdRYB1phSZna2H4JxJsvaX4lvTl8RjX5nhzSOUe7uR32mJYHKsh1mL7inAcBrF0+h/0oGvzKZ2s/KTPMjiRaV+GUu7/buWvd/sRdizDbCqy1iEgqohQtGzMZ5fmX4mujLpCtmcvOCdiOeABevS6ERluh/GxJf0S/Lba2Wi0WYRua8+5wBbqibHHRNRf0zLTxKkTdXg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB3168.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(346002)(39860400002)(396003)(376002)(366004)(136003)(33430700001)(66946007)(66556008)(76116006)(478600001)(33440700001)(71200400001)(66446008)(64756008)(2906002)(4326008)(86362001)(186003)(6506007)(7696005)(26005)(66476007)(52536014)(316002)(5660300002)(8936002)(8676002)(9686003)(55016002)(33656002)(110136005)(44832011); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: Nhtan4tEUs6eSfNc1rpQvQSFiXOkrOBFXwzB4y3FdMJTK0MS+oiCS5OBw7wdNBkHsSweBJWQKo/+HTBFM/zKesNraNtwVQUQirMmagdZ5gXOsnHYJBAl9cwtdZkdpYN3ZyA5LO0k1eWdAnjLRn9T4ozW0OCOFjrOFwoEMSePssS89ZgcUsjde0wrM0iEEYZekrx4v2GsQyLPRiNL3JGV67rFE4op123t1kBDoqXa37lLHjo77UOUnRE+ib+CwL4Q9s9QjdMfXwRSy4zwRGycDbKSrlOoYwE1x1kDX906ELTvMjq6XGv3KlUE1wcle286fCG4oBTeHt/GB/t2zgec7v2Z7SC7HTiyxmXFk/TZrZixvVDLVs0eQBbGX5y6R3Fu2kOfEgrlvzF0O7IQx9Iuwrbvo6TfsNhNQSMFAMPHeEPkCjJFk9AZl9Dl1k2g9rc9aagbMC8yjU+ihgDKM12yHyDw3JvG1sbmOWu2Ggjkq05s+gG6qK57JnkpMxzXSiky x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 95db0871-3216-46ab-40b6-08d7f5acb5a0 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 May 2020 13:10:42.6203 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 54ZE2OswLqxocLkAVYTZAUUXM4to1G1rZLRk1bWNHuFskT8NGBMjf7Ih8/0qN1CJAC5QaHKEr/8nm/4rwAjddA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4734 Subject: Re: [dpdk-dev] [PATCH v3] test/crypto: add AES-256 DOCSIS 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" Hi Mairtin, I believe your patch is not rebased on top of current tree. There is no pmd= _mask now. Also, I see that the AES 256 cases are already there. This patch is already= there I guess. > static const uint8_t > cipher_aescbc_offset_16[] =3D { > 0x57, 0x68, 0x61, 0x74, 0x20, 0x61, 0x20, 0x6C, > @@ -2637,5 +2734,84 @@ static const struct blockcipher_test_case > aes_docsis_test_cases[] =3D { > .pmd_mask =3D BLOCKCIPHER_TEST_TARGET_PMD_QAT | > BLOCKCIPHER_TEST_TARGET_PMD_MB > }, > + /* AES 256 */ > + { > + .test_descr =3D "AES-256-DOCSIS-BPI Full Block Encryption", > + .test_data =3D &aes_test_data_docsis_4, > + .op_mask =3D BLOCKCIPHER_TEST_OP_ENCRYPT, > + .pmd_mask =3D BLOCKCIPHER_TEST_TARGET_PMD_QAT > + }, > + { > + .test_descr =3D "AES-256-DOCSIS-BPI Runt Block Encryption", > + .test_data =3D &aes_test_data_docsis_5, > + .op_mask =3D BLOCKCIPHER_TEST_OP_ENCRYPT, > + .pmd_mask =3D BLOCKCIPHER_TEST_TARGET_PMD_QAT > + }, > + { > + .test_descr =3D "AES-256-DOCSIS-BPI Uneven Encryption", > + .test_data =3D &aes_test_data_docsis_6, > + .op_mask =3D BLOCKCIPHER_TEST_OP_ENCRYPT, > + .pmd_mask =3D BLOCKCIPHER_TEST_TARGET_PMD_QAT > + }, > + { > + .test_descr =3D "AES-256-DOCSIS-BPI Full Block Decryption", > + .test_data =3D &aes_test_data_docsis_4, > + .op_mask =3D BLOCKCIPHER_TEST_OP_DECRYPT, > + .pmd_mask =3D BLOCKCIPHER_TEST_TARGET_PMD_QAT > + }, > + { > + .test_descr =3D "AES-256-DOCSIS-BPI Runt Block Decryption", > + .test_data =3D &aes_test_data_docsis_5, > + .op_mask =3D BLOCKCIPHER_TEST_OP_DECRYPT, > + .pmd_mask =3D BLOCKCIPHER_TEST_TARGET_PMD_QAT > + }, > + { > + .test_descr =3D "AES-256-DOCSIS-BPI Uneven Decryption", > + .test_data =3D &aes_test_data_docsis_6, > + .op_mask =3D BLOCKCIPHER_TEST_OP_DECRYPT, > + .pmd_mask =3D BLOCKCIPHER_TEST_TARGET_PMD_QAT > + }, > + { > + .test_descr =3D "AES-256-DOCSIS-BPI OOP Full Block Encryption", > + .test_data =3D &aes_test_data_docsis_4, > + .op_mask =3D BLOCKCIPHER_TEST_OP_ENCRYPT, > + .feature_mask =3D BLOCKCIPHER_TEST_FEATURE_OOP, > + .pmd_mask =3D BLOCKCIPHER_TEST_TARGET_PMD_QAT > + }, > + { > + .test_descr =3D "AES-256-DOCSIS-BPI OOP Runt Block Encryption", > + .test_data =3D &aes_test_data_docsis_5, > + .op_mask =3D BLOCKCIPHER_TEST_OP_ENCRYPT, > + .feature_mask =3D BLOCKCIPHER_TEST_FEATURE_OOP, > + .pmd_mask =3D BLOCKCIPHER_TEST_TARGET_PMD_QAT > + }, > + { > + .test_descr =3D "AES-256-DOCSIS-BPI OOP Uneven Block > Encryption", > + .test_data =3D &aes_test_data_docsis_6, > + .op_mask =3D BLOCKCIPHER_TEST_OP_ENCRYPT, > + .feature_mask =3D BLOCKCIPHER_TEST_FEATURE_OOP, > + .pmd_mask =3D BLOCKCIPHER_TEST_TARGET_PMD_QAT > + }, > + { > + .test_descr =3D "AES-256-DOCSIS-BPI OOP Full Block Decryption", > + .test_data =3D &aes_test_data_docsis_4, > + .op_mask =3D BLOCKCIPHER_TEST_OP_DECRYPT, > + .feature_mask =3D BLOCKCIPHER_TEST_FEATURE_OOP, > + .pmd_mask =3D BLOCKCIPHER_TEST_TARGET_PMD_QAT > + }, > + { > + .test_descr =3D "AES-256-DOCSIS-BPI OOP Runt Block Decryption", > + .test_data =3D &aes_test_data_docsis_5, > + .op_mask =3D BLOCKCIPHER_TEST_OP_DECRYPT, > + .feature_mask =3D BLOCKCIPHER_TEST_FEATURE_OOP, > + .pmd_mask =3D BLOCKCIPHER_TEST_TARGET_PMD_QAT > + }, > + { > + .test_descr =3D "AES-256-DOCSIS-BPI OOP Uneven Block > Decryption", > + .test_data =3D &aes_test_data_docsis_6, > + .op_mask =3D BLOCKCIPHER_TEST_OP_DECRYPT, > + .feature_mask =3D BLOCKCIPHER_TEST_FEATURE_OOP, > + .pmd_mask =3D BLOCKCIPHER_TEST_TARGET_PMD_QAT > + }, > }; > #endif /* TEST_CRYPTODEV_AES_TEST_VECTORS_H_ */ > -- > 2.12.3