From patchwork Thu Dec 5 15:37:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anoob Joseph X-Patchwork-Id: 63596 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7FF9AA04F2; Thu, 5 Dec 2019 16:39:21 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BBE411BF7F; Thu, 5 Dec 2019 16:39:20 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id C81801BF7B for ; Thu, 5 Dec 2019 16:39:18 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xB5Fa9jC028432; Thu, 5 Dec 2019 07:39:17 -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=pfpt0818; bh=Fgh36R6G5l+FRQPa7ITlwANp/zKhtE8JxU0Tf7liuVI=; b=NvSGFF3p18GifYt11zL3jg0zSYjdLdWF3YUf2juwr/R2Su0yD9pGQlm4w3TfKlcE4HaU TGJq4Zh5mD4GxfB0dLGhMB7WJ9Z/hPMU9ef2AGXiFcrJq5oYO5xLp2faitcjHjqDOJmF Z3EwPbzk7Kua6sFoG1pSzWbMLmCI9Q7TNuNYBoeuYeezra7Q62j4yx2qDoxmhJXqDftq jz76/GVcFfmk7eXe8rFO18ihtYROfnWYaotIRwj9phw3hEKl/QOHGO1wi4Q7Qx5bH3hB cwdIeQkgDW0dQUXGKW/A7OtRJjdUKDh/ZU24eaJHwGRLd4qY+X5p9BQkSZP+Uzatt/XR Ew== Received: from sc-exch01.marvell.com ([199.233.58.181]) by mx0a-0016f401.pphosted.com with ESMTP id 2wpywp13yu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 05 Dec 2019 07:39:17 -0800 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 5 Dec 2019 07:39:16 -0800 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Thu, 5 Dec 2019 07:39:16 -0800 Received: from ajoseph83.caveonetworks.com.com (unknown [10.29.45.60]) by maili.marvell.com (Postfix) with ESMTP id 58B483F703F; Thu, 5 Dec 2019 07:39:12 -0800 (PST) From: Anoob Joseph To: Akhil Goyal , Declan Doherty , Pablo de Lara CC: Anoob Joseph , Fiona Trahe , Arek Kusztal , Jerin Jacob , Narayana Prasad , Shally Verma , Ankur Dwivedi , Sunila Sahu , Date: Thu, 5 Dec 2019 21:07:56 +0530 Message-ID: <1575560280-3261-1-git-send-email-anoobj@marvell.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2019-12-05_03:2019-12-04,2019-12-05 signatures=0 Subject: [dpdk-dev] [PATCH 0/4] add ECPM support 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This series adds support for ECPM (Elliptic Curve Point Multiplication) asymmetric operations. Library changes and PMD changes for crypto_octeontx & crypto_octeontx2 is added. The final patch adds the required test vectors and verification routines. Balakrishna Bhamidipati (1): lib/crypto: add support for EC Point Multiplication Sunila Sahu (3): crypto/octeontx: add EC Point Mul support crypto/octeontx2: add EC Point Mul support app/test: add EC point multiplication test app/test/test_cryptodev_asym.c | 177 +++++++++++ app/test/test_cryptodev_asym_util.h | 11 + app/test/test_cryptodev_ecpm_test_vectors.h | 353 +++++++++++++++++++++ doc/guides/cryptodevs/features/default.ini | 1 + doc/guides/cryptodevs/features/octeontx.ini | 1 + doc/guides/cryptodevs/features/octeontx2.ini | 1 + drivers/common/cpt/cpt_mcode_defines.h | 2 + drivers/common/cpt/cpt_ucode_asym.h | 85 +++++ .../crypto/octeontx/otx_cryptodev_capabilities.c | 11 + drivers/crypto/octeontx/otx_cryptodev_ops.c | 23 ++ .../crypto/octeontx2/otx2_cryptodev_capabilities.c | 11 + drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 22 ++ lib/librte_cryptodev/rte_crypto_asym.h | 17 + lib/librte_cryptodev/rte_cryptodev.c | 1 + 14 files changed, 716 insertions(+) create mode 100644 app/test/test_cryptodev_ecpm_test_vectors.h