Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crypto/ipsec_mb: fix ZUC operation overwrite
[ upstream commit 96d0dc2 ] ZUC PMD batches crypto operations depending on their type (encryption + tag generation, tag verification + decryption, etc), to allow parallelization. The array used to store the pointers to these operations was always the same array provided by dequeue_burst() function, and it was looping around the same positions (from 0 to ZUC_MAX_BURST - 1). A new internal array is used to avoid overwriting the pointers of the array provided by dequeue_burst() function. Fixes: cf7685d ("crypto/zuc: add driver for ZUC library") Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
- Loading branch information