From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 4FB3E5F51 for ; Fri, 24 Aug 2018 17:10:42 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Aug 2018 08:10:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,283,1531810800"; d="scan'208";a="257750374" Received: from irsmsx110.ger.corp.intel.com ([163.33.3.25]) by fmsmga006.fm.intel.com with ESMTP; 24 Aug 2018 08:10:40 -0700 Received: from irsmsx156.ger.corp.intel.com (10.108.20.68) by irsmsx110.ger.corp.intel.com (163.33.3.25) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 24 Aug 2018 16:10:39 +0100 Received: from irsmsx104.ger.corp.intel.com ([169.254.5.213]) by IRSMSX156.ger.corp.intel.com ([169.254.3.37]) with mapi id 14.03.0319.002; Fri, 24 Aug 2018 16:10:39 +0100 From: "Kovacevic, Marko" To: "De Lara Guarch, Pablo" , "Doherty, Declan" CC: "dev@dpdk.org" , "De Lara Guarch, Pablo" Thread-Topic: [dpdk-dev] [PATCH] crypto/aesni_gcm: support all truncated digest sizes Thread-Index: AQHUM6100lqRfrzefEiUJG1vMQUL3KTO61Mw Date: Fri, 24 Aug 2018 15:10:39 +0000 Message-ID: <6DC05C7C5F25994B81B3F2F214251F6602029022@IRSMSX104.ger.corp.intel.com> References: <20180814005430.5770-1-pablo.de.lara.guarch@intel.com> In-Reply-To: <20180814005430.5770-1-pablo.de.lara.guarch@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMWQ2M2FjZDktMDliNi00NGRhLWJjMzktNzRiYzY3YmVhNDkwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6IjZySDJKcVo0ZWpsNmtcL05cL3NMNVZyU1VJenNwNzlvdXRENkFsaDNcLytWQUk9In0= x-ctpclassification: CTP_NT 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-dev] [PATCH] crypto/aesni_gcm: support all truncated digest sizes 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: Fri, 24 Aug 2018 15:10:42 -0000 > The full digest size of GCM/GMAC algorithms is 16 bytes. > However, it is sometimes truncated to a smaller size (such as in IPSec). > This commit allows a user to generate a digest of any size up to the full= size. >=20 > Signed-off-by: Pablo de Lara > --- > drivers/crypto/aesni_gcm/aesni_gcm_pmd.c | 79 +++++++++++++------ > drivers/crypto/aesni_gcm/aesni_gcm_pmd_ops.c | 8 +- > .../crypto/aesni_gcm/aesni_gcm_pmd_private.h | 6 +- > 3 files changed, 65 insertions(+), 28 deletions(-) >=20 Acked-by: Marko Kovacevic