From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 0B384FA39 for ; Mon, 6 Mar 2017 17:47:16 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Mar 2017 08:47:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,254,1484035200"; d="scan'208";a="1105379427" Received: from irsmsx107.ger.corp.intel.com ([163.33.3.99]) by orsmga001.jf.intel.com with ESMTP; 06 Mar 2017 08:47:13 -0800 Received: from irsmsx156.ger.corp.intel.com (10.108.20.68) by IRSMSX107.ger.corp.intel.com (163.33.3.99) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 6 Mar 2017 16:47:06 +0000 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.173]) by IRSMSX156.ger.corp.intel.com ([169.254.3.104]) with mapi id 14.03.0248.002; Mon, 6 Mar 2017 16:47:06 +0000 From: "De Lara Guarch, Pablo" To: "Doherty, Declan" , "Trahe, Fiona" CC: "dev@dpdk.org" Thread-Topic: [PATCH v2] cryptodev: enable BPI for Cablelabs DOCSIS security spec Thread-Index: AQHSjd1A6OFcPr5VXUWHi8ivD8fBFKGIFrww Date: Mon, 6 Mar 2017 16:47:05 +0000 Message-ID: References: <1484751890-9716-1-git-send-email-fiona.trahe@intel.com> <1487858575-140430-1-git-send-email-pablo.de.lara.guarch@intel.com> In-Reply-To: <1487858575-140430-1-git-send-email-pablo.de.lara.guarch@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOWJjNzM0NTYtNDk5ZC00OGZiLTk0OTMtYmJhYWU5NWVmNDdhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6InB1elZxam1lVmpkRjBjcVNKOXVvaWN0NFIwaDdBQTlTdG5iM1wvK2NFc01FPSJ9 x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] cryptodev: enable BPI for Cablelabs DOCSIS security spec 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: Mon, 06 Mar 2017 16:47:17 -0000 > -----Original Message----- > From: De Lara Guarch, Pablo > Sent: Thursday, February 23, 2017 2:03 PM > To: Doherty, Declan; Trahe, Fiona > Cc: dev@dpdk.org; De Lara Guarch, Pablo > Subject: [PATCH v2] cryptodev: enable BPI for Cablelabs DOCSIS security > spec >=20 > Extend the DPDK cryptodev API to enable processing of packets according > to the Baseline Privacy Interface Plus (BPI+) Specification described in > the security specification of the Cablelabs Data-over-Cable Service > Interface Specification (DOCSIS). >=20 > Brief summary of BPI+ symmetric cryptography requirements: > BPI+ cryptography uses a block cipher (AES-CBC/DES-CBC) to > encrypt/decrypt > all the whole blocks in the packet. However the data length is not always > a block-multiple, so where there is a final block less than the full bloc= k > size this residual block requires special handling using AES-CFB/DES-CFB > mode. Similar special handling is specified where there is only one block= , > smaller than the block size for the cipher. See spec for further details. > https://apps.cablelabs.com/specification/docsis-3-1-security-specificatio= n/ >=20 > Two new elements are added to the enum rte_crypto_cipher_algorithm. > Note elements of this enum are actually a combination of an algorithm > (AES, > 3DES, etc) and mode (CBC, CTR, etc). The new DOCSISBPI mode is used to > convey to the PMD that the mode applied should be the specific > combination > of CBC and CFB required by the DOCSIS Baseline Privacy Plus Spec. >=20 > Signed-off-by: Fiona Trahe > Signed-off-by: Pablo de Lara Applied to dpdk-next-crypto. Thanks, Pablo