[0/4] Add PMD for asymmetric cryptography operations using Intel QuickAssist Technology devices

Message ID 20190228163523.6096-1-arkadiuszx.kusztal@intel.com
Headers show
Series
  • Add PMD for asymmetric cryptography operations using Intel QuickAssist Technology devices
Related show

Message

Kusztal, ArkadiuszX Feb. 28, 2019, 4:35 p.m.
This patchset adds Poll Mode Driver to use asymmetric cryptography
functions using Intel QuickAssist Techology devices.

Following functions are available with this patchset:
*	Modular Exponentiation
*	Modular Inverse

This patch depends on a QAT PF driver for device initialization. See
the file docs/guides/cryptodevs/qat.rst for configuration details.

Limitations:
*	Maximum parameter size: 4096 bits
	-	For both modular exponentiaion and modular multiplicative inverse
	
This patchset depends on following patches:
- [v2,1/3] cryptodev: add result field to mod exp and inverse operations
(http://patchwork.dpdk.org/patch/50256/)

Notes:
	meson build will be added in v2

Arek Kusztal (4):
  common/qat: add headers for asymmetric crypto
  crypto/qat: add asymmetric cryptography PMD
  crypto/qat: add modular exponentiation to qat asym pmd
  crypto/qat: add modular multiplicative inverse to qat asym pmd

 doc/guides/cryptodevs/qat.rst                      |   10 +
 drivers/common/qat/Makefile                        |    6 +-
 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                        |    6 +
 drivers/crypto/qat/qat_asym.c                      |  336 +++++
 drivers/crypto/qat/qat_asym.h                      |  105 ++
 drivers/crypto/qat/qat_asym_capabilities.h         |   42 +
 drivers/crypto/qat/qat_asym_pmd.c                  |  310 ++++
 drivers/crypto/qat/qat_asym_pmd.h                  |   46 +
 drivers/crypto/qat/qat_sym_pmd.c                   |    1 -
 drivers/crypto/qat/qat_sym_pmd.h                   |    3 +-
 14 files changed, 2887 insertions(+), 6 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
 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