From: Ryder Lee <ryder.lee@mediatek.com>
To: Stephan Mueller <smueller@chronox.de>
Cc: Herbert Xu <herbert@gondor.apana.org.au>,
linux-crypto@vger.kernel.org, linux-mediatek@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] crypto: mediatek - Add empty messages check in GCM mode
Date: Wed, 16 Aug 2017 20:50:17 +0800 [thread overview]
Message-ID: <1502887817.30384.16.camel@mtkswgap22> (raw)
In-Reply-To: <3037420.ZP13UAVzzO@tauon.chronox.de>
Hi,
On Wed, 2017-08-16 at 14:18 +0200, Stephan Mueller wrote:
> Am Mittwoch, 16. August 2017, 13:19:48 CEST schrieb Ryder Lee:
>
> Hi Ryder,
>
> > Currently, empty messages are not supported in GCM mode, hence add
> > a check to prevent producing incorrect results.
>
> In case the caller would provide empty messages, would there be just wrong
> data or a real problem? Note, unprivileged user space can make such requests.
>
> If there would be a real problem (like crash), this should also go to stable.
>
> Ciao
> Stephan
This does not cause any problem and it just returns a wrong result.
Ryder
next prev parent reply other threads:[~2017-08-16 12:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-16 11:19 [PATCH] crypto: mediatek - Add empty messages check in GCM mode Ryder Lee
2017-08-16 12:18 ` Stephan Mueller
2017-08-16 12:50 ` Ryder Lee [this message]
2017-08-22 7:01 ` Herbert Xu
2017-08-22 7:25 ` Ryder Lee
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=1502887817.30384.16.camel@mtkswgap22 \
--to=ryder.lee@mediatek.com \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=smueller@chronox.de \
/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