]> git.droids-corp.org - dpdk.git/commit
crypto/ipsec_mb: fix length and offset settings
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 23 Feb 2022 16:01:16 +0000 (16:01 +0000)
committerAkhil Goyal <gakhil@marvell.com>
Thu, 24 Feb 2022 10:21:28 +0000 (11:21 +0100)
commita501609ea6466ed8526c0dfadedee332a4d4a451
treeab2d7b04a80990baa949c0e25bbc22365e527b16
parent96d0dc2a3cd21d6f392347ae1d2ff3c21e27231a
crypto/ipsec_mb: fix length and offset settings

KASUMI, SNOW3G and ZUC require lengths and offsets to
be set in bits or bytes depending on the algorithm.
There were some algorithms that were mixing these two,
so this commit is fixing this issue.

Fixes: ae8e085c608d ("crypto/aesni_mb: support KASUMI F8/F9")
Fixes: 6c42e0cf4d12 ("crypto/aesni_mb: support SNOW3G-UEA2/UIA2")
Fixes: fd8df85487c4 ("crypto/aesni_mb: support ZUC-EEA3/EIA3")
Fixes: 8c835018de84 ("crypto/ipsec_mb: support ZUC-256 for aesni_mb")
Cc: stable@dpdk.org
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
drivers/crypto/ipsec_mb/pmd_aesni_mb.c