Re: [PATCH] crypto: AEAD: add check for presence of auth tag

From: Herbert Xu
Date: Mon Jan 05 2015 - 05:40:08 EST


On Mon, Jan 05, 2015 at 11:26:48AM +0100, Stephan Mueller wrote:
>
> Could you please help me understand where that check should be and what should
> be done at the crypto API level?

All I was asking for is a length check like the one at the top
of crypto_authenc_decypt.

Cheers,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/