crypto/aesni_mb: fix DOCSIS AES-256
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 23 Apr 2020 13:46:49 +0000 (14:46 +0100)
committerAkhil Goyal <akhil.goyal@nxp.com>
Mon, 11 May 2020 11:17:43 +0000 (13:17 +0200)
commit6ab5245040d2e5d1da7cfe18cdbdf9f142f7a271
treea1874c2eef26c1adbae2c631984d4af6a11c3e48
parentf7f3ac6dcbe2a10bfd8ef24d70cb7d19ee99530e
crypto/aesni_mb: fix DOCSIS AES-256

When adding support for DOCSIS AES-256,
when setting the cipher parameters, all key sizes
were accepted, but only 128-bit and 256-bit keys
are supported.

Fixes: 9536622b86c8 ("crypto/aesni_mb: support DOCSIS AES-256")

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Mairtin o Loingsigh <mairtin.oloingsigh@intel.com>
drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c