From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 1A0CD1B40F for ; Wed, 6 Feb 2019 12:16:41 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x16BEpEL006070; Wed, 6 Feb 2019 03:16:41 -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=NbM+bl3q16o9N+D4Y/FhgK3oQ9DfAWG2x4f/+jN8gAw=; b=CL13ijO8s+AKfqZ9ZrO3FgtEM+/70Y4fWXBd7yEs/GXU+hFFNbNe5JoaSTupkEjlZ00e ysXBrjaRI5tsIJCNIW1NhbVbDMBcnGYSNNBBW+IxUEKtCrka1dmM6iZR/9tgYN7HOhpd jhnPe42hcjwOgQvv5swi5lFFLaYNTB+wCfSlnZMsjvLB/9Qik6kGeV5Vi9YnrbTaGGVO qlSCMdYPew2RgR4kLk0BmI1tbRIxYCK8swvKndIcFpyuwb7DAhQH+QgF7iBPFgh+ebzP cMTTpxNrQCwFfDCDcsTu+gghfqgRij0q5sh9Odi9pHrNv+Otbq2WNbqQ3raw3kl3l//Z Dw== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0a-0016f401.pphosted.com with ESMTP id 2qfc2aup01-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 06 Feb 2019 03:16:41 -0800 Received: from SC-EXCH02.marvell.com (10.93.176.82) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 6 Feb 2019 03:16:40 -0800 Received: from NAM04-BN3-obe.outbound.protection.outlook.com (104.47.46.59) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Wed, 6 Feb 2019 03:16:40 -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=NbM+bl3q16o9N+D4Y/FhgK3oQ9DfAWG2x4f/+jN8gAw=; b=CGr/heerb7zuhoylyoamJ+ptqw41JAJD7qEInFsmYwSkGtn1ZRSbhsyu0jzryu48phPvpWZKFF/6i13XbsEyGRSSdpqEyxq0J27lRcfcj9D40Ebkk7z5G1vwDYTNqS40igyGIBIFJVkqYYDtHaIaSre4UuTkDM+WzEvwF44Hjwk= Received: from DM6PR18MB2908.namprd18.prod.outlook.com (20.179.50.12) by DM6PR18MB2378.namprd18.prod.outlook.com (20.179.71.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1601.19; Wed, 6 Feb 2019 11:16:35 +0000 Received: from DM6PR18MB2908.namprd18.prod.outlook.com ([fe80::d176:5cef:c5d7:b9ae]) by DM6PR18MB2908.namprd18.prod.outlook.com ([fe80::d176:5cef:c5d7:b9ae%5]) with mapi id 15.20.1601.016; Wed, 6 Feb 2019 11:16:35 +0000 From: Ayuj Verma To: "pablo.de.lara.guarch@intel.com" CC: "fiona.trahe@intel.com" , "dev@dpdk.org" , Shally Verma , Sunila Sahu , Kanaka Durga Kotamarthy , Arvind Desai , Ayuj Verma Thread-Topic: [PATCH 2/3] crypto/openssl: update op-type mask with crt ops Thread-Index: AQHUvg1rBTpeWJSbqkmKhjDG8yIYDA== Date: Wed, 6 Feb 2019 11:16:35 +0000 Message-ID: <20190206111405.30860-3-ayverma@marvell.com> References: <20190206111405.30860-1-ayverma@marvell.com> In-Reply-To: <20190206111405.30860-1-ayverma@marvell.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BMXPR01CA0030.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:c::16) To DM6PR18MB2908.namprd18.prod.outlook.com (2603:10b6:5:168::12) 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-microsoft-exchange-diagnostics: 1; DM6PR18MB2378; 20:9zGSU5zhmmP5Z61nEwxEOPIF9es3dBDDqjPbCk9F6lFnrOTOEw4BCqPT7yZnz7CySJf4lw2bz6MBRPETsnfpoQKW1BGCbs6qAZ8uZr0HpvvIPp/j+O69MWMxdFdG+1tD2mc+F4mrjAg0VCEMEfYIi+h7eZ+yd2skxO6LMRvRrnQ= x-ms-office365-filtering-correlation-id: c85bfb69-d00c-49ea-36ad-08d68c248e1d x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605077)(2017052603328)(7153060)(7193020); SRVR:DM6PR18MB2378; x-ms-traffictypediagnostic: DM6PR18MB2378: x-microsoft-antispam-prvs: x-forefront-prvs: 0940A19703 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(346002)(39860400002)(396003)(136003)(366004)(189003)(199004)(4326008)(106356001)(97736004)(81166006)(81156014)(105586002)(14444005)(8676002)(14454004)(53936002)(1076003)(316002)(102836004)(76176011)(186003)(478600001)(2906002)(66066001)(25786009)(50226002)(68736007)(486006)(8936002)(78486014)(2501003)(26005)(5640700003)(86362001)(99286004)(6486002)(52116002)(6512007)(54906003)(6436002)(2616005)(446003)(2351001)(476003)(6506007)(6916009)(386003)(7736002)(71190400001)(71200400001)(305945005)(256004)(107886003)(3846002)(6116002)(36756003)(11346002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR18MB2378; H:DM6PR18MB2908.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: BhViFBedOCW/e+6umbIu+0gkZ6svBlzDJJ9vLuM+mLhB8RcVn68tJReLaJHGyGCMNIYjjnN0Bg3CncxIyfUFiCkokBKi+tJV8eOx1eY+/2c+fW9R2YC84U0ixzMFoKmsJe6KXeOT9RmAaEusvxD50LKgQ9Rr8CXh6ocSocuhoWjiQrqY36Bf5FN3FTZUkHbtVLToW6cBT071TkUfhmPnjEZuKwN0GlHcbIHYtRtY/OsEpeo8zXhyo8XeKxdddXFE54+uRRyx1+dVYAzQhLBM0m55lIa6WTBR9uqBBau21hOyEgfscn1/QkF3zHaCENX2OblzTYZvZDLDVgQL0RlyR19tpb3IkfvKOJvKYSQXYBQwEUqw2AO5hQIWx6f8SHZPaKFGwVKG8X0QwJV31ZFobAQTyfBnxbA9JfSd6POjsIQ= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: c85bfb69-d00c-49ea-36ad-08d68c248e1d X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Feb 2019 11:16:32.4124 (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: DM6PR18MB2378 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-02-06_07:, , 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=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1902060090 Subject: [dpdk-dev] [PATCH 2/3] crypto/openssl: update op-type mask with crt ops 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, 06 Feb 2019 11:16:42 -0000 add new asym op_types RTE_CRYPTO_ASYM_OP_SIGN_CRT and RTE_CRYPTO_ASYM_OP_DECRYPT_CRT in capability structure Signed-off-by: Ayuj Verma Signed-off-by: Shally Verma --- drivers/crypto/openssl/rte_openssl_pmd_ops.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/crypto/openssl/rte_openssl_pmd_ops.c b/drivers/crypto/= openssl/rte_openssl_pmd_ops.c index 40217cf0d..579d9d25e 100644 --- a/drivers/crypto/openssl/rte_openssl_pmd_ops.c +++ b/drivers/crypto/openssl/rte_openssl_pmd_ops.c @@ -476,9 +476,11 @@ static const struct rte_cryptodev_capabilities openssl= _pmd_capabilities[] =3D { .xform_capa =3D { .xform_type =3D RTE_CRYPTO_ASYM_XFORM_RSA, .op_types =3D ((1 << RTE_CRYPTO_ASYM_OP_SIGN) | + (1 << RTE_CRYPTO_ASYM_OP_SIGN_CRT) | (1 << RTE_CRYPTO_ASYM_OP_VERIFY) | (1 << RTE_CRYPTO_ASYM_OP_ENCRYPT) | - (1 << RTE_CRYPTO_ASYM_OP_DECRYPT)), + (1 << RTE_CRYPTO_ASYM_OP_DECRYPT) | + (1 << RTE_CRYPTO_ASYM_OP_DECRYPT_CRT)), { .modlen =3D { /* min length is based on openssl rsa keygen */ --=20 2.20.0