[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <3379989.bRI419NncO@tachyon.chronox.de>
Date: Fri, 27 Feb 2015 19:54:23 +0100
From: Stephan Mueller <smueller@...onox.de>
To: Tadeusz Struk <tadeusz.struk@...el.com>
Cc: Herbert Xu <herbert@...dor.apana.org.au>,
'Quentin Gouchet' <quentin.gouchet@...il.com>,
Daniel Borkmann <dborkman@...hat.com>,
'LKML' <linux-kernel@...r.kernel.org>,
linux-crypto@...r.kernel.org,
'Linux API' <linux-api@...r.kernel.org>
Subject: Re: [PATCH v12 1/2] crypto: AF_ALG: add AEAD support
Am Freitag, 27. Februar 2015, 10:34:37 schrieb Tadeusz Struk:
Hi Tadeusz,
> On 02/27/2015 02:26 AM, Stephan Mueller wrote:
> >>>> 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
> >> >
> >> >Please resubmit once you have done this.
> >
> > I have done that, but as indicated with an email to Al, I cannot get his
> > patch for skcipher and hash to work. Similarly, my modification for the
> > AEAD does not work either. So, I do not see that Al's patch can be
> > merged as is.
> >
> > Therefore, I have not submitted my patch as Al mentioned he wanted to
> > look into his patchset.
>
> Hi Stephan,
> There was a problem with the iov_iter changes, but it has been fixed on
> netdev during merging window. The algif_skcipher works fine for me on the
> latest (4.0.0-rc1+) cryptodev.
Great, thanks for the hint. I will check my implementation and release it
shortly.
>
> Regards,
> Tadeusz
--
Ciao
Stephan
--
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