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 00A9D3005 for ; Sun, 18 Sep 2016 06:03:38 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP; 17 Sep 2016 21:03:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,354,1470726000"; d="scan'208";a="1058293434" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga002.fm.intel.com with ESMTP; 17 Sep 2016 21:03:38 -0700 Received: from fmsmsx119.amr.corp.intel.com (10.18.124.207) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sat, 17 Sep 2016 21:03:37 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX119.amr.corp.intel.com (10.18.124.207) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sat, 17 Sep 2016 21:03:36 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.209]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.250]) with mapi id 14.03.0248.002; Sun, 18 Sep 2016 12:03:34 +0800 From: "Liu, Yong" To: "Jain, Deepak K" , "dev@dpdk.org" CC: "De Lara Guarch, Pablo" , "Jain, Deepak K" Thread-Topic: [dpdk-dev] [PATCH v3 0/2] add aes-sha224-hmac support to Intel QAT driver Thread-Index: AQHSD234wgGuS1Sw2katnLx3QCQSkqB+pBQw Date: Sun, 18 Sep 2016 04:03:34 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E602C6387@SHSMSX103.ccr.corp.intel.com> References: <1471272088-109621-1-git-send-email-deepak.k.jain@intel.com> <1473956793-33959-1-git-send-email-deepak.k.jain@intel.com> In-Reply-To: <1473956793-33959-1-git-send-email-deepak.k.jain@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMTdjMGQ5ZWEtNzQ3My00YjMyLThiZTEtOTBmNTJlYjJiN2YwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IjNTREE4QWNzS2xZMmc2RDRaU1c0XC94b2tVbHFcL1pLenRHdHA0Vjhjbjh2Zz0ifQ== x-ctpclassification: CTP_IC x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v3 0/2] add aes-sha224-hmac support to Intel QAT driver X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Sep 2016 04:03:39 -0000 Tested-by: Yong Liu - Tested Branch: dpdk-next-crypto/master - Tested Commit: 3e329d659b62097d15ec86ff92acc8effaf28cd2 - OS: Fedora20 3.11.10-301.fc20.x86_64 - GCC: gcc version 4.8.3 20140911 - CPU: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz - NIC: Intel Corporation Device Fortville [8086:1583] - QAT: Intel Corporation Coleto Creek PCIe Endpoint [8086:0435] - Default x86_64-native-linuxapp-gcc configuration - Prerequisites: - Total 2 cases, 2 passed, 0 failed - Prerequisites command / instruction: Enable CONFIG_RTE_LIBRTE_PMD_QAT in config/common_base and rebuild dpdk Bind QAT VF devices to igb_uio - Case:=20 Description: SHA224_HMAC authentication unit test=20 Command / instruction: Start test application with normal eal parameter. ./$RTE_TARGET/app/test -c f -n 4 -- -i Run crypto QAT unit test suite and verify SHA224_HMAC cases passed - Case:=20 Description: l2fwd_crypto with SHA224_HMAC authentication test Command / instruction: Start l2fwd_crypto with QAT technology enable. Authentication method is SHA224_HMAC, auth key is also inputted in. Authentication key length for SHA224_HMAC should be 64 bytes. ./examples/l2fwd-crypto/build/app/l2fwd-crypto -c0xf -n4 -- -p0x1 \ --chain HASH_ONLY --cdev_type ANY --auth_algo SHA224_HMAC \ --auth_op GENERATE --auth_key $auth_key Send 65 packets with random 64 bytes payload and capture forwarded pack= ets. Check all forwarded packets contained of 28 bytes hashed value. Check hash values are same as automatic calculated value. > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Deepak Kumar Jain > Sent: Friday, September 16, 2016 12:27 AM > To: dev@dpdk.org > Cc: De Lara Guarch, Pablo; Jain, Deepak K > Subject: [dpdk-dev] [PATCH v3 0/2] add aes-sha224-hmac support to Intel > QAT driver >=20 > This patchset adds support of aes-sha224-hmac in Intel(R) QuickAssist > Technology driver. >=20 > This patchset depends on following patchset: > "crypto/qat: add MD5 HMAC capability to Intel QAT driver" > (http://dpdk.org/dev/patchwork/patch/15754/) >=20 > Jain, Deepak K (2): > crypto/qat: add aes-sha224-hmac capability to Intel QAT driver > app/test: add test cases for aes-sha224-hmac for Intel QAT driver >=20 > Changes in v3: > * Cover letter updated with correct information about sha224-hmac. >=20 > Changes in v2: > * Added new feature information in release_16_11.rst file. > * Added information about sha224-hmac in capabilities. >=20 > app/test/test_cryptodev_aes.c | 6 +++-- > doc/guides/cryptodevs/qat.rst | 1 + > doc/guides/rel_notes/release_16_11.rst | 1 + > drivers/crypto/qat/qat_adf/qat_algs_build_desc.c | 33 > ++++++++++++++++++++++++ > drivers/crypto/qat/qat_crypto.c | 25 +++++++++++++++++- > 5 files changed, 63 insertions(+), 3 deletions(-) >=20 > -- > 2.5.5