> -----Original Message----- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Tomasz Jozwiak > Sent: Monday, January 15, 2018 1:53 PM > To: De Lara Guarch, Pablo <pablo.de.lara.gua...@intel.com> > Cc: dev@dpdk.org; Jozwiak, TomaszX <tomaszx.jozw...@intel.com> > Subject: [dpdk-dev] [PATCH] crypto/qat: fix out-of-bounds compiler error > > This commit fixes > - bpi_cipher_encrypt to prevent before 'array subscript is > above array bounds' error > - bpi_cipher_decrypt to prevent before 'array subscript is > above array bounds' error > - right cast from qat_cipher_get_block_size function. > This function can return -EFAULT in case of any error, > and that value must be cast to int instead of uint8_t > - typo in error message > > A performance improvement was added to bpi_cipher_encrypt and > bpi_cipher_decrypt as well. > > Fixes: d18ab45f7654 ("crypto/qat: support DOCSIS BPI mode") > > Signed-off-by: Tomasz Jozwiak <tomaszx.jozw...@intel.com>
Acked-by: Fiona Trahe <fiona.tr...@intel.com>