From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id C13B9A0679 for ; Tue, 2 Apr 2019 18:08:09 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0572B4CA0; Tue, 2 Apr 2019 18:08:09 +0200 (CEST) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50079.outbound.protection.outlook.com [40.107.5.79]) by dpdk.org (Postfix) with ESMTP id 00A354C9C for ; Tue, 2 Apr 2019 18:08:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9ALLZGtGzIWb6Xxmkx0M55jtrWzE8r98mI9HigJx5WA=; b=PSDUutdwPe6ooOnq13VsMfmnsggAqg70B000S4Cp+OtwvxvPl8AFMtCbsW3rfQ8XZQoa+79RKdOr4bsjyti1Ge9zjEYt13aufEYBFM9pW/0DiJB78Wsoutn2VGT2W0gcZyW7Ibxlphn9XP9zfeSC1IgDlXA/c13xWDyeUYiu5nI= Received: from VI1PR04MB4893.eurprd04.prod.outlook.com (20.177.49.154) by VI1PR04MB4848.eurprd04.prod.outlook.com (20.177.49.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1750.16; Tue, 2 Apr 2019 16:08:07 +0000 Received: from VI1PR04MB4893.eurprd04.prod.outlook.com ([fe80::d81a:c2cb:6bce:30bb]) by VI1PR04MB4893.eurprd04.prod.outlook.com ([fe80::d81a:c2cb:6bce:30bb%4]) with mapi id 15.20.1750.014; Tue, 2 Apr 2019 16:08:06 +0000 From: Akhil Goyal To: "thomas@monjalon.net" CC: "dev@dpdk.org" Thread-Topic: [pull-request] next-crypto 19.05 rc1 Thread-Index: AQHU6W5CMNot8iydAE2nOgDSwBnTXQ== Date: Tue, 2 Apr 2019 16:08:06 +0000 Message-ID: <20190402155825.5378-1-akhil.goyal@nxp.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: TY2PR04CA0019.apcprd04.prod.outlook.com (2603:1096:404:f6::31) To VI1PR04MB4893.eurprd04.prod.outlook.com (2603:10a6:803:56::26) x-mailer: git-send-email 2.17.1 authentication-results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [92.120.1.68] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1672bdfe-e839-4e34-3369-08d6b7856482 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600139)(711020)(4605104)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:VI1PR04MB4848; x-ms-traffictypediagnostic: VI1PR04MB4848: x-ms-exchange-purlcount: 1 x-microsoft-antispam-prvs: x-forefront-prvs: 0995196AA2 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(39860400002)(366004)(346002)(376002)(136003)(199004)(189003)(53376002)(5640700003)(81166006)(71200400001)(316002)(2906002)(2501003)(36756003)(4326008)(71190400001)(86362001)(6436002)(26005)(3846002)(68736007)(8936002)(8676002)(478600001)(53936002)(66066001)(6116002)(50226002)(52116002)(99286004)(81156014)(97736004)(106356001)(14454004)(102836004)(14444005)(6486002)(6916009)(386003)(966005)(1730700003)(256004)(486006)(44832011)(7736002)(2616005)(305945005)(6506007)(5660300002)(6512007)(25786009)(186003)(2351001)(5024004)(6306002)(476003)(1076003)(105586002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB4848; H:VI1PR04MB4893.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: yhaQhVsVvbqZgv28zMZYgQtGuJNkV65PWvACbayhZFidWv1o/EqagZzTgdcxPmRRRBHcrDpy3tMJFfv7NjMPyq3rqviDynKKOUXu6XXwlkzrd825NTs9cdWYDW0gI1+p5KmPqGNwt36IlI4Z+4+dRz0PCTnN1hArDEWTlCVLdOM3aMoMpx6D56LtRhFzbQWkk66bNsKfrYqrpJnETPf7U10WHOdvzDMWPFFsCv4cJmcdazCKj4ZYjMfA0E2KsWCxiZ0k4Js6/aJDWz2/qIYtNSETym/8MeLrnsy6XSf6p/fX7Ju5XMvfmVxCWoBkOW8oSgNZSeV7QcSZvVGtzzrDYT+o7x3zc7pwhzcNmPZPKhlHpk+2b39OSmk9wyR8NLbcwa8hLHP+Owq6aDfnyFOBpAtka/oXXqGkKOesaUFtzR0= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1672bdfe-e839-4e34-3369-08d6b7856482 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Apr 2019 16:08:06.8194 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4848 Subject: [dpdk-dev] [pull-request] next-crypto 19.05 rc1 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" Message-ID: <20190402160806.LubMUyYMA5H8ffhc_53X3GGeoCp2fjESWR5GfyHHth0@z> The following changes since commit dfc6b2fd8da344095567c53f3e087cae3b4690b9= : mbuf: remove Intel offload checks from generic API (2019-04-02 16:42:52 += 0200) are available in the Git repository at: http://dpdk.org/git/next/dpdk-next-crypto=20 for you to fetch changes up to 56e837a425a41a1e095cc29a156130e08d68813c: doc: add ipsec lib into shared libraries list (2019-04-02 20:20:24 +0530) ---------------------------------------------------------------- Akhil Goyal (6): crypto/dpaa2_sec: fix session clear crypto/dpaa2_sec: fix offset calculation for gcm drivers/crypto: update inline desc for sharing mode crypto/dpaa2_sec: remove unnecessary flc configurations crypto/dpaa_sec: fix session qp attach/detach crypto/dpaa2_sec: support multi process Anoob Joseph (1): doc: announce ABI change for cryptodev config Arek Kusztal (4): common/qat: add headers for asymmetric crypto crypto/qat: add asymmetric cryptography PMD crypto/qat: add modular exponentiation for asym crypto/qat: add modular inverse for asym Ayuj Verma (3): cryptodev: add rsa priv key feature flag crypto/openssl: set rsa private op feature flag test/crypto: check for key type ff in asym unit test Damian Nowak (1): test: new test structure for asymmetric crypto Fan Zhang (3): crypto/aesni_mb: enable out of place processing test: add out of place test for AESNI-MB crypto/aesni_mb: support newer version library only Konstantin Ananyev (12): examples/ipsec-secgw: fix invalid out-of-bound check examples/ipsec_secgw: fix possible NULL dereference examples/ipsec-secgw: fix typo in test script mbuf: new function to generate raw Tx offload value ipsec: add Tx offload template into SA ipsec: change the order in filling crypto op ipsec: change the way unprocessed mbufs are accounted ipsec: move inbound and outbound code into different files ipsec: reorder packet check for esp inbound ipsec: reorder packet process for esp inbound ipsec: de-duplicate crypto op prepare code-path doc: add ipsec lib into shared libraries list Lee Daly (1): compress/isal: add appropriate flag on overflow Lukasz Krakowiak (1): test: add snow3g test cases when digest is encrypted Tomasz Cel (2): compress/isal: fix compression stream initialization compress/isal: fix getting information about CPU Tomasz Jozwiak (3): compress/qat: add dynamic sgl allocation drivers/qat: fix qp numa node app/compress-perf: add incompressible data handling app/test-compress-perf/comp_perf_options.h | 5 + app/test-compress-perf/comp_perf_options_parse.c | 11 +- app/test-compress-perf/comp_perf_test_benchmark.c | 9 +- app/test-compress-perf/comp_perf_test_verify.c | 9 +- app/test-compress-perf/main.c | 34 +- app/test/test_cryptodev.c | 91 +- app/test/test_cryptodev.h | 1 + app/test/test_cryptodev_aes_test_vectors.h | 110 +- app/test/test_cryptodev_asym.c | 344 +++++ app/test/test_cryptodev_blockcipher.c | 83 +- app/test/test_cryptodev_blockcipher.h | 3 + app/test/test_cryptodev_des_test_vectors.h | 24 +- app/test/test_cryptodev_mod_test_vectors.h | 967 ++++++++++++ app/test/test_cryptodev_snow3g_test_vectors.h | 132 +- app/test/test_mbuf.c | 101 +- config/common_base | 2 +- doc/guides/compressdevs/qat_comp.rst | 1 - doc/guides/cryptodevs/aesni_mb.rst | 8 +- doc/guides/cryptodevs/features/aesni_mb.ini | 1 + doc/guides/cryptodevs/features/default.ini | 2 + doc/guides/cryptodevs/features/openssl.ini | 2 + doc/guides/cryptodevs/overview.rst | 6 + doc/guides/cryptodevs/qat.rst | 15 +- doc/guides/rel_notes/deprecation.rst | 15 +- doc/guides/rel_notes/release_19_05.rst | 5 + drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 2 +- drivers/common/qat/Makefile | 8 + drivers/common/qat/qat_adf/icp_qat_fw_mmp_ids.h | 1538 ++++++++++++++++= ++++ drivers/common/qat/qat_adf/icp_qat_fw_pke.h | 426 ++++++ .../qat/qat_adf/qat_pke_functionality_arrays.h | 52 + drivers/common/qat/qat_device.h | 12 +- drivers/common/qat/qat_qp.c | 22 +- drivers/compress/isal/isal_compress_pmd.c | 26 +- drivers/compress/isal/isal_compress_pmd_ops.c | 16 +- drivers/compress/qat/qat_comp.c | 58 +- drivers/compress/qat/qat_comp.h | 14 +- drivers/compress/qat/qat_comp_pmd.c | 58 +- drivers/crypto/aesni_mb/Makefile | 21 +- drivers/crypto/aesni_mb/aesni_mb_ops.h | 302 ---- drivers/crypto/aesni_mb/meson.build | 13 +- drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 102 +- drivers/crypto/aesni_mb/rte_aesni_mb_pmd_compat.c | 1313 ----------------= - .../crypto/aesni_mb/rte_aesni_mb_pmd_ops_compat.c | 745 ---------- drivers/crypto/aesni_mb/rte_aesni_mb_pmd_private.h | 37 - drivers/crypto/caam_jr/caam_jr.c | 13 +- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 74 +- drivers/crypto/dpaa2_sec/hw/desc/algo.h | 18 +- drivers/crypto/dpaa2_sec/hw/desc/ipsec.h | 10 +- drivers/crypto/dpaa_sec/dpaa_sec.c | 27 +- drivers/crypto/openssl/rte_openssl_pmd.c | 4 +- drivers/crypto/qat/meson.build | 5 +- drivers/crypto/qat/qat_asym.c | 420 ++++++ drivers/crypto/qat/qat_asym.h | 106 ++ drivers/crypto/qat/qat_asym_capabilities.h | 42 + drivers/crypto/qat/qat_asym_pmd.c | 309 ++++ drivers/crypto/qat/qat_asym_pmd.h | 50 + drivers/crypto/qat/qat_sym_pmd.c | 1 - drivers/crypto/qat/qat_sym_pmd.h | 3 +- examples/ipsec-secgw/ipsec-secgw.c | 2 +- examples/ipsec-secgw/ipsec_process.c | 11 +- examples/ipsec-secgw/test/run_test.sh | 2 +- lib/librte_cryptodev/rte_cryptodev.c | 4 + lib/librte_cryptodev/rte_cryptodev.h | 4 + lib/librte_ipsec/Makefile | 2 + lib/librte_ipsec/crypto.h | 17 + lib/librte_ipsec/esp_inb.c | 547 +++++++ lib/librte_ipsec/esp_outb.c | 580 ++++++++ lib/librte_ipsec/ipsec_sqn.h | 34 - lib/librte_ipsec/meson.build | 2 +- lib/librte_ipsec/misc.h | 41 + lib/librte_ipsec/sa.c | 1072 +------------- lib/librte_ipsec/sa.h | 45 + lib/librte_mbuf/rte_mbuf.h | 101 +- mk/rte.app.mk | 1 + 74 files changed, 6584 insertions(+), 3709 deletions(-) create mode 100644 drivers/common/qat/qat_adf/icp_qat_fw_mmp_ids.h create mode 100644 drivers/common/qat/qat_adf/icp_qat_fw_pke.h create mode 100644 drivers/common/qat/qat_adf/qat_pke_functionality_arrays= .h delete mode 100644 drivers/crypto/aesni_mb/aesni_mb_ops.h delete mode 100644 drivers/crypto/aesni_mb/rte_aesni_mb_pmd_compat.c delete mode 100644 drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops_compat.c create mode 100644 drivers/crypto/qat/qat_asym.c create mode 100644 drivers/crypto/qat/qat_asym.h create mode 100644 drivers/crypto/qat/qat_asym_capabilities.h create mode 100644 drivers/crypto/qat/qat_asym_pmd.c create mode 100644 drivers/crypto/qat/qat_asym_pmd.h create mode 100644 lib/librte_ipsec/esp_inb.c create mode 100644 lib/librte_ipsec/esp_outb.c create mode 100644 lib/librte_ipsec/misc.h