Re: [PATCH] crypto: authencesn - Fix incorrect setauthsize function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ingyu Jang <ingyujang25@xxxxxxxxxxx> wrote:
>
> diff --git a/crypto/authencesn.c b/crypto/authencesn.c
> index 91424e791d5c..c1346d5b7950 100644
> --- a/crypto/authencesn.c
> +++ b/crypto/authencesn.c
> @@ -52,6 +52,8 @@ static int crypto_authenc_esn_setauthsize(struct crypto_aead *authenc_esn,
>        if (authsize > 0 && authsize < 4)
>                return -EINVAL;
> 
> +       authenc_esn->authsize = authsize;
> +

The premise of this patch is incorrect.  Please check the code for
setauthsize in crypto/aead.c.

Cheers,
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux