From: Stephen Hemminger <stephen@networkplumber.org>
To: dev@dpdk.org
Cc: Stephen Hemminger <stephen@networkplumber.org>
Subject: [PATCH v2 0/6] crypto: use timing-safe digest comparison
Date: Mon, 29 Jun 2026 11:59:23 -0700 [thread overview]
Message-ID: <20260629190027.2071745-1-stephen@networkplumber.org> (raw)
In-Reply-To: <20260625160200.24170-1-stephen@networkplumber.org>
Timing attacks in DPDK crypto were fixed earlier but
several drivers did not use the new timing safe comparison
operation.
First patch drops the experimental flag off rte_memeq_timingsafe().
The function is a static inline with no exported symbol, no ABI change.
This avoids having to turn on experimental flag in other drivers.
The rest convert the digest verify comparisons in the uadk, ccp,
armv8 and cnxk PMDs.
This problem was reported for several drivers and for those
the Reported-by was added.
v2 - pick up a couple of other memcmp() locations
Stephen Hemminger (6):
eal: take experimental flag off of rte_memeq_timingsafe
crypto/uadk: use timing-safe digest comparison
crypto/ccp: use timing-safe digest comparison
crypto/armv8: use timing-safe digest comparison
crypto/cnxk: use timing-safe digest comparison
crypto/octeontx: use timing-safe RSA signature verification
doc/guides/rel_notes/release_26_07.rst | 4 ++++
drivers/crypto/armv8/rte_armv8_pmd.c | 4 ++--
drivers/crypto/ccp/ccp_crypto.c | 8 ++++----
drivers/crypto/cnxk/cnxk_ae.h | 4 +++-
drivers/crypto/cnxk/cnxk_se.h | 2 +-
drivers/crypto/octeontx/otx_cryptodev_ops.c | 3 ++-
drivers/crypto/uadk/uadk_crypto_pmd.c | 4 ++--
lib/eal/include/rte_memory.h | 4 ----
8 files changed, 18 insertions(+), 15 deletions(-)
--
2.53.0
next prev parent reply other threads:[~2026-06-29 19:00 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-25 15:56 [PATCH 0/5] crypto: use timing-safe digest comparison Stephen Hemminger
2026-06-25 15:56 ` [PATCH 1/5] eal: take experimental flag off of rte_memeq_timingsafe Stephen Hemminger
2026-06-25 15:56 ` [PATCH 2/5] crypto/uadk: use timing-safe digest comparison Stephen Hemminger
2026-06-25 15:56 ` [PATCH 3/5] crypto/ccp: " Stephen Hemminger
2026-06-25 15:56 ` [PATCH 4/5] crypto/armv8: " Stephen Hemminger
2026-06-26 17:11 ` Jack Bond-Preston
2026-06-25 15:56 ` [PATCH 5/5] crypto/cnxk: " Stephen Hemminger
2026-06-29 6:42 ` [EXTERNAL] " Tejasree Kondoj
2026-06-29 7:38 ` [EXTERNAL] [PATCH 0/5] crypto: " Akhil Goyal
2026-06-29 18:59 ` Stephen Hemminger [this message]
2026-06-29 18:59 ` [PATCH v2 1/6] eal: take experimental flag off of rte_memeq_timingsafe Stephen Hemminger
2026-06-29 18:59 ` [PATCH v2 2/6] crypto/uadk: use timing-safe digest comparison Stephen Hemminger
2026-06-29 18:59 ` [PATCH v2 3/6] crypto/ccp: " Stephen Hemminger
2026-06-29 18:59 ` [PATCH v2 4/6] crypto/armv8: " Stephen Hemminger
2026-06-29 18:59 ` [PATCH v2 5/6] crypto/cnxk: " Stephen Hemminger
2026-06-29 18:59 ` [PATCH v2 6/6] crypto/octeontx: use timing-safe RSA signature verification Stephen Hemminger
2026-06-30 9:50 ` [EXTERNAL] " Tejasree Kondoj
2026-06-30 17:22 ` [PATCH v2 0/6] crypto: use timing-safe digest comparison Morten Brørup
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=20260629190027.2071745-1-stephen@networkplumber.org \
--to=stephen@networkplumber.org \
--cc=dev@dpdk.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.