[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <08646712-9fc0-4f61-3f3d-31fc7cb6cf90@partner.samsung.com>
Date: Tue, 16 Jan 2018 18:33:14 +0100
From: Kamil Konieczny <k.konieczny@...tner.samsung.com>
To: Marek Vasut <marex@...x.de>,
Herbert Xu <herbert@...dor.apana.org.au>
Cc: "David S. Miller" <davem@...emloft.net>,
Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] crypto: mxs-dcp: Add empty hash export and import
On 16.01.2018 17:56, Marek Vasut wrote:
> On 01/16/2018 05:16 PM, Kamil Konieczny wrote:
>> Crypto framework will require async hash export/import, so add empty
>> functions to prevent OOPS.
>
> Shouldn't this be handled on the subsystem level with some
>
> if (foo->bar)
> foo->bar();
>
> instead?
I am sorry, I should write more elaborate description for patch.
It is handled by subsystem. Most drivers have them, and testmgr is testing for
export/import and drivers without them fail internal crypto tests,
so I prepared patch which removed these two wrappers from crypto framework.
In summary: export/import are now required, so crypto framework can work properly.
--
Best regards,
Kamil Konieczny
Samsung R&D Institute Poland
Powered by blists - more mailing lists