[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150105105540.GA25665@gondor.apana.org.au>
Date: Mon, 5 Jan 2015 21:55:40 +1100
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Stephan Mueller <smueller@...onox.de>
Cc: 'LKML' <linux-kernel@...r.kernel.org>, linux-crypto@...r.kernel.org
Subject: Re: [PATCH] crypto: AEAD: add check for presence of auth tag
On Mon, Jan 05, 2015 at 11:53:38AM +0100, Stephan Mueller wrote:
>
> Could you please check: I am unable to find the function.
It's in crypto/authenc.c.
> Note, there is no size parameter provided in crypto_aead_decrypt. To obtain
> the size, I would need to walk the scatterlists, no?
The cryptlen is supposed to contain the entire input apart from the
AD, including the authentication tag if one is present.
Cheers,
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists