From: Stephan Mueller Subject: Re: [PATCH v12 1/2] crypto: AF_ALG: add AEAD support Date: Thu, 05 Feb 2015 16:10:58 +0100 Message-ID: <7821728.KTX1G67VgF@tachyon.chronox.de> References: <1681008.mocmysOoQU@tachyon.chronox.de> <2035690.30evPElJOm@tachyon.chronox.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: 'Quentin Gouchet' , Daniel Borkmann , 'LKML' , linux-crypto-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, 'Linux API' To: 'Herbert Xu' Return-path: In-Reply-To: <2035690.30evPElJOm-PJstQz4BMNNP20K/wil9xYQuADTiUCJX@public.gmane.org> Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-crypto.vger.kernel.org Am Donnerstag, 29. Januar 2015, 21:24:45 schrieb Stephan Mueller: Hi Herbert, > This patch adds the AEAD support for AF_ALG. > > The implementation is based on algif_skcipher, but contains heavy > modifications to streamline the interface for AEAD uses. > > To use AEAD, the user space consumer has to use the salg_type named > "aead". I just saw Al Viro's patch to use the iov_iter API in algif_skcipher.c. I looked at it but lacked documentation for using it properly. Now I have a template that I will incorporate into algif_aead.c -- Ciao Stephan