Re: [Cryptodev-linux-devel] [PATCH 3/3] add support for composite aead keys

2014-08-18 Thread Cristian Stoica
Hi Nikos, On 19.08.2014 07:52, Nikos Mavrogiannopoulos wrote: > On Mon, 2014-08-11 at 10:09 +0300, Cristian Stoica wrote: > >> Yes, that kernel patch is used with COP_FLAG_AEAD_TLS_TYPE but there is >> a difference from the cryptodev implementation (which I used for >> inspiration) in that it reg

Re: [Cryptodev-linux-devel] [PATCH 3/3] add support for composite aead keys

2014-08-18 Thread Nikos Mavrogiannopoulos
On Mon, 2014-08-11 at 10:09 +0300, Cristian Stoica wrote: > >> I've tested this patch with AES-CBC-HMAC-SHA1 using the tls module that > >> I've sent recently on Linux mailing list. That module needs rework for > >> Lucky 13 and is a software alternative to the caam driver that does the > >> same

Re: [Cryptodev-linux-devel] [PATCH 3/3] add support for composite aead keys

2014-08-11 Thread Cristian Stoica
Hi Nikos, On 10.08.2014 00:06, Nikos Mavrogiannopoulos wrote: > On Wed, 2014-08-06 at 14:23 +0300, Cristian Stoica wrote: > >> I've tested this patch with AES-CBC-HMAC-SHA1 using the tls module that >> I've sent recently on Linux mailing list. That module needs rework for >> Lucky 13 and is a soft

Re: [Cryptodev-linux-devel] [PATCH 3/3] add support for composite aead keys

2014-08-09 Thread Nikos Mavrogiannopoulos
On Wed, 2014-08-06 at 14:23 +0300, Cristian Stoica wrote: > Hi Nikos, > > On 06.08.2014 13:58, Nikos Mavrogiannopoulos wrote: > > On Fri, May 30, 2014 at 12:59 PM, Cristian Stoica > > wrote: > >> - block and stream ciphers have their keys copied from userspace > >> just like before > >> - for a

Re: [Cryptodev-linux-devel] [PATCH 3/3] add support for composite aead keys

2014-08-06 Thread Cristian Stoica
Hi Nikos, On 06.08.2014 13:58, Nikos Mavrogiannopoulos wrote: > On Fri, May 30, 2014 at 12:59 PM, Cristian Stoica > wrote: >> - block and stream ciphers have their keys copied from userspace >> just like before >> - for aead composite ciphers, the cipher and hmac keys are >> combined into a s

Re: [Cryptodev-linux-devel] [PATCH 3/3] add support for composite aead keys

2014-08-06 Thread Nikos Mavrogiannopoulos
On Fri, May 30, 2014 at 12:59 PM, Cristian Stoica wrote: > - block and stream ciphers have their keys copied from userspace > just like before > - for aead composite ciphers, the cipher and hmac keys are > combined into a single key Hello Christian, Do you have some test case on that? Which

[Cryptodev-linux-devel] [PATCH 3/3] add support for composite aead keys

2014-05-30 Thread Cristian Stoica
- block and stream ciphers have their keys copied from userspace just like before - for aead composite ciphers, the cipher and hmac keys are combined into a single key Signed-off-by: Cristian Stoica --- cryptlib.c | 74 ++ cryptlib.