From: Ryan Prinz <rc4d5a@protonmail.com>
To: Longfang Liu <liulongfang@huawei.com>,
Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>,
"David S . Miller" <davem@davemloft.net>,
qat-linux@intel.com, linux-crypto@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] crypto: qat - fix missing DH public key validation
Date: Wed, 02 Dec 2026 08:24:08 +0000 [thread overview]
Message-ID: <20261202082337.391254-1-rc4d5a@protonmail.com> (raw)
In-Reply-To: <339b4365-d60d-2c4f-66bf-c6d1fcf4c64f@huawei.com>
> Yes, I also think it makes sense to make the change centrally in the
> common file, rather than duplicating it in every driver that registers
> the "dh" algorithm.
Thanks Longfang,
Acknowledged. v2 has been superseded by v3
(Message-ID: 20261125231859.1857450-1-rc4d5a@protonmail.com), which
implements Giovanni's suggestion. The range check now lives
in crypto_dh_pubkey_in_range() in crypto/dh_helper.c, and now calls into it.
That shared helper is its own separate patch ("crypto: dh - add
shared DH public key range check", Message-ID:
20261125231825.1857253-1-rc4d5a@protonmail.com), which v3 depends on.
Thanks for reviewing!
Ryan
prev parent reply other threads:[~2026-12-02 8:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 14:12 Ryan Prinz
2026-11-25 18:04 ` Giovanni Cabiddu
2026-11-25 23:31 ` rc4d5a
2026-12-02 1:27 ` liulongfang
2026-12-02 8:24 ` Ryan Prinz [this message]
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=20261202082337.391254-1-rc4d5a@protonmail.com \
--to=rc4d5a@protonmail.com \
--cc=davem@davemloft.net \
--cc=giovanni.cabiddu@intel.com \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=liulongfang@huawei.com \
--cc=qat-linux@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
all inboxes | Powered by JetHome®