From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B864BC31E44 for ; Fri, 14 Jun 2019 11:23:18 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 492DA208CA for ; Fri, 14 Jun 2019 11:23:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=marvell.com header.i=@marvell.com header.b="T/PluK9b"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=marvell.onmicrosoft.com header.i=@marvell.onmicrosoft.com header.b="FquIlpTr" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 492DA208CA Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=marvell.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 777841D52A; Fri, 14 Jun 2019 13:23:16 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id D29331C5D6 for ; Fri, 14 Jun 2019 13:23:14 +0200 (CEST) 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 x5EBLHwQ024888; Fri, 14 Jun 2019 04:23:13 -0700 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=US0tm/QqmXAlEhx0pXQ8Qp4sXD9AIZNu8F33P2+6Q7M=; b=T/PluK9bNFnfqZ5UWcntX21450ys17v3D0V8SnyV2HzKdFdoAfoqGtpv5WoVh3uWMFYD cWSm5gg2X4qyFNp3MwWrM/7I3SY1DdxyssBTtPZbXbotkoFg8Bp3ipX0MddxWt4+6ctJ Dje/OEUdvmaoOYSwpc4y3nas2C/bS81sC3Bw70ocTfMdRXnErrSxx3UxMdQDilEYYmj2 O3ocJPsEXRzHoU5nkQNY6ZIY0kHqCq9usuaB1Ln/YjiRMas4tsagIiukBTkFK5sZD/MM uEN1O3qr+T3w+mHQrYto6yEJ1WM+3mzEhYASjCiBZJ4OUK6UgF17BNd0krdTTNZNTJGb rg== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0a-0016f401.pphosted.com with ESMTP id 2t41j621d3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 14 Jun 2019 04:23:13 -0700 Received: from SC-EXCH04.marvell.com (10.93.176.84) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Fri, 14 Jun 2019 04:23:13 -0700 Received: from NAM04-BN3-obe.outbound.protection.outlook.com (104.47.46.54) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Fri, 14 Jun 2019 04:23:12 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector2-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=US0tm/QqmXAlEhx0pXQ8Qp4sXD9AIZNu8F33P2+6Q7M=; b=FquIlpTr7sAn/ovUEmtC7ycM3inEnLjynl7l0PLtCzQw5+y2bdODkY/IjNbVQhgs0pVVmvUcMawDU+7GFOV7UN34JSNx3XbOybFCC1XmYaD5EGyDQOXT7fDNlzjIQ0fdLeqQzXJPrlQiFKMbyvz8swhB9/lI0Il0L71Ip7AEsbg= Received: from BN6PR1801MB2052.namprd18.prod.outlook.com (10.161.157.11) by BN6PR1801MB1892.namprd18.prod.outlook.com (10.161.153.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1987.12; Fri, 14 Jun 2019 11:23:07 +0000 Received: from BN6PR1801MB2052.namprd18.prod.outlook.com ([fe80::9170:db9e:4ac1:f76e]) by BN6PR1801MB2052.namprd18.prod.outlook.com ([fe80::9170:db9e:4ac1:f76e%5]) with mapi id 15.20.1965.017; Fri, 14 Jun 2019 11:23:07 +0000 From: Shally Verma To: "Kusztal, ArkadiuszX" , "dev@dpdk.org" CC: "akhil.goyal@nxp.com" , "Trahe, Fiona" , "shally.verma@caviumnetworks.com" Thread-Topic: [EXT] [PATCH] cryptodev: extend api of asymmetric crypto by sessionless Thread-Index: AQHVGkUJ/h58SIYsqkWZy+I+OATSL6aMyjgAgA4KayCAACymQIAAELrQ Date: Fri, 14 Jun 2019 11:23:07 +0000 Message-ID: References: <20190603194411.8352-1-arkadiuszx.kusztal@intel.com> <06EE24DD0B19E248B53F6DC8657831551B2687D0@hasmsx109.ger.corp.intel.com> In-Reply-To: <06EE24DD0B19E248B53F6DC8657831551B2687D0@hasmsx109.ger.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [115.113.156.2] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ab1c393d-df1c-4f66-d9e7-08d6f0baacef x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:BN6PR1801MB1892; x-ms-traffictypediagnostic: BN6PR1801MB1892: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 0068C7E410 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(376002)(396003)(366004)(136003)(346002)(199004)(13464003)(189003)(66066001)(99286004)(5660300002)(68736007)(229853002)(7696005)(81166006)(54906003)(55016002)(305945005)(6246003)(6436002)(52536014)(86362001)(256004)(2501003)(9686003)(8676002)(81156014)(186003)(110136005)(7736002)(76176011)(74316002)(71200400001)(2906002)(3846002)(478600001)(53546011)(446003)(6116002)(55236004)(8936002)(6506007)(476003)(11346002)(486006)(25786009)(102836004)(26005)(53936002)(66946007)(316002)(14454004)(76116006)(73956011)(66446008)(66556008)(4326008)(71190400001)(66476007)(33656002)(64756008); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR1801MB1892; H:BN6PR1801MB2052.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: seoP8Ip8jS4cUbfbLugFzw5vFrldOdZPCZGx/HKTCx2mupZM+cyvsiICcweBhl5x/roAwB8VGPMbskJUE1HPxId9WMN7BbGsaprtIHTgbt6KDvyoWzJ7B7MmjWJL8GubCT8b+cfcXU6nopJOzhHZGIbUyKyRi/+LHP+811vdZH3qI3gJx6rReZ9f5AWnHxRDnHr5dK2vEKZJAZDExPFPkKNhOBXoVoY9KmO3GniCELyUEtgRZwh+UpTIownYdbBoembQdLk7SW1q+2HD0i6zC00DHcEaIoIw43lVZorKJQ4R/cfPZPGqBuUfFcXyTBKRC5FAMafEsXqtFOeNAUeu1z8gT7f4F8w/V8uBx+riCGk2kFl5+nrdtlG3060IZsvqFtfPBUCNbEsVf6Vk2gXSyL9piJjtWcs9J03tJIv0PhM= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: ab1c393d-df1c-4f66-d9e7-08d6f0baacef X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jun 2019 11:23:07.5137 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: shallyv@marvell.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR1801MB1892 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-06-14_05:, , signatures=0 Subject: Re: [dpdk-dev] [EXT] [PATCH] cryptodev: extend api of asymmetric crypto by sessionless 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: Kusztal, ArkadiuszX > Sent: Friday, June 14, 2019 3:55 PM > To: Shally Verma ; dev@dpdk.org > Cc: akhil.goyal@nxp.com; Trahe, Fiona ; > shally.verma@caviumnetworks.com > Subject: RE: [EXT] [PATCH] cryptodev: extend api of asymmetric crypto by > sessionless >=20 ... > > > [Shally] Ack to this change. But is this all that is needed to > > > support sessionless? Do you have working poc with sessionless? > > > > > > > [AK] > > xform holds to get working. Crypto_op holds sess_type From our side > > for now we not intend to store any user information in session at all. > > For sure not private keys, any other information is small enough > > comparing to asymmetric crypto computation time that it has no gain to > > allocate session for it. > > > [AK] Sorry, I had to fix bad writing. > rte_crypto_asym_xform holds enough information, and rte_crypto_op holds > sess_type. Can you submit example app working on sessionless ? > > > > > Thanks > > > Shally > > > > > > > > > > > __extension__ > > > > union { > > > > -- > > > > 2.7.4