Re: [PATCH] crypto: mxs-dcp: Add empty hash export and import

From: Kamil Konieczny
Date: Tue Jan 16 2018 - 13:28:30 EST




On 16.01.2018 18:28, Fabio Estevam wrote:
> Hi Kamil,
>
> On Tue, Jan 16, 2018 at 2:16 PM, Kamil Konieczny
> <k.konieczny@xxxxxxxxxxxxxxxxxxx> wrote:
>> Crypto framework will require async hash export/import, so add empty
>> functions to prevent OOPS.
>
> Which Oops exactly are you getting?

None now, it is for preparation for patch removing export/import wrappers.

>
> Just booted 4.14.13 and the mxs-dcp driver does not even probe successfully:
>
> [ 2.455404] mxs-dcp 80028000.dcp: Failed to register sha1 hash!
> [ 2.464042] mxs-dcp: probe of 80028000.dcp failed with error -22
>

With this option turned on in config:

crypto: Disable run-time self tests

driver should load. Can you verify ?

Btw, there is no maintainer for this file.

--
Best regards,
Kamil Konieczny
Samsung R&D Institute Poland