* [PATCH] crypto/ipsec_mb: remove unused ML-DSA helper
@ 2026-11-12 13:05 Thomas Monjalon
2026-11-12 13:28 ` Radu Nicolau
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Monjalon @ 2026-11-12 13:05 UTC (permalink / raw)
To: dev; +Cc: Kai Ji, Radu Nicolau
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] crypto/ipsec_mb: remove unused ML-DSA helper
2026-11-12 13:05 [PATCH] crypto/ipsec_mb: remove unused ML-DSA helper Thomas Monjalon
@ 2026-11-12 13:28 ` Radu Nicolau
2026-11-12 15:00 ` Thomas Monjalon
0 siblings, 1 reply; 3+ messages in thread
From: Radu Nicolau @ 2026-11-12 13:28 UTC (permalink / raw)
To: Thomas Monjalon, dev; +Cc: Kai Ji
On 12-Nov-26 1:05 PM, Thomas Monjalon wrote:
> 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>
> ---
Acked-by: Radu Nicolau <radu.nicolau@intel.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] crypto/ipsec_mb: remove unused ML-DSA helper
2026-11-12 13:28 ` Radu Nicolau
@ 2026-11-12 15:00 ` Thomas Monjalon
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Monjalon @ 2026-11-12 15:00 UTC (permalink / raw)
To: Kai Ji, Radu Nicolau; +Cc: dev
12/11/2026 14:28, Radu Nicolau:
>
> On 12-Nov-26 1:05 PM, Thomas Monjalon wrote:
> > 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>
> > ---
> Acked-by: Radu Nicolau <radu.nicolau@intel.com>
Applied
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-11-12 15:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-12 13:05 [PATCH] crypto/ipsec_mb: remove unused ML-DSA helper Thomas Monjalon
2026-11-12 13:28 ` Radu Nicolau
2026-11-12 15:00 ` Thomas Monjalon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox