> -----Original Message----- > From: dev [mailto:[email protected]] On Behalf Of Tomasz Jozwiak > Sent: Monday, January 15, 2018 1:53 PM > To: De Lara Guarch, Pablo <[email protected]> > Cc: [email protected]; Jozwiak, TomaszX <[email protected]> > 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 <[email protected]>
Acked-by: Fiona Trahe <[email protected]>

