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 33A94A0588; Thu, 16 Apr 2020 10:29:04 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 985501DB0C; Thu, 16 Apr 2020 10:29:03 +0200 (CEST) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2057.outbound.protection.outlook.com [40.107.20.57]) by dpdk.org (Postfix) with ESMTP id 2E0B21DB06 for ; Thu, 16 Apr 2020 10:29:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=k7QX0725VwjlApmN6atjxEy9eSWkcNXFxYS1+MbacPQ=; b=JQt6Zim9k8hshkIsMFf2rUinKHMj2V4rFN2xjDMxYss58FJTNMpT7f+Mi9xfoMKmtVWVd7bj/ICKQ75ObcqyGk3XwoPssX2i9C3zfXeQToVFKavbDq3KgGmkWk1LLWwtEaP1vOKS5a6nqrLlwjGZAFA4d37p5DegCaiu+WrrZ78= Received: from AM6PR08CA0042.eurprd08.prod.outlook.com (2603:10a6:20b:c0::30) by AM6PR08MB3992.eurprd08.prod.outlook.com (2603:10a6:20b:a4::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2900.28; Thu, 16 Apr 2020 08:28:58 +0000 Received: from VE1EUR03FT036.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:c0:cafe::36) by AM6PR08CA0042.outlook.office365.com (2603:10a6:20b:c0::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.25 via Frontend Transport; Thu, 16 Apr 2020 08:28:58 +0000 Authentication-Results: spf=temperror (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dpdk.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dpdk.org; dmarc=none action=none header.from=arm.com; Received-SPF: TempError (protection.outlook.com: error in processing during lookup of arm.com: DNS Timeout) Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT036.mail.protection.outlook.com (10.152.19.204) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2900.15 via Frontend Transport; Thu, 16 Apr 2020 08:28:57 +0000 Received: ("Tessian outbound c0beefb80681:v50"); Thu, 16 Apr 2020 08:28:56 +0000 X-CR-MTA-TID: 64aa7808 Received: from 27b93ce19ec0.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id A0201546-6D49-4042-AE58-841BC679AF7D.1; Thu, 16 Apr 2020 08:28:51 +0000 Received: from EUR04-DB3-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 27b93ce19ec0.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 16 Apr 2020 08:28:51 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lZHrOdRDspo1mNeiL5iJZb0H+jQ6JWjPiVgXsMJwxQlVatGI4yUpSHHBirBjQiPyRBrrbIggwiigiNkfmuvDMPIs8jerE5DdFPBcTvSlzgAvjdMeGoUxA83Vh5Kn33dolSRU0DAu9wZd0cEpAccfAnHIZbEIxKN/JjUXeck82TBLdKJzMSjSev8AlApOH/AsYTQn1TO08pXI9sf1jS46ko+FhsHz8iEs8uCOuX2tETaYV2WV5wtZVyIPbDZpHWH/MMjwW7UPWYq3gBmIjGuQG74V1qN1jxB05sZquehuTlJxzloZ84Vye4Oy0yfGBW/Mc4tjGWdyCusihj0jfrGBWg== 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=k7QX0725VwjlApmN6atjxEy9eSWkcNXFxYS1+MbacPQ=; b=NqpnTp0o8tQWEdqy7uIRT1EjLCWasNDz1Zs51F61MImFHHhQMeSrwiqYLzip1i/0Ik3wE+k7AecgHwe9Y1lEetuZVBWAaxuJVDs//qJC8W5kjoxt9NxvOFXcSxTwwODX67mwf3R9s8jX9HH+Tmvesv5w9PWO10K5Y91S0TtGHmFXoOGJjAM94au3w7qDf1KnBQoBYBj5mPnAGdPpbTtzseAxHg+U0QV+dmrL5hEp5Pg/6CWM+pIR07QLSJy+B2cmLuKcGwlP3vvG/+NqIGNVIUjEOSpanWhRyg4c9MZie3sxQMFjh80RT9jL1L/Ipim81MlHBle0Y+LN0UtMvMH3bA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=k7QX0725VwjlApmN6atjxEy9eSWkcNXFxYS1+MbacPQ=; b=JQt6Zim9k8hshkIsMFf2rUinKHMj2V4rFN2xjDMxYss58FJTNMpT7f+Mi9xfoMKmtVWVd7bj/ICKQ75ObcqyGk3XwoPssX2i9C3zfXeQToVFKavbDq3KgGmkWk1LLWwtEaP1vOKS5a6nqrLlwjGZAFA4d37p5DegCaiu+WrrZ78= Received: from HE1PR0801MB2025.eurprd08.prod.outlook.com (2603:10a6:3:50::14) by HE1PR0801MB1914.eurprd08.prod.outlook.com (2603:10a6:3:4e::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2900.15; Thu, 16 Apr 2020 08:28:50 +0000 Received: from HE1PR0801MB2025.eurprd08.prod.outlook.com ([fe80::c05f:e0a8:dd0:46c7]) by HE1PR0801MB2025.eurprd08.prod.outlook.com ([fe80::c05f:e0a8:dd0:46c7%6]) with mapi id 15.20.2921.027; Thu, 16 Apr 2020 08:28:50 +0000 From: Ruifeng Wang To: Pablo de Lara , "declan.doherty@intel.com" , "ravi1.kumar@amd.com" , "anoobj@marvell.com" , "roy.fan.zhang@intel.com" , "fiona.trahe@intel.com" , "tdu@semihalf.com" , "rnagadheeraj@marvell.com" , "adwivedi@marvell.com" , "g.singh@nxp.com" , "hemant.agrawal@nxp.com" , "jianjay.zhou@huawei.com" CC: "dev@dpdk.org" , "Akhil.goyal@nxp.com" , nd Thread-Topic: [PATCH 0/3] Crypto test refactoring (second phase) Thread-Index: AQHWEoc6subz3SBho0arbTzTmVE5lKh7a3bg Date: Thu, 16 Apr 2020 08:28:49 +0000 Message-ID: References: <1586887459-222433-1-git-send-email-pablo.de.lara.guarch@intel.com> In-Reply-To: <1586887459-222433-1-git-send-email-pablo.de.lara.guarch@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: e1344326-9755-4a34-88f9-b3869411ec79.0 x-checkrecipientchecked: true Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Ruifeng.Wang@arm.com; x-originating-ip: [113.29.88.7] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 4a1c7bf6-15a6-4d36-2b88-08d7e1e034f5 x-ms-traffictypediagnostic: HE1PR0801MB1914:|AM6PR08MB3992: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:7691;OLM:7691; x-forefront-prvs: 0375972289 X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR0801MB2025.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(366004)(39860400002)(136003)(376002)(396003)(346002)(33656002)(71200400001)(2906002)(966005)(186003)(53546011)(26005)(86362001)(55236004)(478600001)(110136005)(6506007)(54906003)(7696005)(66946007)(66476007)(9686003)(8936002)(4326008)(81156014)(76116006)(66446008)(52536014)(66556008)(5660300002)(316002)(64756008)(7416002)(8676002)(55016002)(921003)(1121003)(414714003)(473944003); DIR:OUT; SFP:1101; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: zdv075OZgKI34rT3BjS9KpUKVS13XSwcBFlhIxtNnKGgUnvtX4P/9tyI41wpbKPzVdlhyWnmK7FboKG87LYLRdqRcnkexbvDBUPVsyMi3BZPQe6ou5DviWi4xwUTLboFhBZ8/kzQlx5HOsyzJP0ZJFBKRuRhj3lB6AIoPCncAPIxDCZPbSD8+0UcaAPVlsubzbufS/Dw+QIMeVCIMGFIT2c+QeYnScxPbXMiW8unDd6wy1q8R8b/JaHBlLRIMeaH9B2kB8pDOvFc8Fm1nZkfI3IqikT37r4QFOPszaRqGaEim0E+WAC2/PeEzHcEdaZdVBzXdDG6D2SROQ0cvyb2qgLSMJLgfvjXXaLxGiPBUEDZp5fEE9X7lYH+vTFeGSgQ+74t21oYkCXqBWlEE02HGQIDtOeR6EKTZAeKJK/4lQRx6AEn3mxiiNqePvctngtETnNjhVSbkoSo6G6TYpW2rXI5ehrCtXAswBxy4cIxOIyezvjRCTyQ1WIvvp7B15gdtA1FtY8JG2/64XdoQxzGupiKIRg/qwBriqYB0rlkiakBCTe8nqS2u1Z/TMPTV+H8FaM/bPuqKIcG6EWQuF5IgtIsZtrFEnCNwPwGYF6QqY569YnkpaLatB9DMnaP7g1AG90ad1ylLKh2mlA+3gceFA== x-ms-exchange-antispam-messagedata: N/OTyoTMdFD96FwG4WYIDSBloqBBKM0HlcN28S4t/oiTOaPC4ZmnLJ8VF3K5RiDOOxBzu2KYAlu1SgoJ2W0QMAvXO9pQHrNigJzmawaiQpnFUMAvl2np1fuIXyxHXb3V+iUQqEH2NpnNkn7I8Nhygw== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0801MB1914 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Ruifeng.Wang@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT036.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(396003)(376002)(346002)(136003)(39860400002)(46966005)(8676002)(55016002)(8936002)(53546011)(316002)(4326008)(966005)(110136005)(2906002)(5660300002)(81156014)(52536014)(186003)(54906003)(63350400001)(6506007)(70206006)(36906005)(478600001)(47076004)(7696005)(33656002)(82740400003)(336012)(26826003)(9686003)(86362001)(356005)(70586007)(26005)(81166007)(921003)(1121003)(473944003)(414714003); DIR:OUT; SFP:1101; X-MS-Office365-Filtering-Correlation-Id-Prvs: 932de8b5-75b3-4ead-63f5-08d7e1e030a6 X-Forefront-PRVS: 0375972289 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1CnhYoLuxF64mC9RPL6VgLQ5vfYF0WBENHAPCOi18ScgdAUgY3sAcQgsDWnfkZX5yqGajR5lARy5kscGvJV0JL+PcwU+VJuk6Pgt6HaYhtKj1kzb7L8ozAvjT74eCjzt0hHBZ0xbeGWcqaSyxS7or7qXMNggjZ/T9/XQxudI8MSwjqzxRs6APYK6xZ7XBnJInTFk4zxOZ7Yg3U4c0W2hGtQfRU7aUjW0aXF/siXUahU7lRNXLiBDwWZUO2IPRSGmTPKTf5shePDiPKqrXJglK6UAgFXw4VvRzd4pYjUJK5UMPs9hLL5M6gki+7q5JVPiZ/ZrvBLF3Cdh5Qjcy+RAGHkuO1I4qwyUbmB2ylgDdRdVJftyf5O25uynVfxWjgdwqlTrD4spDrnUjakIcoj5vCTiWKVLk1lKRD7qAYKf4elX6PXnWncL4NRiG6qaP/HBNKAVVUbdGzKdUfJ/jXZN1E7dcHNYu4lpWc7U6x/n6FFWVDdQB+Bel2hQSMT8uRBtQ/EMcDyiDuM7SgqnkwicswsnK6bicYLUJATBL9+KokVJUqkC8PWYqLpJYQbkXjMFBIqMAPVu0Jb3RHyNcDAetPnFHpGudvGchDqTqketkg9dxmDmGgkPBVUbQkw6j6ju3PW9omT96iffoWO+GegF/TqNX4luVA/ylDR0pjbgbYVjD2d6nfALmtT6xFZ8DSsM X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Apr 2020 08:28:57.2610 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4a1c7bf6-15a6-4d36-2b88-08d7e1e034f5 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3992 Subject: Re: [dpdk-dev] [PATCH 0/3] Crypto test refactoring (second phase) 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" > -----Original Message----- > From: Pablo de Lara > Sent: Wednesday, April 15, 2020 2:04 AM > To: declan.doherty@intel.com; ravi1.kumar@amd.com; Ruifeng Wang > ; anoobj@marvell.com; roy.fan.zhang@intel.com; > fiona.trahe@intel.com; tdu@semihalf.com; rnagadheeraj@marvell.com; > adwivedi@marvell.com; g.singh@nxp.com; hemant.agrawal@nxp.com; > jianjay.zhou@huawei.com > Cc: dev@dpdk.org; Akhil.goyal@nxp.com; Pablo de Lara > > Subject: [PATCH 0/3] Crypto test refactoring (second phase) >=20 > This patchset is the phase two of the crypto test refactoring effort. It = mainly > focuses on removing the PMD bitmask used to select which PMDs are used > to run the tests against. > Instead, now all PMDs will run all test cases and the capability checking= will > determine which ones are supported and therefore, are not skipped. >=20 > Since there are tests cases that require sessionless support, a new featu= re > flag has been added, which reflects this support per PMD. >=20 > I am CC'ing all PMD maintainers, asking for their collaboration to test t= his > patchset, as this might impact the testing of each PMD. >=20 >=20 > This patchset depends on: > (1) http://patches.dpdk.org/patch/68433/ (crypto/openssl: fix out-of-plac= e > encryption) > (2) http://patches.dpdk.org/patch/68434/ (cryptodev: add missing feature > name) > (3) http://patches.dpdk.org/cover/68435/ (Crypto test refactoring (first > phase)) >=20 > Pablo de Lara (3): > cryptodev: add sessionless support feature flag > test/crypto: check if device supports sessionless > test/crypto: do not check for PMD in tests >=20 There is one test case failure with crypto_armv8 after applying these patch= es. I will try to locate it. 33) TestCase AES-128-CBC HMAC-SHA1 Decryption Digest Verify Sessionless P= ASS 34) TestCase NULL-CIPHER-NULL-AUTH encrypt & gen x8byte PASS 35) TestCase NULL-AUTH-NULL-CIPHER verify & decrypt x8byte PASS 36) TestCase NULL-CIPHER-NULL-AUTH encrypt & gen x8byte - OOP PASS 37) TestCase NULL-AUTH-NULL-CIPHER verify & decrypt x8byte - OOP PASS 38) TestCase NULL-CIPHER-NULL-AUTH encrypt & gen x4byte PASS 39) TestCase NULL-AUTH-NULL-CIPHER verify & decrypt x4byte PASS 40) TestCase NULL-CIPHER-NULL-AUTH encrypt & gen x4byte - OOP PASS 41) TestCase NULL-AUTH-NULL-CIPHER verify & decrypt x4byte - OOP PASS 42) TestCase NULL-CIPHER-NULL-AUTH encrypt & gen x1byte PASS 43) TestCase NULL-AUTH-NULL-CIPHER verify & decrypt x1byte PASS 44) TestCase NULL-CIPHER-NULL-AUTH encrypt & gen x1byte - OOP PASS 45) TestCase NULL-AUTH-NULL-CIPHER verify & decrypt x1byte - OOP PASS + TestCase [ 0] : test_AES_chain_all failed digest: at [0x13e6fe340], len=3D20 00000000: 9A 4F 88 1B B6 8F D8 60 42 1A 7D 3D F5 82 80 F1 | .O.....`B.}=3D.= ... 00000010: 18 8C 1D 32 | ...2 + TestCase [ 1] : auth_decryption_AES128CBC_HMAC_SHA1_fail_data_corrupt su= cceeded digest: at [0x13e6fe340], len=3D20 00000000: 9A 4F 88 1B B6 8F D8 60 42 1A 7D 3D F5 82 80 F1 | .O.....`B.}=3D.= ... 00000010: 18 8C 1D 32 | ...2 + TestCase [ 2] : auth_decryption_AES128CBC_HMAC_SHA1_fail_tag_corrupt suc= ceeded + ------------------------------------------------------- + + Test Suite Summary + Tests Total : 3 + Tests Skipped : 0 + Tests Executed : 3 + Tests Unsupported: 0 + Tests Passed : 2 + Tests Failed : 1 + ------------------------------------------------------- + Test Failed RTE>> > app/test/test_cryptodev.c | 1 - > app/test/test_cryptodev_aes_test_vectors.h | 519 ---------------------= ------ > app/test/test_cryptodev_blockcipher.c | 139 +------ > app/test/test_cryptodev_blockcipher.h | 18 - > app/test/test_cryptodev_des_test_vectors.h | 160 --------- > app/test/test_cryptodev_hash_test_vectors.h | 219 ----------- > doc/guides/cryptodevs/features/aesni_gcm.ini | 1 + > doc/guides/cryptodevs/features/aesni_mb.ini | 1 + > doc/guides/cryptodevs/features/armv8.ini | 1 + > doc/guides/cryptodevs/features/caam_jr.ini | 2 +- > doc/guides/cryptodevs/features/ccp.ini | 3 +- > doc/guides/cryptodevs/features/default.ini | 1 + > doc/guides/cryptodevs/features/kasumi.ini | 3 +- > doc/guides/cryptodevs/features/octeontx.ini | 1 + > doc/guides/cryptodevs/features/octeontx2.ini | 1 + > doc/guides/cryptodevs/features/openssl.ini | 1 + > doc/guides/cryptodevs/features/snow3g.ini | 3 +- > doc/guides/cryptodevs/features/zuc.ini | 1 + > drivers/crypto/aesni_gcm/aesni_gcm_pmd.c | 3 +- > drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 3 +- > drivers/crypto/armv8/rte_armv8_pmd.c | 3 +- > drivers/crypto/ccp/rte_ccp_pmd.c | 3 +- > drivers/crypto/kasumi/rte_kasumi_pmd.c | 3 +- > drivers/crypto/null/null_crypto_pmd.c | 3 +- > drivers/crypto/octeontx/otx_cryptodev_ops.c | 3 +- > drivers/crypto/octeontx2/otx2_cryptodev.c | 3 +- > drivers/crypto/openssl/rte_openssl_pmd.c | 3 +- > drivers/crypto/snow3g/rte_snow3g_pmd.c | 3 +- > drivers/crypto/zuc/rte_zuc_pmd.c | 3 +- > lib/librte_cryptodev/rte_cryptodev.c | 2 + > lib/librte_cryptodev/rte_cryptodev.h | 2 + > 31 files changed, 51 insertions(+), 1061 deletions(-) >=20 > -- > 2.7.5