[PATCH] crypto: mediatek - Add empty messages check in GCM mode

Stephan Mueller smueller at chronox.de
Wed Aug 16 05:18:02 PDT 2017


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



More information about the Linux-mediatek mailing list