On Sun, Jan 06, 2019 at 07:07:20PM -0800, Eric Biggers wrote:
> From: Eric Biggers <[email protected]>
> 
> Prevent registering shash algorithms that implement ->export() but not
> ->import(), or ->import() but not ->export().  Such cases don't make
> sense and could confuse the check that shash_prepare_alg() does for just
> ->export().
> 
> I don't believe this affects any existing algorithms; this is just
> preventing future mistakes.
> 
> Signed-off-by: Eric Biggers <[email protected]>
> ---
>  crypto/shash.c | 3 +++
>  1 file changed, 3 insertions(+)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Reply via email to