From mboxrd@z Thu Jan 1 00:00:00 1970 From: Herbert Xu Subject: Re: [PATCH v4 1/5] crypto: AF_ALG: add user space interface for AEAD Date: Sat, 6 Dec 2014 00:01:47 +0800 Message-ID: <20141205160147.GA30388@gondor.apana.org.au> References: <2105559.EmODblLYuY@tachyon.chronox.de> <4746255.Vltg6sM4x3@tachyon.chronox.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <4746255.Vltg6sM4x3-PJstQz4BMNNP20K/wil9xYQuADTiUCJX@public.gmane.org> Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Stephan Mueller Cc: Daniel Borkmann , 'Quentin Gouchet' , 'LKML' , linux-crypto-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-api@vger.kernel.org On Wed, Dec 03, 2014 at 08:55:42PM +0100, Stephan Mueller wrote: > AEAD requires the caller to specify the following information separate > from the data stream. This information allows the AEAD interface handler > to identify the AAD, ciphertext/plaintext and the authentication tag: > > * Associated authentication data of arbitrary length and > length > > * Length of authentication tag for encryption > > Signed-off-by: Stephan Mueller Patch applied. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt