Re: [PATCH] crypto: testmgr: Allow different compression results

From: Herbert Xu
Date: Fri Apr 20 2018 - 12:54:42 EST

On Thu, Apr 19, 2018 at 01:58:40PM +0200, Jan Glauber wrote:
> Nice idea. Would a crypto_alloc_cipher("deflate", ...) pick the generic
> implementation or how can we select it?

For our ciphers we generally use the -generic suffix in the driver
name. The compression algorithms seem to be all over the place on
this so we should fix them all to use the -generic suffix and then
we can simply append the -generic suffix here before allocating it.

Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page:
PGP Key: