[dpdk-dev v4 1/2] eal: Add mem equal and non-equal to prevent timing attacks memcmp.

Morten Brørup mb at smartsharesystems.com
Tue Sep 30 08:16:07 CEST 2025


> From: Stephen Hemminger [mailto:stephen at networkplumber.org]
> Sent: Tuesday, 30 September 2025 00.49
> 
> On Mon, 29 Sep 2025 19:48:19 +0200
> Morten Brørup <mb at smartsharesystems.com> wrote:
> 
> > > From: Kai Ji [mailto:kai.ji at intel.com]
> > > Sent: Monday, 29 September 2025 16.51
> > >
> > > Bugzilla ID: 1773
> > > Cc: stable at dpdk.org
> > >
> > > [0] https://bugs.dpdk.org/show_bug.cgi?id=1773
> > >
> > > Signed-off-by: Kai Ji <kai.ji at intel.com>
> > > ---
> >
> > Acked-by: Morten Brørup <mb at smartsharesystems.com>
> >
> > @Stephen: V4 also includes equal, which you was asking for.
> >
> 
> The point is that we should only have the eq variant.
> Having the not equal is unnecessary addition.

Yes, I would tend to agree with Stephen on this.



More information about the dev mailing list