From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 14DB9A3295 for ; Wed, 23 Oct 2019 17:23:02 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DB9491BFE5; Wed, 23 Oct 2019 17:23:01 +0200 (CEST) Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by dpdk.org (Postfix) with ESMTP id C5AB8271 for ; Wed, 23 Oct 2019 17:23:00 +0200 (CEST) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 60BF01A0A9F; Wed, 23 Oct 2019 17:23:00 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 90A181A0243; Wed, 23 Oct 2019 17:22:58 +0200 (CEST) Received: from GDB1.ap.freescale.net (gdb1.ap.freescale.net [10.232.132.179]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 64F62402BC; Wed, 23 Oct 2019 23:22:56 +0800 (SGT) From: Akhil Goyal To: thomas@monjalon.net Cc: dev@dpdk.org Date: Wed, 23 Oct 2019 20:37:06 +0530 Message-Id: <20191023150706.3027-1-akhil.goyal@nxp.com> X-Mailer: git-send-email 2.17.1 X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [pull-request] next-crypto 19.11 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" The following changes since commit ae783b42c4935d013ccec3f4625c51ec9ed234be: build: print out dependency names for clarity (2019-10-23 16:41:06 +0200) are available in the Git repository at: http://dpdk.org/git/next/dpdk-next-crypto for you to fetch changes up to 08a9ac4fe660fa0ecce3b31af58475e2960fecc5: cryptodev: clarify wireless inputs in digest-encrypted cases (2019-10-23 20:27:06 +0530) Patches pushed for RC2: - IPSec-secgw app related changes need more review. - openssl pmd review pending - armv8 future is not clear ---------------------------------------------------------------- Adam Dybkowski (2): doc: fix missing compress perf option test/crypto: add encrypted digest case for AES-CTR-CMAC Ankur Dwivedi (3): crypto/octeontx2: support control ops crypto/octeontx2: add queue pair functions crypto/octeontx2: add session related functions Anoob Joseph (5): crypto/octeontx2: add PMD skeleton crypto/octeontx2: add init sequence in probe crypto/octeontx2: add symmetric capabilities crypto/octeontx2: add enqueue/dequeue ops test/crypto: add OCTEON TX2 Arek Kusztal (7): cryptodev: update asymmetric crypto op for session-less crypto/qat: support sessionless for asym ops crypto/qat: support RSA in asym crypto/qat: support RSA CRT in asym test/crypto: add sessionless cases in asymmetric mod exp test/crypto: add RSA cases in QAT and openssl crypto/qat: fix AES CMAC mininum digest size Artur Trybula (2): compress/qat: catch overflow for stateless compression test/compress: add stateless overflow recovery case Damian Nowak (1): crypto/qat: fix null auth when using vfio_pci Fiona Trahe (1): cryptodev: clarify wireless inputs in digest-encrypted cases Gagandeep Singh (1): config: change default endianness for caam jr Hemant Agrawal (11): test/crypto: fix PDCP session create crypto/dpaa2_sec: fix IPv6 PDB options test/crypto: increase cases for dpaax test/crypto: add case for auth only trailer crypto/dpaa_sec: support SNOW3G and ZUC test/crypto: enable SNOW3G and ZUC for dpaa crypto/dpaa_sec: code reorg for session mgmt common/dpaax: move shared sec HW code from dpaa2_sec test/crypto: fix compilation without rte_security app/proc-info: fix compilation without rte_security crypto/dpaax_sec: enable compilation without rte_security Julien Meunier (1): cryptodev: fix checks related to device id Kanaka Durga Kotamarthy (4): crypto/octeontx: add device type mailbox routine crypto/octeontx: add asymmetric session operations common/cpt: add helper functions for asymmetric crypto crypto/octeontx2: add asymmetric session Konstantin Ananyev (1): doc: fix list of unsupported features for IPsec lib Michael Shamis (3): examples/fips_validation: support TDES ECB examples/fips_validation: support AES ECB examples/fips_validation: separate ECB and CBC init Nic Chautru (2): baseband/fpga_lte_fec: fix probing fatal failure baseband/fpga_lte_fec: fix polling of MMIO register Pablo de Lara (2): crypto/aesni_mb: allow device init if no AES-NI is present crypto/aesni_gcm: allow device init if no AES-NI is present Sunila Sahu (4): crypto/octeontx: add asymmetric enqueue/dequeue ops test/crypto: register octeontx to asym testsuite crypto/octeontx2: support asymmetric in enqueue/dequeue test/crypto: support asym cases for OCTEON TX2 Vakul Garg (3): crypto/dpaa_sec: fix auth-cipher check for aead crypto/dpaax_sec: enhance gcm descs to not skip AAD crypto/dpaax_sec: support auth trailer in cipher-auth Vladimir Medvedkin (6): ipsec: add inbound SAD API ipsec: add SAD create/destroy implementation ipsec: add SAD add/delete/lookup implementation test/ipsec: add ipsec SAD autotests app: add test-sad application doc: update doxygen for ipsec library Xiao Wang (1): doc: fix typo in l2fwd-crypto guide MAINTAINERS | 10 + app/Makefile | 1 + app/meson.build | 3 +- app/proc-info/main.c | 4 + app/test-sad/Makefile | 18 + app/test-sad/main.c | 667 +++++++++ app/test-sad/meson.build | 6 + app/test/Makefile | 1 + app/test/autotest_data.py | 6 + app/test/meson.build | 2 + app/test/test_compressdev.c | 280 +++- app/test/test_cryptodev.c | 1534 ++++++++++++++++++-- app/test/test_cryptodev.h | 1 + app/test/test_cryptodev_aes_test_vectors.h | 181 ++- app/test/test_cryptodev_asym.c | 258 +++- app/test/test_cryptodev_blockcipher.c | 7 + app/test/test_cryptodev_blockcipher.h | 1 + app/test/test_cryptodev_des_test_vectors.h | 12 +- app/test/test_cryptodev_hash_test_vectors.h | 75 +- app/test/test_cryptodev_mixed_test_vectors.h | 172 +++ app/test/test_cryptodev_rsa_test_vectors.h | 226 +++ app/test/test_ipsec_sad.c | 887 +++++++++++ config/common_base | 5 + config/defconfig_arm64-dpaa-linuxapp-gcc | 3 - doc/api/doxy-api-index.md | 6 + doc/api/doxy-api.conf.in | 1 + doc/guides/cryptodevs/caam_jr.rst | 4 +- doc/guides/cryptodevs/dpaa_sec.rst | 4 + doc/guides/cryptodevs/features/default.ini | 1 + doc/guides/cryptodevs/features/dpaa_sec.ini | 4 + doc/guides/cryptodevs/features/octeontx.ini | 6 +- doc/guides/cryptodevs/features/octeontx2.ini | 71 + doc/guides/cryptodevs/features/qat.ini | 4 + doc/guides/cryptodevs/index.rst | 1 + doc/guides/cryptodevs/octeontx.rst | 29 +- doc/guides/cryptodevs/octeontx2.rst | 159 ++ doc/guides/cryptodevs/qat.rst | 1 + doc/guides/platform/octeontx2.rst | 3 + doc/guides/prog_guide/cryptodev_lib.rst | 10 +- doc/guides/prog_guide/ipsec_lib.rst | 155 +- doc/guides/rel_notes/release_19_11.rst | 36 + doc/guides/sample_app_ug/l2_forward_crypto.rst | 2 +- doc/guides/tools/comp_perf.rst | 2 + drivers/baseband/fpga_lte_fec/fpga_lte_fec.c | 10 +- drivers/common/Makefile | 5 +- drivers/common/cpt/cpt_common.h | 4 +- drivers/common/cpt/cpt_hw_types.h | 52 + drivers/common/cpt/cpt_mcode_defines.h | 31 + drivers/common/cpt/cpt_pmd_ops_helper.c | 15 + drivers/common/cpt/cpt_pmd_ops_helper.h | 9 + drivers/common/cpt/cpt_ucode_asym.h | 453 ++++++ drivers/common/cpt/rte_common_cpt_version.map | 8 + .../hw => common/dpaax/caamflib}/compat.h | 0 .../dpaa2_sec/hw => common/dpaax/caamflib}/desc.h | 4 +- .../hw => common/dpaax/caamflib}/desc/algo.h | 12 +- .../hw => common/dpaax/caamflib}/desc/common.h | 2 +- .../hw => common/dpaax/caamflib}/desc/ipsec.h | 169 +-- .../hw => common/dpaax/caamflib}/desc/pdcp.h | 2 +- .../dpaa2_sec/hw => common/dpaax/caamflib}/rta.h | 0 .../dpaax/caamflib}/rta/fifo_load_store_cmd.h | 0 .../hw => common/dpaax/caamflib}/rta/header_cmd.h | 0 .../hw => common/dpaax/caamflib}/rta/jump_cmd.h | 0 .../hw => common/dpaax/caamflib}/rta/key_cmd.h | 0 .../hw => common/dpaax/caamflib}/rta/load_cmd.h | 0 .../hw => common/dpaax/caamflib}/rta/math_cmd.h | 0 .../hw => common/dpaax/caamflib}/rta/move_cmd.h | 0 .../hw => common/dpaax/caamflib}/rta/nfifo_cmd.h | 0 .../dpaax/caamflib}/rta/operation_cmd.h | 0 .../dpaax/caamflib}/rta/protocol_cmd.h | 0 .../dpaax/caamflib}/rta/sec_run_time_asm.h | 4 +- .../dpaax/caamflib}/rta/seq_in_out_ptr_cmd.h | 0 .../dpaax/caamflib}/rta/signature_cmd.h | 0 .../hw => common/dpaax/caamflib}/rta/store_cmd.h | 0 .../qat/qat_adf/qat_pke_functionality_arrays.h | 27 + drivers/compress/qat/qat_comp.c | 28 +- drivers/crypto/Makefile | 5 +- drivers/crypto/aesni_gcm/aesni_gcm_pmd.c | 12 +- drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 12 +- drivers/crypto/caam_jr/Makefile | 3 +- drivers/crypto/caam_jr/caam_jr.c | 28 +- drivers/crypto/caam_jr/caam_jr_hw.c | 5 - drivers/crypto/caam_jr/caam_jr_pvt.h | 2 +- drivers/crypto/caam_jr/caam_jr_uio.c | 5 - drivers/crypto/caam_jr/meson.build | 2 +- drivers/crypto/dpaa2_sec/Makefile | 1 + drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 82 +- drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 11 +- drivers/crypto/dpaa2_sec/meson.build | 2 +- drivers/crypto/dpaa_sec/Makefile | 3 +- drivers/crypto/dpaa_sec/dpaa_sec.c | 924 ++++++++---- drivers/crypto/dpaa_sec/dpaa_sec.h | 119 +- drivers/crypto/dpaa_sec/meson.build | 3 +- drivers/crypto/meson.build | 21 +- .../crypto/octeontx/otx_cryptodev_capabilities.c | 47 +- .../crypto/octeontx/otx_cryptodev_capabilities.h | 5 +- drivers/crypto/octeontx/otx_cryptodev_hw_access.c | 51 +- drivers/crypto/octeontx/otx_cryptodev_mbox.c | 26 +- drivers/crypto/octeontx/otx_cryptodev_mbox.h | 20 + drivers/crypto/octeontx/otx_cryptodev_ops.c | 338 ++++- drivers/crypto/octeontx/otx_cryptodev_ops.h | 2 + drivers/crypto/octeontx2/Makefile | 50 + drivers/crypto/octeontx2/meson.build | 34 + drivers/crypto/octeontx2/otx2_cryptodev.c | 157 ++ drivers/crypto/octeontx2/otx2_cryptodev.h | 43 + .../crypto/octeontx2/otx2_cryptodev_capabilities.c | 639 ++++++++ .../crypto/octeontx2/otx2_cryptodev_capabilities.h | 16 + .../crypto/octeontx2/otx2_cryptodev_hw_access.c | 225 +++ .../crypto/octeontx2/otx2_cryptodev_hw_access.h | 169 +++ drivers/crypto/octeontx2/otx2_cryptodev_mbox.c | 175 +++ drivers/crypto/octeontx2/otx2_cryptodev_mbox.h | 25 + drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 1106 ++++++++++++++ drivers/crypto/octeontx2/otx2_cryptodev_ops.h | 21 + .../octeontx2/rte_pmd_octeontx2_crypto_version.map | 4 + drivers/crypto/qat/qat_asym.c | 634 ++++++-- drivers/crypto/qat/qat_asym.h | 29 +- drivers/crypto/qat/qat_asym_capabilities.h | 21 + drivers/crypto/qat/qat_asym_pmd.c | 5 +- drivers/crypto/qat/qat_sym.c | 5 +- drivers/crypto/qat/qat_sym_capabilities.h | 2 +- examples/fips_validation/fips_validation.c | 1 + examples/fips_validation/fips_validation.h | 7 + examples/fips_validation/fips_validation_aes.c | 1 + examples/fips_validation/fips_validation_tdes.c | 7 + examples/fips_validation/main.c | 189 ++- lib/librte_cryptodev/rte_crypto_asym.h | 9 +- lib/librte_cryptodev/rte_crypto_sym.h | 23 +- lib/librte_cryptodev/rte_cryptodev.c | 30 +- lib/librte_cryptodev/rte_cryptodev.h | 2 + lib/librte_cryptodev/rte_cryptodev_pmd.h | 1 - lib/librte_ipsec/Makefile | 4 +- lib/librte_ipsec/ipsec_sad.c | 515 +++++++ lib/librte_ipsec/meson.build | 6 +- lib/librte_ipsec/rte_ipsec_sad.h | 176 +++ lib/librte_ipsec/rte_ipsec_version.map | 6 + mk/rte.app.mk | 10 +- 135 files changed, 10665 insertions(+), 1105 deletions(-) create mode 100644 app/test-sad/Makefile create mode 100644 app/test-sad/main.c create mode 100644 app/test-sad/meson.build create mode 100644 app/test/test_cryptodev_mixed_test_vectors.h create mode 100644 app/test/test_ipsec_sad.c create mode 100644 doc/guides/cryptodevs/features/octeontx2.ini create mode 100644 doc/guides/cryptodevs/octeontx2.rst create mode 100644 drivers/common/cpt/cpt_ucode_asym.h rename drivers/{crypto/dpaa2_sec/hw => common/dpaax/caamflib}/compat.h (100%) rename drivers/{crypto/dpaa2_sec/hw => common/dpaax/caamflib}/desc.h (99%) rename drivers/{crypto/dpaa2_sec/hw => common/dpaax/caamflib}/desc/algo.h (98%) rename drivers/{crypto/dpaa2_sec/hw => common/dpaax/caamflib}/desc/common.h (99%) rename drivers/{crypto/dpaa2_sec/hw => common/dpaax/caamflib}/desc/ipsec.h (94%) rename drivers/{crypto/dpaa2_sec/hw => common/dpaax/caamflib}/desc/pdcp.h (99%) rename drivers/{crypto/dpaa2_sec/hw => common/dpaax/caamflib}/rta.h (100%) rename drivers/{crypto/dpaa2_sec/hw => common/dpaax/caamflib}/rta/fifo_load_store_cmd.h (100%) rename drivers/{crypto/dpaa2_sec/hw => common/dpaax/caamflib}/rta/header_cmd.h (100%) rename drivers/{crypto/dpaa2_sec/hw => common/dpaax/caamflib}/rta/jump_cmd.h (100%) rename drivers/{crypto/dpaa2_sec/hw => common/dpaax/caamflib}/rta/key_cmd.h (100%) rename drivers/{crypto/dpaa2_sec/hw => common/dpaax/caamflib}/rta/load_cmd.h (100%) rename drivers/{crypto/dpaa2_sec/hw => common/dpaax/caamflib}/rta/math_cmd.h (100%) rename drivers/{crypto/dpaa2_sec/hw => common/dpaax/caamflib}/rta/move_cmd.h (100%) rename drivers/{crypto/dpaa2_sec/hw => common/dpaax/caamflib}/rta/nfifo_cmd.h (100%) rename drivers/{crypto/dpaa2_sec/hw => common/dpaax/caamflib}/rta/operation_cmd.h (100%) rename drivers/{crypto/dpaa2_sec/hw => common/dpaax/caamflib}/rta/protocol_cmd.h (100%) rename drivers/{crypto/dpaa2_sec/hw => common/dpaax/caamflib}/rta/sec_run_time_asm.h (99%) rename drivers/{crypto/dpaa2_sec/hw => common/dpaax/caamflib}/rta/seq_in_out_ptr_cmd.h (100%) rename drivers/{crypto/dpaa2_sec/hw => common/dpaax/caamflib}/rta/signature_cmd.h (100%) rename drivers/{crypto/dpaa2_sec/hw => common/dpaax/caamflib}/rta/store_cmd.h (100%) create mode 100644 drivers/crypto/octeontx2/Makefile create mode 100644 drivers/crypto/octeontx2/meson.build create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev.c create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev.h create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_capabilities.c create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_capabilities.h create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_hw_access.c create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_hw_access.h create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_mbox.c create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_mbox.h create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_ops.c create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_ops.h create mode 100644 drivers/crypto/octeontx2/rte_pmd_octeontx2_crypto_version.map create mode 100644 lib/librte_ipsec/ipsec_sad.c create mode 100644 lib/librte_ipsec/rte_ipsec_sad.h