From: Herbert Xu Subject: Re: [PATCH v4 2/5] crypto: AF_ALG: add AEAD support Date: Sun, 7 Dec 2014 07:27:34 +0800 Message-ID: <20141206232734.GA6409@gondor.apana.org.au> References: <2105559.EmODblLYuY@tachyon.chronox.de> <20141205154606.GA30180@gondor.apana.org.au> <45756810.oFuGYtKPb9@tachyon.chronox.de> <1677221.HN3xC7fa4q@tachyon.chronox.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Daniel Borkmann , 'Quentin Gouchet' , 'LKML' , linux-crypto-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Stephan Mueller Return-path: Content-Disposition: inline In-Reply-To: <1677221.HN3xC7fa4q-PJstQz4BMNNP20K/wil9xYQuADTiUCJX@public.gmane.org> Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-crypto.vger.kernel.org On Sat, Dec 06, 2014 at 09:08:54PM +0100, Stephan Mueller wrote: > > While implementing that request, I thought about setting the auth size as part > of the msg control in sendmsg instead of setsockopt. This would save us a > system call and thus CPU cycles. No, this is a tfm property and therefore you can't set them on the child sockets sicne two child sockets would share the same tfm. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt