DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] examples/ipsec-secgw: fix iv len in ctr 192/256
@ 2025-02-07 13:45 Nithinsen Kaithakadan
  2025-02-10  8:07 ` Anoob Joseph
  0 siblings, 1 reply; 4+ messages in thread
From: Nithinsen Kaithakadan @ 2025-02-07 13:45 UTC (permalink / raw)
  To: Radu Nicolau, Akhil Goyal
  Cc: Anoob Joseph, Tejasree Kondoj, Nithin Dabilpuram, dev

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(-)

diff --git a/examples/ipsec-secgw/sa.c b/examples/ipsec-secgw/sa.c
index 425bfbf590..313919b4b5 100644
--- a/examples/ipsec-secgw/sa.c
+++ b/examples/ipsec-secgw/sa.c
@@ -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
 	},
-- 
2.45.2


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [PATCH] examples/ipsec-secgw: fix iv len in ctr 192/256
  2025-02-07 13:45 [PATCH] examples/ipsec-secgw: fix iv len in ctr 192/256 Nithinsen Kaithakadan
@ 2025-02-10  8:07 ` Anoob Joseph
  0 siblings, 0 replies; 4+ messages in thread
From: Anoob Joseph @ 2025-02-10  8:07 UTC (permalink / raw)
  To: Nithinsen Kaithakadan, Radu Nicolau, Akhil Goyal
  Cc: Tejasree Kondoj, Nithin Kumar Dabilpuram, dev

> 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>



^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [PATCH] examples/ipsec-secgw: fix iv len in ctr 192/256
  2025-02-07 13:18 Nithinsen Kaithakadan
@ 2025-02-10  3:11 ` Anoob Joseph
  0 siblings, 0 replies; 4+ messages in thread
From: Anoob Joseph @ 2025-02-10  3:11 UTC (permalink / raw)
  To: Nithinsen Kaithakadan, Radu Nicolau, Akhil Goyal
  Cc: Tejasree Kondoj, Nithin Kumar Dabilpuram, dev

> 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>



^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] examples/ipsec-secgw: fix iv len in ctr 192/256
@ 2025-02-07 13:18 Nithinsen Kaithakadan
  2025-02-10  3:11 ` Anoob Joseph
  0 siblings, 1 reply; 4+ messages in thread
From: Nithinsen Kaithakadan @ 2025-02-07 13:18 UTC (permalink / raw)
  To: Radu Nicolau, Akhil Goyal
  Cc: Anoob Joseph, Tejasree Kondoj, Nithin Dabilpuram, dev

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(-)

diff --git a/examples/ipsec-secgw/sa.c b/examples/ipsec-secgw/sa.c
index 425bfbf590..313919b4b5 100644
--- a/examples/ipsec-secgw/sa.c
+++ b/examples/ipsec-secgw/sa.c
@@ -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
 	},
-- 
2.45.2


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-02-10  8:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-07 13:45 [PATCH] examples/ipsec-secgw: fix iv len in ctr 192/256 Nithinsen Kaithakadan
2025-02-10  8:07 ` Anoob Joseph
  -- strict thread matches above, loose matches on Subject: below --
2025-02-07 13:18 Nithinsen Kaithakadan
2025-02-10  3:11 ` Anoob Joseph

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).