From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 34A2158EC for ; Wed, 27 Feb 2019 14:33:54 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x1RDTkeB020212; Wed, 27 Feb 2019 05:33:53 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=qIaBBZ5gmAQXJT8QdttmYMH1z3tWtRS5Oozp2+2MYr4=; b=s2kUWialEkyHErrdyy9LakAS/iU9vL7e3XZrnmyyd0W9mfCmEpRX2+3fDjsYHSzzGM0P xODS/zJTQe3jiPzsP0pMVSqovF0qRzsz5SqMlBKQiBUH8hvZXFWX1BkWuK5M2ILI0Kxc VFLN2jBjyT2v9dhbSwUr1BddZTmhYp8wfSNNSsigDO8mrfM42OzMJ/Hbw5obU8gBvic2 e9JwwUqc9lxh0VfGgBOh+HRLQjPtOInoyN4D8/EaEQYLyTY9oLParh/xaPxp+FGslHdf jZWf22aRZd3H9tu+RcnIslclTOQv/55RoGgG2Qyd3YP0EM8I9XFkWSNQDmnMQmGC8w7O mg== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0b-0016f401.pphosted.com with ESMTP id 2qwhfgsm24-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 27 Feb 2019 05:33:53 -0800 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 27 Feb 2019 05:33:52 -0800 Received: from NAM02-BL2-obe.outbound.protection.outlook.com (104.47.38.56) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Wed, 27 Feb 2019 05:33:52 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qIaBBZ5gmAQXJT8QdttmYMH1z3tWtRS5Oozp2+2MYr4=; b=rnWvGkasZtztWXns0MBiX22RiS8u8NADQNBuSs8S5xLzePcvy6Lb8jSqnFHjJMeBujGR9HNrVoIDnx3pKWKTw0N1WI3Bzm/oApmWBtWvFxG3EGBXd7hB1+Dq+htAlYtSkpGQw3vdxrl6vwtUAjN6yXe/8uhWFopIQVRa7GA5XEk= Received: from MN2PR18MB2542.namprd18.prod.outlook.com (20.179.82.221) by MN2PR18MB2607.namprd18.prod.outlook.com (20.179.82.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.15; Wed, 27 Feb 2019 13:33:50 +0000 Received: from MN2PR18MB2542.namprd18.prod.outlook.com ([fe80::2cd3:8b8:fbbb:db98]) by MN2PR18MB2542.namprd18.prod.outlook.com ([fe80::2cd3:8b8:fbbb:db98%5]) with mapi id 15.20.1643.022; Wed, 27 Feb 2019 13:33:50 +0000 From: Ayuj Verma To: "akhil.goyal@nxp.com" CC: "arkadiuszx.kusztal@intel.com" , "fiona.trahe@intel.com" , Shally Verma , Sunila Sahu , "Kanaka Durga Kotamarthy" , Arvind Desai , "dev@dpdk.org" , Ayuj Verma Thread-Topic: [PATCH v2 2/3] crypto/openssl: set rsa private op feature flag Thread-Index: AQHUzqET76praX2jsEWJ18FYAyhs9w== Date: Wed, 27 Feb 2019 13:33:50 +0000 Message-ID: <20190227133258.8962-3-ayverma@marvell.com> References: <20190227133258.8962-1-ayverma@marvell.com> In-Reply-To: <20190227133258.8962-1-ayverma@marvell.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: PN1PR01CA0109.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00::25) To MN2PR18MB2542.namprd18.prod.outlook.com (2603:10b6:208:103::29) x-mailer: git-send-email 2.20.0 x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [111.93.218.67] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 05e48748-d762-4671-de1d-08d69cb8355c x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060)(7193020); SRVR:MN2PR18MB2607; x-ms-traffictypediagnostic: MN2PR18MB2607: x-microsoft-exchange-diagnostics: 1; MN2PR18MB2607; 20:o/V3J4S+8UcqrlSwI6Rf6ogSt3T2LzUNspXv+1CfRYcL9WdRPp78TFcAv9QpyOn9QhlHfzcnoT5gY7XBV5AF1gBmsg+MyCwQJA6fSRoi1ky+qB4UwjnnRP58+aYc8Drf/8pCoY1qGr1gWpIDebmxJYEKTVyVwTzS4/NCSMhTwbQ= x-microsoft-antispam-prvs: x-forefront-prvs: 0961DF5286 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(366004)(39860400002)(136003)(346002)(376002)(199004)(189003)(78486014)(99286004)(86362001)(26005)(186003)(14444005)(305945005)(7736002)(6436002)(6512007)(386003)(6506007)(5640700003)(3846002)(2906002)(446003)(486006)(6116002)(54906003)(6916009)(97736004)(11346002)(256004)(1076003)(2616005)(476003)(4744005)(2501003)(5660300002)(71190400001)(71200400001)(478600001)(4326008)(14454004)(25786009)(107886003)(2351001)(8676002)(53936002)(316002)(102836004)(8936002)(6486002)(68736007)(81166006)(52116002)(81156014)(76176011)(66066001)(50226002)(105586002)(106356001)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR18MB2607; H:MN2PR18MB2542.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: KfRIrXRrQUfMV0o9szSgFRy7+MyHTqmurDE4gY0NOWLLiVlRC+nRW8cxbteT9ZDCkq6oSyjtgREUIeOnrd/G1ty+r5r26Dndj5ewnCaybpbHNKBxJ5Sqljw8Sz6F0Zgjd3M2yu2ca6lqh7/GNoaEui8c/Uiu84pkQ0upk22ogk1fNlJmccOL3WCNV9ai98KCLHL40lH78lRj1T48J+E0AKGBSPdt/4zmwYhQZoLkMA2DAM54l7418KI/sHsXwXTUlCQG8gMspcym2soULHElAW/Kp58h8GU6nNgCXFgOnP4jn+OjrlX+JGOUGOFhpyp1WYFArjUlzCIvFJ4GZe5zGEuMt+ThBK2Y4R+LHhdiBFNoWDyeyz0z6JF5vaUv2wdnZjyHvjGPlXO/qNhlOE0Py51q1/zKkEPQbWPsBGPkzsI= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 05e48748-d762-4671-de1d-08d69cb8355c X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Feb 2019 13:33:47.5918 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR18MB2607 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-02-27_08:, , signatures=0 X-Proofpoint-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=779 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1902270090 Subject: [dpdk-dev] [PATCH v2 2/3] crypto/openssl: set rsa private op feature flag 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: Wed, 27 Feb 2019 13:33:54 -0000 openssl PMD support RSA private key operation using both qt and exp key type. Set both feature flag in PMD capability Signed-off-by: Ayuj Verma Signed-off-by: Shally Verma --- drivers/crypto/openssl/rte_openssl_pmd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/crypto/openssl/rte_openssl_pmd.c b/drivers/crypto/open= ssl/rte_openssl_pmd.c index ea5aac69e..3a8719990 100644 --- a/drivers/crypto/openssl/rte_openssl_pmd.c +++ b/drivers/crypto/openssl/rte_openssl_pmd.c @@ -2119,7 +2119,9 @@ cryptodev_openssl_create(const char *name, RTE_CRYPTODEV_FF_CPU_AESNI | RTE_CRYPTODEV_FF_OOP_SGL_IN_LB_OUT | RTE_CRYPTODEV_FF_OOP_LB_IN_LB_OUT | - RTE_CRYPTODEV_FF_ASYMMETRIC_CRYPTO; + RTE_CRYPTODEV_FF_ASYMMETRIC_CRYPTO | + RTE_CRYPTODEV_FF_RSA_PRIV_OP_KEY_EXP | + RTE_CRYPTODEV_FF_RSA_PRIV_OP_KEY_QT; =20 /* Set vector instructions mode supported */ internals =3D dev->data->dev_private; --=20 2.20.0