From patchwork Thu Jan 28 11:01:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tejasree Kondoj X-Patchwork-Id: 87470 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 443C0A09E4; Thu, 28 Jan 2021 11:05:54 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BC9474067A; Thu, 28 Jan 2021 11:05:53 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 08F1940395 for ; Thu, 28 Jan 2021 11:05:51 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 10SA0F0g019990; Thu, 28 Jan 2021 02:05:51 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=j2pyjrsOy2eABgdIpICwkKnVVi+gTkV3N3F45TT2e84=; b=aHcAZ+fWPgYP0q4QTPaZw/NZlWhGMreqdaPi86vFJbNgcWI8iAXg+/OC71zc/dEecLGu /SoGMNfRLihPopc35yiek1izlIgqxhhulYkLcMp3J5I9AZQPF0UKAOI+WZvpYs2Ad9wy V3OcRJBqdo2UlyIf8Qoi7RXkelg/EfIg9YdVqqOKs/ExeVdkj7JeQ8MGrEnWJF7tWhAi voodOban2qE0jC7o3cEFBRUVtfjUtZUN8iE2svKyXjUNRwDvlTS7FreyoXhR5uGvzu/O ybA/P6rPwPi3PSaKyzHjs+5VJpdwSN2NmMC+qCbjRjpYKMe9JGZ6YpDRkCZIQIaf5id2 /Q== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com with ESMTP id 36b1xpm0xe-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 28 Jan 2021 02:05:50 -0800 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 28 Jan 2021 02:05:48 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 28 Jan 2021 02:05:49 -0800 Received: from hyd1554T5810.caveonetworks.com.com (unknown [10.29.57.11]) by maili.marvell.com (Postfix) with ESMTP id E12123F703F; Thu, 28 Jan 2021 02:05:46 -0800 (PST) From: Tejasree Kondoj To: Akhil Goyal , Radu Nicolau CC: Tejasree Kondoj , Anoob Joseph , Ankur Dwivedi , Date: Thu, 28 Jan 2021 16:31:38 +0530 Message-ID: <20210128110140.13793-1-ktejasree@marvell.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.343, 18.0.737 definitions=2021-01-28_05:2021-01-27, 2021-01-28 signatures=0 Subject: [dpdk-dev] [PATCH v3 0/2] support block cipher DIGEST_ENCRYPTED mode X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" This series adds support for block cipher DIGEST_ENCRYPTED mode in OCTEON TX, OCTEON TX2 PMDs and sample unit test application. v3: * Used DIGEST_ENCRYPTED feature flag instead of SSL_ORDER * Updated patchset description to DIGEST_ENCRYPTED v2: * Added feature flag for SSL/TLS order in cryptodev library * Moved SSL/TLS test cases to proper test sub-suite Tejasree Kondoj (2): common/cpt: support DIGEST_ENCRYPTED mode test/crypto: support block cipher DIGEST_ENCRYPTED mode app/test/test_cryptodev_aes_test_vectors.h | 589 ++++++++++++++++++ app/test/test_cryptodev_blockcipher.c | 95 ++- app/test/test_cryptodev_blockcipher.h | 10 + doc/guides/rel_notes/release_21_02.rst | 10 + drivers/common/cpt/cpt_mcode_defines.h | 7 +- drivers/common/cpt/cpt_ucode.h | 42 +- drivers/crypto/octeontx/otx_cryptodev_ops.c | 11 +- drivers/crypto/octeontx2/otx2_cryptodev.c | 3 +- drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 8 +- 9 files changed, 749 insertions(+), 26 deletions(-)