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 07E03A0471 for ; Fri, 19 Jul 2019 06:10:44 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A62761B53; Fri, 19 Jul 2019 06:10:42 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id BA5C614E8 for ; Fri, 19 Jul 2019 06:10:40 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x6J49ssm023673; Thu, 18 Jul 2019 21:10:39 -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=LpAnrL4WoCmMUpTOQnj/Ehu/kMiRTcB+WPw9/2GX+Jw=; b=AekLmsW2u8VHMlHwfiJr9H402vXdwuOp+mMkFQFZE/qhsYCl7Wo5xPYNBG6kgqOK+Fyl WHZXFWtJKpTsFwbxLZEztM0yZ+ojEbU+Qu2nzXXwMbDO39aGvnwHShdSFLwcxnrR/I5z kIR+X4I6Y6Mj0X05oTzjiskihiNC9T2t8M23NpYmK5bEvV0wl2A1wAqHp2i6Nurio8tQ Hws5M+6n7BO65HDYW3GwyjIHR3PcwCEcGXQ6aA4FrwKafe/2f21A1T5ti39A5+K2ljaE RTvBFufluBP4IDiI4qYUaokPrxoolsWrT6jlXlGjNffiTCi96+4V75W0rnrO2umyXZWr 7w== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0b-0016f401.pphosted.com with ESMTP id 2ts0a2f1g6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 18 Jul 2019 21:10:39 -0700 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; Thu, 18 Jul 2019 21:10:38 -0700 Received: from NAM01-SN1-obe.outbound.protection.outlook.com (104.47.32.54) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Thu, 18 Jul 2019 21:10:38 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nTPjGGCJcQPH8cGblxWPv5uhGvCO5RIC84idV5pCpurpsaw4f/96QjJuK86PxXwxyzGZODLfBL3QiYSSRWH3bekBcuDy36oYQI78NbFpTbZVnJ956ZF67D0oXy7tyJ5N/QTLv4POL9Cy90KnaPnM0kmFy5JAiPCey8Hq5WtYVOBXeJSdv/xm6IriUr93yL7zpsAsRY2zjgxi5r0xYF9xtrJ/WhuKXkmBVva3XNatQrYTfYVrrSRjB2t+n85ySuQkQvcl+zxfB1A9KaL+IkDFkcg+g9yUSblk6WrnCk/thOKP/k26BTrkmGQnceVTCeN/FRBjriJusOGlCKKl6rHxVQ== 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=LpAnrL4WoCmMUpTOQnj/Ehu/kMiRTcB+WPw9/2GX+Jw=; b=b5Pi46xrL7TrPa1Xmy9GH09Uis6JlKz/iKEUNwpLchkd+vuFszUkyMqyx2pxnACQy1cgPARaif0E+5JvyYjZgi4AyLeNDcSwak4bmqRpL0nxeexsZYTzxYgci/G6VYyoTc7vB8NKF+yiPtWQnVej3SbibxJZSjMv4V68ObPzbeWnFvd88Hrpv4v7pQV5xlG2hIO9cWBY39pdyH1R1hlbeJOs07+4F1VJ6/BQlC7fC7mmZ6pypAxPO0lDnIF0F9DKxKhNeI/oG2V8OmJLDCw+7jNPRh+lw7+kFTQKrJu8QJ/R7ex61z0xorKcyJSs4qd9W+bnZqbuhT0peIUbUzKzBw== ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=marvell.com;dmarc=pass action=none header.from=marvell.com;dkim=pass header.d=marvell.com;arc=none 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=LpAnrL4WoCmMUpTOQnj/Ehu/kMiRTcB+WPw9/2GX+Jw=; b=mRCMV6n7Ma88Lqp0btkczWPU6XUlHlFaS1aNAid77e45OwWgGYRRouSKV1nZw6i30k0HUMNuB1Nop1490ipucgBUCSsdPGzcBPq6vLZFrMc7nPTyIRBZERpENVk9vMFjkh8/728qkJpK2Mv0FeZfbDMbFtAHvknIlta2LG9xsHM= Received: from BN6PR1801MB2052.namprd18.prod.outlook.com (10.161.157.11) by BN6PR1801MB2001.namprd18.prod.outlook.com (10.161.155.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2094.14; Fri, 19 Jul 2019 04:10:36 +0000 Received: from BN6PR1801MB2052.namprd18.prod.outlook.com ([fe80::b9c4:1fd1:a47e:cd72]) by BN6PR1801MB2052.namprd18.prod.outlook.com ([fe80::b9c4:1fd1:a47e:cd72%6]) with mapi id 15.20.2073.012; Fri, 19 Jul 2019 04:10:36 +0000 From: Shally Verma To: "Trahe, Fiona" , "Kusztal, ArkadiuszX" , "dev@dpdk.org" CC: "akhil.goyal@nxp.com" Thread-Topic: [EXT] [PATCH v3 04/11] test: add cipher field to RSA test Thread-Index: AQHVPAfDtho9AJIMDkGAe+PLY4JdnKbOO8oAgAA7OtCAABgJYIAANipggAGP74CAAQIqEA== Date: Fri, 19 Jul 2019 04:10:36 +0000 Message-ID: References: <20190716185304.12592-1-arkadiuszx.kusztal@intel.com> <20190716185304.12592-5-arkadiuszx.kusztal@intel.com> <06EE24DD0B19E248B53F6DC8657831551B2808CE@hasmsx109.ger.corp.intel.com> <348A99DA5F5B7549AA880327E580B435897C7371@IRSMSX101.ger.corp.intel.com> In-Reply-To: <348A99DA5F5B7549AA880327E580B435897C7371@IRSMSX101.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: 24f849b1-7e20-4435-c701-08d70bff0d58 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:BN6PR1801MB2001; x-ms-traffictypediagnostic: BN6PR1801MB2001: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 01039C93E4 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(376002)(346002)(366004)(396003)(136003)(189003)(199004)(68736007)(6246003)(486006)(86362001)(4744005)(33656002)(25786009)(3846002)(6116002)(8936002)(6436002)(229853002)(66066001)(71190400001)(71200400001)(2906002)(53936002)(2501003)(9686003)(256004)(55016002)(14444005)(478600001)(186003)(74316002)(14454004)(66946007)(8676002)(76116006)(7696005)(99286004)(476003)(446003)(11346002)(76176011)(110136005)(7736002)(66476007)(305945005)(52536014)(55236004)(6506007)(5660300002)(4326008)(66446008)(64756008)(66556008)(26005)(102836004)(81166006)(81156014)(316002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR1801MB2001; H:BN6PR1801MB2052.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: 02gPtRBeG/KoSwUit1L76+1vEwCVOoYLPKNpEIM3HRw26rJun2oeGW05RTnqLaKiCOD7A+G1Snq25G0DOImzdoA6BFlSclvoAUsuihvl/Nv0QHI5T6hJgv6OV+d2vbJ71si7pQ4rHvoqb0Qz4+GVTYlA6fovPQm2zQVHn3xV1cZ1HIPfD6l+W6QJJYyGyT6AUnARGGPuAffEyOEUBeINy2kUZmX7IYZxm2/TqVic9y9EzPHzW6za604Qo7A7HEHZy7TT3FfbgEXLT/lq54s5Iotf08plRGKeYRE5A1N0eTL8Mpt5Iby42SyLSRtwlMJ0rkmsc1nuc56nojNC3+0wqwc9IwVS3NYMQ33aBvvE4VAXOxwqhbxi3YT/vkWiquxoi1WK6vu5q71S7A9OYGxuVurEYl8HfE6NDdnMa8RJ3c0= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 24f849b1-7e20-4435-c701-08d70bff0d58 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Jul 2019 04:10:36.3463 (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: BN6PR1801MB2001 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:5.22.84,1.0.8 definitions=2019-07-19_03:2019-07-19,2019-07-19 signatures=0 Subject: Re: [dpdk-dev] [EXT] [PATCH v3 04/11] test: add cipher field to RSA test 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" ... =20 > Comment under rte_crypto_rsa_op_param.cipher: > Pointer to input data > * - to be decrypted for RSA private decrypt. >=20 > Pointer to output data > * - for RSA public encrypt. > In this case the underlying array should have been a= llocated with > enough memory to hold ciphertext output (i.e. must b= e at least > RSA key size). > The message.length field should be 0 and will be ove= rwritten by > the PMD > with the encrypted length. > All data is in Octet-string network byte order format. >=20 > @Shally - does above make sense? > If so we can update patches 2, 3 and 4 based on above. I see latest patch from Arek has this description. I'll respond on that. Thanks Shally