crypto/aesni_mb: support DOCSIS AES-256

This patch adds support for DOCSIS AES-256 when using AESNI-MB

Signed-off-by: Mairtin o Loingsigh <mairtin.oloingsigh@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
This commit is contained in:
Mairtin o Loingsigh 2020-04-15 12:51:35 +01:00 committed by Akhil Goyal
parent 6da6baf763
commit 9536622b86
2 changed files with 9 additions and 0 deletions

View File

@ -78,6 +78,10 @@ New Features
* Added support for matching on IPv4 Time To Live and IPv6 Hop Limit.
* **Updated the AESNI MB crypto PMD.**
* Updated the AESNI MB PMD with AES-256 DOCSIS algorithm.
* **Added handling of mixed crypto algorithms in QAT PMD for GEN2.**
Enabled handling of mixed algorithms in encrypted digest hash-cipher

View File

@ -314,8 +314,13 @@ static const struct rte_cryptodev_capabilities aesni_mb_pmd_capabilities[] = {
.block_size = 16,
.key_size = {
.min = 16,
#if IMB_VERSION_NUM >= IMB_VERSION(0, 53, 3)
.max = 32,
.increment = 16
#else
.max = 16,
.increment = 0
#endif
},
.iv_size = {
.min = 16,