lkml.org 
[lkml]   [2017]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] crypto: mediatek - Add empty messages check in GCM mode
From
Date
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

\
 
 \ /
  Last update: 2017-08-16 14:50    [W:0.070 / U:2.740 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site