mbox series

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

Message ID 20190328133703.2736-1-arkadiuszx.kusztal@intel.com (mailing list archive)
Headers
Series Add PMD for asymmetric cryptography operations using Intel QuickAssist Technology devices |

Message

Arkadiusz Kusztal March 28, 2019, 1:36 p.m. UTC
  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

v5:
- changed error checks order

v4:
- fixed yet more checkpatch issues	
	
v3:
- fixed some checkpatch issues
	
v2:
- added Meson build
- fixed segfault on cookie
- fixed mod inverse problem

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 inverse to qat asym pmd

 config/common_base                                 |    1 +
 doc/guides/cryptodevs/qat.rst                      |   10 +
 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                        |    8 +
 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 +-
 mk/rte.app.mk                                      |    1 +
 17 files changed, 2987 insertions(+), 5 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
  

Comments

Fiona Trahe March 28, 2019, 1:57 p.m. UTC | #1
> -----Original Message-----
> From: Kusztal, ArkadiuszX
> Sent: Thursday, March 28, 2019 1:37 PM
> To: dev@dpdk.org
> Cc: akhil.goyal@nxp.com; Trahe, Fiona <fiona.trahe@intel.com>; Kusztal, ArkadiuszX
> <arkadiuszx.kusztal@intel.com>
> Subject: [PATCH v5 0/4] Add PMD for asymmetric cryptography operations using Intel QuickAssist
> Technology devices
> 
> 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
> 
> v5:
> - changed error checks order
> 
> v4:
> - fixed yet more checkpatch issues
> 
> v3:
> - fixed some checkpatch issues
> 
> v2:
> - added Meson build
> - fixed segfault on cookie
> - fixed mod inverse problem
> 
> 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 inverse to qat asym pmd

Series-acked-by: Fiona Trahe <fiona.trahe@intel.com>
  
Akhil Goyal March 29, 2019, 2:27 p.m. UTC | #2
On 3/28/2019 7:27 PM, Trahe, Fiona wrote:
>
>> -----Original Message-----
>> From: Kusztal, ArkadiuszX
>> Sent: Thursday, March 28, 2019 1:37 PM
>> To: dev@dpdk.org
>> Cc: akhil.goyal@nxp.com; Trahe, Fiona <fiona.trahe@intel.com>; Kusztal, ArkadiuszX
>> <arkadiuszx.kusztal@intel.com>
>> Subject: [PATCH v5 0/4] Add PMD for asymmetric cryptography operations using Intel QuickAssist
>> Technology devices
>>
>> 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
>>
>> v5:
>> - changed error checks order
>>
>> v4:
>> - fixed yet more checkpatch issues
>>
>> v3:
>> - fixed some checkpatch issues
>>
>> v2:
>> - added Meson build
>> - fixed segfault on cookie
>> - fixed mod inverse problem
>>
>> 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 inverse to qat asym pmd
> Series-acked-by: Fiona Trahe <fiona.trahe@intel.com>
>
Applied to dpdk-next-crypto

Thanks.