From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id A3631AAD2; Wed, 9 May 2018 13:52:13 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 May 2018 04:52:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,381,1520924400"; d="scan'208";a="39610754" Received: from irsmsx151.ger.corp.intel.com ([163.33.192.59]) by orsmga007.jf.intel.com with ESMTP; 09 May 2018 04:52:11 -0700 Received: from irsmsx112.ger.corp.intel.com (10.108.20.5) by IRSMSX151.ger.corp.intel.com (163.33.192.59) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 9 May 2018 12:52:10 +0100 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.179]) by irsmsx112.ger.corp.intel.com ([169.254.1.237]) with mapi id 14.03.0319.002; Wed, 9 May 2018 12:52:10 +0100 From: "Trahe, Fiona" To: "DAS, SANJIB" , "users@dpdk.org" , "dts@dpdk.org" , "test-report@dpdk.org" CC: "Zhang, Roy Fan" , "De Lara Guarch, Pablo" , "Trahe, Fiona" Thread-Topic: Query on ipsec-secgw with crypto algorithm CCM Thread-Index: AdPiIIJ7nmx03B7KTHyDIqvoLFC5OQEkXUQQACR+LRAAEfnCMA== Date: Wed, 9 May 2018 11:52:08 +0000 Message-ID: <348A99DA5F5B7549AA880327E580B4358947DD1D@IRSMSX103.ger.corp.intel.com> References: <348A99DA5F5B7549AA880327E580B4358947982E@IRSMSX103.ger.corp.intel.com> In-Reply-To: Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYmRiMGU5NmItYWQ5MS00NzRmLTg4YTktZDgzMzhmOWE2Njc4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6Im9uK0xXU1JWTkhoY1NwQUhMNWFqZ2pXRTdtNWpPcHFja1phSGJFb3FQaGs9In0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-users] Query on ipsec-secgw with crypto algorithm CCM X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 May 2018 11:52:14 -0000 CCM aead-iv-size should be between 7 and 13, you're setting to 16. See drivers/crypto/openssl/rte_openssl_pmd_ops.c for openssl capabilities > -----Original Message----- > From: DAS, SANJIB [mailto:sanjib.das@hpe.com] > Sent: Wednesday, May 9, 2018 4:19 AM > To: Trahe, Fiona ; users@dpdk.org; dts@dpdk.org; t= est-report@dpdk.org > Cc: Zhang, Roy Fan ; De Lara Guarch, Pablo > ; DAS, SANJIB > Subject: RE: Query on ipsec-secgw with crypto algorithm CCM >=20 > Thanks Fiona, >=20 > Recently I was trying with "dpdk-test-crypto-perf" application & PMD as = openssl. > But I do see it fails for CCM (dpdk-17.11.2). This API fails > rte_cryptodev_sym_capability_check_aead(). It all works fine with GCM. >=20 >=20 > I used this command >=20 > ./dpdk-test-crypto-perf -l 1-2 --vdev crypto_openssl -w 0000:00:00.0 -- -= -devtype crypto_openssl --aead- > algo aes-ccm --aead-key-sz 16 --aead-iv-sz 16 --aead-op encrypt --aead-aa= d-sz 16 --digest-sz 16 --optype > aead --silent --ptest throughput --total-ops 1000000 >=20 > Not sure if others too faced this issue. >=20 > Thanks, > Sanjib >=20 > my page-0 wiki >=20 >=20 > -----Original Message----- > From: Trahe, Fiona [mailto:fiona.trahe@intel.com] > Sent: Tuesday, May 8, 2018 3:26 PM > To: DAS, SANJIB ; users@dpdk.org; dts@dpdk.org; test-= report@dpdk.org > Cc: Zhang, Roy Fan ; De Lara Guarch, Pablo > > Subject: RE: Query on ipsec-secgw with crypto algorithm CCM >=20 > Hi Sanjib, >=20 > Copying Pablo who added unit tests for it in this commit - this should gi= ve you an example of how to get > it working: > 77a217a19bb72860e26b9aefb19dce92239e0820 >=20 > Also copying Fan who added CCM to aesni_mb PMD. >=20 > Fiona >=20 > > -----Original Message----- > > From: users [mailto:users-bounces@dpdk.org] On Behalf Of DAS, SANJIB > > Sent: Wednesday, May 2, 2018 3:21 PM > > To: users@dpdk.org; dts@dpdk.org; test-report@dpdk.org > > Cc: DAS, SANJIB > > Subject: [dpdk-users] Query on ipsec-secgw with crypto algorithm CCM > > > > Hello team, > > > > I am currently executing performance testing using ipsec-secgw applicat= ion for different crypto > algorithms. > > I was able to execute the tests for crypto algorithms CBC & GCM, but > > as such dint find much pointers on CCM. From ipsec-secgw sample > > application source code (DPDK-18.02.1) also it looks CCM support is > > not there. Could you kindly share your comments on that. Can we actuall= y execute ipsec-secgw > application for crypto algorithm CCM? > > >=20 > > Thanks, > > Sanjib > > > > my page-0 > > wiki > space> > > > > > > >=20