examples/ipsec-secgw: fix iv len in ctr 192/256
Checks
Commit Message
This patch fixes IV length to 8 in case of AES-CTR 192/256.
Fixes: 9413c3901f31 ("examples/ipsec-secgw: support additional algorithms")
Signed-off-by: Nithinsen Kaithakadan <nkaithakadan@marvell.com>
---
examples/ipsec-secgw/sa.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Comments
> Subject: [PATCH] examples/ipsec-secgw: fix iv len in ctr 192/256
>
> This patch fixes IV length to 8 in case of AES-CTR 192/256.
>
> Fixes: 9413c3901f31 ("examples/ipsec-secgw: support additional algorithms")
>
> Signed-off-by: Nithinsen Kaithakadan <nkaithakadan@marvell.com>
Acked-by: Anoob Joseph <anoobj@marvell.com>
Recheck-request: loongarch-unit-testing
> -----Original Message-----
> From: Nithinsen Kaithakadan <nkaithakadan@marvell.com>
> Sent: Friday, February 7, 2025 7:16 PM
> To: Radu Nicolau <radu.nicolau@intel.com>; Akhil Goyal <gakhil@marvell.com>
> Cc: Anoob Joseph <anoobj@marvell.com>; Tejasree Kondoj
> <ktejasree@marvell.com>; Nithin Kumar Dabilpuram
> <ndabilpuram@marvell.com>; dev@dpdk.org
> Subject: [PATCH] examples/ipsec-secgw: fix iv len in ctr 192/256
>
> This patch fixes IV length to 8 in case of AES-CTR 192/256.
>
> Fixes: 9413c3901f31 ("examples/ipsec-secgw: support additional algorithms")
>
> Signed-off-by: Nithinsen Kaithakadan <nkaithakadan@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
Updated .mailmap
Applied to dpdk-next-crypto
@@ -104,14 +104,14 @@ const struct supported_cipher_algo cipher_algos[] = {
{
.keyword = "aes-192-ctr",
.algo = RTE_CRYPTO_CIPHER_AES_CTR,
- .iv_len = 16,
+ .iv_len = 8,
.block_size = 16,
.key_len = 28
},
{
.keyword = "aes-256-ctr",
.algo = RTE_CRYPTO_CIPHER_AES_CTR,
- .iv_len = 16,
+ .iv_len = 8,
.block_size = 16,
.key_len = 36
},