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

Stephen Hemminger stephen at networkplumber.org
Tue Sep 30 00:48:38 CEST 2025


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.


More information about the dev mailing list