From: Thomas Monjalon <thomas@monjalon.net>
To: dev@dpdk.org
Cc: Kai Ji <kai.ji@intel.com>, Radu Nicolau <radu.nicolau@intel.com>
Subject: [PATCH] crypto/ipsec_mb: remove unused ML-DSA helper
Date: Thu, 12 Nov 2026 14:05:02 +0100 [thread overview]
Message-ID: <20261112130510.945641-1-thomas@monjalon.net> (raw)
With IPsec MB 3.0 or newer,
Clang reports aesni_mb_ml_dsa_sig_sz() as unused.
Remove the helper, which has no callers.
Fixes: 4ff2a4d23d84 ("crypto/ipsec_mb: support ML-KEM and ML-DSA")
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
---
drivers/crypto/ipsec_mb/pmd_aesni_mb.c | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/drivers/crypto/ipsec_mb/pmd_aesni_mb.c b/drivers/crypto/ipsec_mb/pmd_aesni_mb.c
index ac0a48572d..ab917b3fe4 100644
--- a/drivers/crypto/ipsec_mb/pmd_aesni_mb.c
+++ b/drivers/crypto/ipsec_mb/pmd_aesni_mb.c
@@ -2606,18 +2606,6 @@ static inline size_t aesni_mb_ml_dsa_sk_sz(const IMB_ML_DSA_ALG alg)
}
return 0;
}
-static inline size_t aesni_mb_ml_dsa_sig_sz(const IMB_ML_DSA_ALG alg)
-{
- switch (alg) {
- case IMB_ML_DSA_44:
- return IMB_ML_DSA_44_SIG_BYTES;
- case IMB_ML_DSA_65:
- return IMB_ML_DSA_65_SIG_BYTES;
- case IMB_ML_DSA_87:
- return IMB_ML_DSA_87_SIG_BYTES;
- }
- return 0;
-}
static void
aesni_mb_asym_process(struct rte_crypto_op *op)
--
2.55.0
next reply other threads:[~2026-11-12 13:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-12 13:05 Thomas Monjalon [this message]
2026-11-12 13:28 ` [PATCH] crypto/ipsec_mb: remove unused ML-DSA helper Radu Nicolau
2026-11-12 15:00 ` Thomas Monjalon
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=20261112130510.945641-1-thomas@monjalon.net \
--to=thomas@monjalon.net \
--cc=dev@dpdk.org \
--cc=kai.ji@intel.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