[EXTERNAL] [PATCH v2] examples/ipsec-secgw: fix SA salt endianness problem

Akhil Goyal gakhil at marvell.com
Thu Mar 14 19:17:21 CET 2024


> From: Shihong Wang <shihong.wang at corigine.com>
> 
> The SA salt of struct ipsec_sa is a CPU-endian u32 variable, but it’s
> value is stored in an array of encryption or authentication keys
> according to big-endian. So it maybe need to convert the endianness
> order to ensure that the value assigned to the SA salt is CPU-endian.
> 
> Fixes: 50d75cae2a2c ("examples/ipsec-secgw: initialize SA salt")
> Fixes: 9413c3901f31 ("examples/ipsec-secgw: support additional algorithms")
> Fixes: 501e9c226adf ("examples/ipsec-secgw: add AEAD parameters")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Shihong Wang <shihong.wang at corigine.com>
> Reviewed-by: Chaoyong He <chaoyong.he at corigine.com>
> 
Acked-by: Akhil Goyal <gakhil at marvell.com>

Applied to dpdk-next-crypto
Thanks


More information about the stable mailing list