From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0050.outbound.protection.outlook.com [104.47.40.50]) by dpdk.org (Postfix) with ESMTP id 63FAA1B5C4 for ; Thu, 11 Oct 2018 15:44:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ctmstKe4thClFytA3ijohyXDFPheumt4gNjppNRj7z0=; b=VZeZsrKwZtC6fxIHtztf8IwxRBgYhWDTN/JnlIVvyHLxqEBLTFuijzF5Ap/7/weIbW6wKhLO6iTGJJwLBa+WBEg79PYh0DQxFpuhHFtTLUymuAx4duRHxfL+wCcDS2cjgOqAkTrmwClx1CA6PC/AZX4tjFM5bKBvieMd7V5vcMk= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Akash.Saxena@cavium.com; Received: from hyd1asaxena-dt.caveonetworks.com (115.113.156.2) by BN6PR07MB2772.namprd07.prod.outlook.com (2603:10b6:404:3f::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1228.22; Thu, 11 Oct 2018 13:43:57 +0000 From: Akash Saxena To: pablo.de.lara.guarch@intel.com Cc: dev@dpdk.org, akhil.goyal@nxp.com, shally.verma@caviumnetworks.com, ayuj.verma@caviumnetworks.com, Akash Saxena Date: Thu, 11 Oct 2018 19:13:11 +0530 Message-Id: <1539265391-9606-3-git-send-email-akash.saxena@caviumnetworks.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1539265391-9606-1-git-send-email-akash.saxena@caviumnetworks.com> References: <1539265391-9606-1-git-send-email-akash.saxena@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [115.113.156.2] X-ClientProxiedBy: BMXPR01CA0024.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:d::34) To BN6PR07MB2772.namprd07.prod.outlook.com (2603:10b6:404:3f::18) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 190f0dd5-4009-4ed8-0269-08d62f7f991b X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:BN6PR07MB2772; X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB2772; 3:KCadlQRi7t5kmzpwFM6ZNdignOnDqssXZ7fnmluRkCK9qp+PSkG4ukK/s0BUGVrgMm8KeAmB9dO+Ap91A3vMnZmEtGhemWg14Y3EP9LdLjiByTudi4kioR8JFUy+gSUL+epwU44MmHRhQ4vQzbgWshU2gE/w9Jo2yIru3yaMXugpYehzytM2PDoC4oi/JlHegz2vCFVQP/ovjp4H9yGOUlIKHoptbh8lCMrtxovzB60feukbHFIejJZwZtb0YugF; 25:AUWBgwDWkzQoSyjt0n0dakUpuekRVv/aERtMoI/498G6NiFJLKNIoBQY7AmQQmwqf+Hp2rCQbnF1f/CNhcC9DHPu17tEukSr6d7iSpY21uU44z/SirgbWMNJ9FKiawi/3n9Z/JxO1YUKyHruWWZxunDJBTgMvYioJD+6wpI/AhL5mVq9DqeL6lMZ1YWArHPM0J7OhpATunjdEt9zWJBhqtU2dK5UW4pvhazIAkAGwNaCzPFfiY6qwVlsp7B4lkdFpULn+cMYvHKzgjsN+1kNZjCLyD7EbL8+lVmAGmDTTCWqt+gdlCF+FRRKGqrJt7E4KYqaVo5Rqk+ZQHE/tTzlVw==; 31:WbUWsS2Mrb4wODEw5h13ubt1yLhagb4mxhVRM13n3TuLbBy1658s9DbgTeN4lhkljb5MpVPrOMMTwjodJnhY7iU+wsQBlmmCspb9ykFv6vzKlTmQ47Bj8ZxsUs6Oy+/QfZVMyDnIGQQemXAAQXXgcWM4XCGY6iOXuV6c3bj8VDNMlvCKmjYigELByO9OM3WK5WJGoBYQNz4H/hpfJLNovmMdlyxJSpgb/M9dgjU6EQY= X-MS-TrafficTypeDiagnostic: BN6PR07MB2772: X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB2772; 20:NUntXPJq0Z7h5UBj09gXCcA1ZKB4in+w2n6wKnDVMZP+f7Q+S1EtG3O+Ie+cZ5/HpsSaybKXUshBDquoy5XQoqvBLySh9recZGfLiynlbCR/9r23GMB8dKDp3rJ9M33w7xmUdNcrsV/qqwrOP7cUn4BIwOVApc4gZN4oJsHAdeDVeNWDvRUyoHbs2aR9RQzc+2BP0/Rh0sUzabXCNRnWcUpzOxYrRDYX8BbsmsvMRk71X7SBJJNBQzI3QrGul78cT1LaFW3VLzixFLhP2y1X90or91uGES0cfu+vxQ8a2UTo9KVP8c889dNGQh6ecxJ0lo9fo+Iby4y/XuGnAJ2CiyXW5BhWv7gx6RIqYllamBBaDwr2ayp1gUSKMaV3SWoFWCLgWGNZVVIuSLX/nPICNxMCnbGwRlD/w9k1mWvbQAZ6DUWlNueneAizjb18G2aDKXDjlQL3hC8OVV8kAwzrTwxdclos/kIyESlFRWg7bhYTLzxS//sveUeTQsHbVAM6NniJmMpddHciRbPbBsgKaKrA0kejcyZR79U3v4FTHjJnFkxS4oEcH6zEVU5xisaqNX/GO4bKUtBe0WZug4hB5GbQtnJVNBadw/KiNyr2rLY=; 4:f0720pHOFohuV0JTk/u52VVPBes/qj74NAq6cB//VVRG81ecS1VSP3mysFM/l2gvPlgkg5qyM2vq4BBdk68JoCnbNQUZc9pKLK2Bd7d+31z2yPcMnXv3YryhPgsi06ymj8vS5bUrR2gVDGesHeYm3fGo7sqi02ZQEuVTwkfKX91xTqA6fV6AzQqNzJSfgwSYADKf5DNSLld2RuXZKP4//rouWbRmRmv9AYK/MS+iltoTuFyRKD/T66pcQF8zvzL+Nj9WUGYr8vPHkXtKwLd9Ew== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231355)(944501410)(52105095)(3002001)(10201501046)(93006095)(149066)(150057)(6041310)(20161123564045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(201708071742011)(7699051); SRVR:BN6PR07MB2772; BCL:0; PCL:0; RULEID:; SRVR:BN6PR07MB2772; X-Forefront-PRVS: 08220FA8D6 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39860400002)(376002)(366004)(346002)(396003)(136003)(189003)(199004)(6916009)(68736007)(6116002)(3846002)(316002)(48376002)(4326008)(50466002)(50226002)(107886003)(16526019)(44832011)(476003)(105586002)(2616005)(81156014)(97736004)(446003)(486006)(11346002)(8936002)(2361001)(26005)(956004)(186003)(106356001)(53416004)(2351001)(42882007)(81166006)(8676002)(305945005)(14444005)(7736002)(51416003)(52116002)(6486002)(76176011)(66066001)(36756003)(47776003)(16586007)(25786009)(6506007)(478600001)(386003)(6512007)(5660300001)(53936002)(2906002)(6666004)(69596002)(72206003); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR07MB2772; H:hyd1asaxena-dt.caveonetworks.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR07MB2772; 23:slgtd/6lu8Ii7s2vB07lSeNoau8GRrmwoym2jDcS+?= =?us-ascii?Q?6zi6hRC0HkJ1XzLAvJaMZofBQdj1R9kZ+DPlMC9cYSzOGTQCfJaTS6JLjCci?= =?us-ascii?Q?5+vH+Hmx79qPLYqew8nW3n3yhxBfmVGOoVMZnNFa3KrU1Vzi+BGtjtGo576I?= =?us-ascii?Q?Mj5gb2hSzpnXrOJj9i1sr35hWOJaN2msGZ93CAssGi29Hz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+6+86T9/bmH5xRRb4Ev4hP0CfOKydc91/tvnczsPWC8?= =?us-ascii?Q?rymwce0OD80uUaem1d9xX2an8qEsPsz35iHjc72j2cjyYDlePYgFo0UTLZeL?= =?us-ascii?Q?kttHpAD4Ufe5hHa3y/FPnrLjnR2W0EW+TiqRl1bczfpdWIzHzfLCc4hGY/X/?= =?us-ascii?Q?vauTbg95zSyPxLsk5s60IacLV3jK4mdstK7ICOwCtFolhp3i/7T+/XQM7eLI?= =?us-ascii?Q?BC/jJQP2uPPeKkaDw6LvZU22xyH7EsqpCLfZmyruAwW?= X-Microsoft-Antispam-Message-Info: NYahufTdlmH7aCdW0IZcVibs/RngaOntqu/mCsk4nwmWoVEAnqXHFI6mH4iUP1DmPsSxWpNFm4yF7RbeK66/cSR6tAcMTWzB0UA8icaJVlw8ixLasYUtiRk7/g4c3W5e5/tWW7PNE42Aiu0o6Emw0SBJGZQOpFL9qRDHukufq8LAVfmzNR8J7dt8ViMsjpyty1n3hbLxaESNo9UThLh/joP+IVzJZNX9EvoyditbFEF0YZPiODaxm4XIqYZ/C//sffKnyBHzA8PtzIb0PlRtsQoIO70aGYP3wxFps7CzGP/fkaaOXVm+44GMUaTd5Vtq5ov8q9KrX6HNVccwcl7zVLHsOA05FuaU0tBbKBiTpQM= X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB2772; 6:VkQhX89TVGaXDZviQniuBknGU2O8UkEYnXY2edK0IbUPD4sIwpzLPMiFh6yRaCnvZ5s16cN2dZ4cYjY3o0UO6OZiHaoZslMPac4Pk/Y7d/dQdizQzvBrS5oFqS0eCNouxrfsXbs4QTkx9Vai2efGmwVZVupJYNBgew24uWX/eJJl5PaHoA+gP4LFdBoiQvASOzMtG4PkMjj9GCxGGPxhdw2Og0hKyFsvj4yH5xGEv1n4k57a221Z3jTEV/XEEy57nWyL+JGuLAX140O/f6xFJGeXjjQQM7YGsE8Nt0/PcnzSbb2t5crikOCmjU2giTJeyy/kCMhspYpHB9WhEJ66kU/N0fdFcJn3lVmZppPRwG1QymUxwo5c1jFjoKvBsgv8c3SdWlNokzhREZXdhV1/IO7q3MBpTWozITRI6l3+VinoJ/rU80DF/rR1Y4bu+IPFpoXcPC/jSt/cTfNiy0KA3A==; 5:nlnoZb4FvgT2LN0kJAXEEdMjJIS059p7nlOD/1tajxdrzicURBIteeRUhhabWLtO7BweIPoUz30sZOLI7KppxwaNo+/BHJzCdC1N7ZZNY1TcDhiH4AgLqStCulUKPkXytCun0GBhmw/t0KEbUE90uRJzEH81fnpFD+xBsPTAJZU=; 7:pxSeKhGDgvzNSxiX9PFlnfM22uPKGJzcpU79dhsJ2atlTqdI2n9TYoQTP2ManWGZXTpcqRIDJ3BJUcXFE+iOYuEjD75OJtLpe+3+jHo7KKXr3+PKeRuSvAR0/dy6eavkSbikbi9YTTIrFuTpN7hYqRUwCXBxRJ2wVS5JHSplS/gEUKJquV31XoJz0p4Naw97Q3g/4/6hcLI3pmlgJyy2tiXpaR0J3qzCCqXIah3JHyZ5fuYDCLEo9zbpE2hzqKmU SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Oct 2018 13:43:57.8475 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 190f0dd5-4009-4ed8-0269-08d62f7f991b X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR07MB2772 Subject: [dpdk-dev] [PATCH v1 2/2] test/crypto: remove data verification at rsa verify operation 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: , X-List-Received-Date: Thu, 11 Oct 2018 13:44:02 -0000 Change unit test app to check only for op->status = RTE_CRYPTO_OP_STATUS_SUCCESS/ERROR instead of calling rsa_verify(). Signed-off-by: Ayuj Verma Signed-off-by: Shally Verma --- test/test/test_cryptodev_asym.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/test/test/test_cryptodev_asym.c b/test/test/test_cryptodev_asym.c index 2fdfc1d..a899f99 100644 --- a/test/test/test_cryptodev_asym.c +++ b/test/test/test_cryptodev_asym.c @@ -153,10 +153,13 @@ test_rsa_sign_verify(void) goto error_exit; } status = TEST_SUCCESS; - int ret = 0; - ret = rsa_verify(&rsaplaintext, result_op); - if (ret) + if (result_op->status != RTE_CRYPTO_OP_STATUS_SUCCESS) { + RTE_LOG(ERR, USER1, + "line %u FAILED: %s", + __LINE__, "Failed to process asym crypto op"); status = TEST_FAILED; + goto error_exit; + } error_exit: -- 2.7.4