Re: [PATCH] crypto: testmgr: allow building a copy as loadable module for testing.
From: Eric Biggers
Date: Thu Dec 19 2019 - 13:39:07 EST
On Thu, Dec 19, 2019 at 05:06:36PM +0100, Michal Suchanek wrote:
> There is no way to just run the tests built into testmgr. Also it is
> rarely possible to build testmgr modular due to KConfig dependencies.
>
> Add a module that does not provide infrastructure, just runs testmgr
> tests.
>
> Signed-off-by: Michal Suchanek <msuchanek@xxxxxxx>
Why does this need to be a kernel module? Since the self-tests are already run
at algorithm registration time, it's already possible to use AF_ALG or
crypto_user to allocate all algorithms which have self-tests.
- Eric