Re: Performance of AESNI impl vs other crypto libraries

2018-01-03 Thread Nikos Mavrogiannopoulos
On Wed, Jan 3, 2018 at 7:36 PM, Niels Möller wrote: > "Daniel P. Berrange" writes: > >> I wrote a crude/simple test program to compare the performance of >> AES-128-CBC across openssl, gcrypt, nettle and gnutls, and was >> surprised to find that nettle

possible new modes (was: [PATCH v3 0/1] Add Cipher FeedBack mode support)

2018-01-03 Thread Nikos Mavrogiannopoulos
On Thu, Jan 4, 2018 at 2:57 AM, Dmitry Eremin-Solenikov wrote: > 2018-01-03 12:44 GMT+03:00 Nikos Mavrogiannopoulos > : >> On Sat, Oct 7, 2017 at 8:55 PM, Dmitry Eremin-Solenikov >> wrote: >>> Add CFB mode support. CFB

Re: [PATCH v3 0/1] Add Cipher FeedBack mode support

2018-01-03 Thread Dmitry Eremin-Solenikov
2018-01-03 12:44 GMT+03:00 Nikos Mavrogiannopoulos : > On Sat, Oct 7, 2017 at 8:55 PM, Dmitry Eremin-Solenikov > wrote: >> Add CFB mode support. CFB uses segment size = block size. >> >> Changes since V2: >> >> - Dropped CFB8, isn't widely

Re: Performance of AESNI impl vs other crypto libraries

2018-01-03 Thread Niels Möller
"Daniel P. Berrange" writes: > I wrote a crude/simple test program to compare the performance of > AES-128-CBC across openssl, gcrypt, nettle and gnutls, and was > surprised to find that nettle is consistently ~25% slower than > the other libraries for its AESNI

Re: [PATCH v3 0/1] Add Cipher FeedBack mode support

2018-01-03 Thread Nikos Mavrogiannopoulos
On Sat, Oct 7, 2017 at 8:55 PM, Dmitry Eremin-Solenikov wrote: > Add CFB mode support. CFB uses segment size = block size. > > Changes since V2: > > - Dropped CFB8, isn't widely used. I'm getting late into this discussion, but it seems that samba (which uses nettle and