Re: [Cryptodev-linux-devel] Authenticated encryption

2013-09-16 Thread Nikos Mavrogiannopoulos
On 09/16/2013 10:18 AM, Stoica Cristian-B18196 wrote: >> AFAIK, AEAD is supported by a few crypto engines and their drivers. >> So simply using the AEAD interface of cryptodev-linux should >> suffice if appropriate hardware is present. > [] > > Authenticated encryption *dedicated schemes* (algori

Re: [Cryptodev-linux-devel] Authenticated encryption

2013-09-16 Thread Stoica Cristian-B18196
> > > I'm looking at a possibility to add support for composite algorithms > > > in cryptodev. Basically this means support for algorithms that do for > > > example AES-CBC and HMAC(SHA1) in one call on platforms that support > > > it. > > > > Hello Cristian, > > Currently we have something simila

Re: [Cryptodev-linux-devel] Authenticated encryption

2013-09-15 Thread Stoica Cristian-B18196
> > encrypt then authenticate). This flag is missing in session_op but > > some of the *BSD distributions added some notes about deprecation of > > session_op in current form. > > Do you have any idea what will replace it? In any case in the current > approach in linux-cryptodev you don't need a n

Re: [Cryptodev-linux-devel] Authenticated encryption

2013-09-15 Thread Phil Sutter
Hi, On Sun, Sep 15, 2013 at 06:56:14PM +0200, Nikos Mavrogiannopoulos wrote: > On Thu, 12 Sep 2013 13:42:05 + > Stoica Cristian-B18196 wrote: > > > Hi Nikos, > > > > I'm looking at a possibility to add support for composite algorithms > > in cryptodev. Basically this means support for algor

Re: [Cryptodev-linux-devel] Authenticated encryption

2013-09-15 Thread Nikos Mavrogiannopoulos
On Thu, 12 Sep 2013 13:42:05 + Stoica Cristian-B18196 wrote: > Hi Nikos, > > I'm looking at a possibility to add support for composite algorithms > in cryptodev. Basically this means support for algorithms that do for > example AES-CBC and HMAC(SHA1) in one call on platforms that support > i

[Cryptodev-linux-devel] Authenticated encryption

2013-09-12 Thread Stoica Cristian-B18196
Hi Nikos, I'm looking at a possibility to add support for composite algorithms in cryptodev. Basically this means support for algorithms that do for example AES-CBC and HMAC(SHA1) in one call on platforms that support it. One solution would be to add new algorithms in cryptodev_crypto_op_t and