]> git.droids-corp.org - dpdk.git/commit
crypto/ipsec_mb: fix ZUC authentication verify
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 23 Feb 2022 16:01:14 +0000 (16:01 +0000)
committerAkhil Goyal <gakhil@marvell.com>
Thu, 24 Feb 2022 10:21:12 +0000 (11:21 +0100)
commitbd3769739b3897865b1f0d2886ce1fe8a88eac75
treeffddae033ff85b8e89eb0f2cc4b004a2e3bd5bec
parentcfb566048ee729969d982a0c6020148d69f585fc
crypto/ipsec_mb: fix ZUC authentication verify

ZUC authentication is done over multiple buffers at a time.
When authentication verification is done, multiple scratch buffers
are using to generate the tags that will be compared afterwards.
However, the same scratch buffer was used always, instead of having
different ones for each crypto operation.

Fixes: 0b133c36ad7d ("crypto/zuc: support IPsec Multi-buffer lib v0.54")
Cc: stable@dpdk.org
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
drivers/crypto/ipsec_mb/pmd_zuc.c
drivers/crypto/ipsec_mb/pmd_zuc_priv.h