From: Nithinsen Kaithakadan <nkaithakadan@marvell.com>
To: Radu Nicolau <radu.nicolau@intel.com>, Akhil Goyal <gakhil@marvell.com>
Cc: Anoob Joseph <anoobj@marvell.com>,
Tejasree Kondoj <ktejasree@marvell.com>,
Nithin Dabilpuram <ndabilpuram@marvell.com>, <dev@dpdk.org>
Subject: [PATCH] examples/ipsec-secgw: fix iv len in ctr 192/256
Date: Fri, 7 Feb 2025 13:45:43 +0000 [thread overview]
Message-ID: <20250207134545.63820-1-nkaithakadan@marvell.com> (raw)
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
reply other threads:[~2025-02-07 13:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250207134545.63820-1-nkaithakadan@marvell.com \
--to=nkaithakadan@marvell.com \
--cc=anoobj@marvell.com \
--cc=dev@dpdk.org \
--cc=gakhil@marvell.com \
--cc=ktejasree@marvell.com \
--cc=ndabilpuram@marvell.com \
--cc=radu.nicolau@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).